Upgrade to remove ads
AP Comp Sci Principles Final Part 2
Terms in this set (54)
A precise sequence of instructions for processes that can be executed by a computer
Pulling out specific differences to make one solution work for multiple problems.
A piece of code that you can easily call over and over again.
a collection of commands made available to a programmer
a description of the behavior of a command, function, library, API, etc.
a collection of commands / functions, typically with a shared purpose
An extra piece of information that you pass to the function to customize it for a specific need.
A particular kind of looping construct provided in many languages. Typically, a for loop defines a counting variable that is checked and incremented on each iteration in order to loop a specific number of times.
The action of doing something over and over again.
a predication made by Gordon Moore in 1965 that computing power will double every 1.5-2 years, it has remained more or less true ever since.
A business/corporate term for a one-page document that summarizes a large issue, topic or plan.
a technique for encryption that shifts the alphabet by some number of characters
the generic term for a technique (or algorithm) that performs encryption
When you attempt to decode a secret message without knowing all the specifics of the cipher, you are trying to "crack" the encryption.
a process that reverses encryption, taking a secret message and reproducing the original plain text
a process of encoding messages to keep them secret, so only "authorized" parties can read it.
Random Substitution Cipher
an encryption technique that maps each letter of the alphabet to a randomly chosen other letters of the alphabet.
a "hard' problem for a computer is one in which it cannot arrive at a solution in a reasonable amount of time.
used in public key encryption. It is scheme in which the key to encrypt data is different from the key to decrypt
a mathematical operation that returns the remainder after integer division. Example: 7 MOD 4 = 3
In an asymmetric encryption scheme the decryption key is kept private and never shared, so only the intended recipient has the ability to decrypt a message that has been encrypted with a public key.
Public Key Encryption
Used prevalently on the web, it allows for secure messages to be sent between parties without having to agree on, or share, a secret key. It uses an asymmetric encryption scheme in which the encryption key is made public, but the decryption key is kept private.
a function specified as part of an event listener; it is written by the programmer but called by the system as the result of an event trigger
An action that causes something to happen.
a program designed to run blocks of code or functions in response to specified events (e.g. a mouse click)
an overarching term for the coding tasks involved in making a program respond to events by triggering functions.
a command that can be set up to trigger a function when a particular type of event occurs on a particular UI element.
on-screen objects, like buttons, images, text boxes, pull down menus, screens and so on.
The visual elements of an program through which a user controls or communications the application. Often abbreviated UI.
Finding and fixing problems in your algorithm or program.
all values in a programming language have a "type"- such as a Number, Boolean, or String- that dictates how the computer will interpret it
Any valid unit of code that resolves to a value.
A placeholder for a piece of information that can change.
The equality operator (sometimes read: "equal equal") is used to compare two values, and returns a Boolean (true/false). Avoid confusion with the assignment operator "=",
A variable whose scope is "global" to the program, it can be used and updated by any part of the code. Its global scope is typically derived from the variable being declared (created) outside of any function, object, or method.
The common programming structure that implements "conditional statements".
A variable with local scope is one that can only be seen, used and updated by code within the same scope. Typically this means the variable was declared (created) inside a function -- includes function parameter variables.
dictates what portions of the code can "see" or use a variable, typically derived from where the variable was first created. (See Global v. Local)
to link together or join. Typically used when joining together text Strings in programming (e.g. "Hello, "+name)
Any sequence of characters between quotation marks (ex: "hello", "42", "this is a string!").
statements that only run under certain conditions
A generic term for a type of programming statement (usually an if-statement) that uses a Boolean condition to determine, or select, whether or not to run a certain block of statements.
A single value of either TRUE or FALSE
in programming, an expression that evaluates to TRUE or FALSE
to repeat in order to achieve, or get closer to, a desired goal
a programming construct used to repeat a set of commands (loop) as long as (while) a boolean condition is true
models and stimulations
a program which replicates or mimics key features of a real world event in order to investigate its behavior without the cost, time, or danger of running an experiment in real life.
A generic term for a programming data structure that holds multiple items.
A typical looping construct designed to make it easy to repeat a section of code using a counter variable. The for loop combines the creation of a variable, a boolean looping condition, and an update to the variable in one statement.
A value sent back by a function to the place in the code where the function was called form - typically asking for value (e.g. getText(id)) or the result of a calculation or computation of some kind. Most programming languages have many built-in functions that return values, but you can also write your own.
YOU MIGHT ALSO LIKE...
AP CSP Unit 3 + Unit 5
AP Computer Science Principles Vocabulary (Unit 5…
AP CSP UNIT 5: Building Apps
Code.org Unit 5 Vocabulary
OTHER SETS BY THIS CREATOR
Orgo Ch 2
Muscles Ch 5 Unit 2
Comte de Monte Cristo Vocab
French Conjunctions Vocab