AP Vocab Flashcards
(115 cards)
Documentation
Written information that describes how to use procedures and variables in a given code segment. For example, documentation may provide information about a procedure’s signature or purpose.
Incremental development OR
Iterative development
Developing a program gradually by implementing one feature at a time and then improving the program to include more features over time.
Logic error
A mistake in an algorithm or program that causes it to behave unexpectedly or return the incorrect value. Code with a logic error will most likely run but will not work as intended.
Run-time error
A mistake in a program that happens only when the program is actually run, such as providing an incorrect data type to a procedure. Code with a run-time error will produce an error message when it is run.
Syntax
The arrangement of words and phrases to create well-formed sentences in a language (this applies to spoken/written language as well as programming languages).
Syntax error
A mistake in typed code that violates the rules of the programming language. In most programming languages, code with syntax errors will not run.
Analog data
Values that change smoothly, rather than in discrete intervals, over time. For example, the pitch and volume of a live concert.
Bit
The smallest unit of data stored on computers. The value of a bit can only be either 0 or 1. At the lowest level, all data is stored on a computer using bits.
Boolean
A value that is either true or false.
Byte
8 bits
Binary
A way of representing numeric values using only 0s and 1s.
Lossless compression
A type of data compression in which the original data can be fully restored without losing any information. This type of compression generally does not compress data as much as lossy compression.
Lossy compression
A type of data compression in which the original data cannot be fully restored and some data is lost. Generally the data lost is insignificant (e.g. several bits).
Metadata
Data about data. For example, a file’s metadata often includes information about when the file was created or how large the file is.
Memory
The number of bits used to store a given value or program.
Overflow error
An error that occurs when the number of bits used to store a value is not enough to represent the number. Most programming languages that use a fixed-width for numbers will provide an error message when an overflow occurs.
Rounding error
An error that occurs when the representation of a number does not have sufficient precision because computers cannot store numbers with infinite precision.
Sampling
The process of taking discrete measurements (samples) of a continuous signal or process to represent it in a digital format. This process is used to measure analog data.
Sampling error
An error that occurs when the discrete measurements taken by a computer are insufficient to fully represent a continuous signal or process.
String
A sequence of characters.
Abstraction
The generalization of values or procedures.
Algorithm
A set of steps to complete a task or solve a problem.
API
A library of procedures and a description of how to call each procedure.
Argument
The value given to a parameter during a procedure call.