AP CSP Flashcards
(33 cards)
What is Sequencing?
Putting steps in an order.
What is Selection?
Deciding which steps to do next.
What is Iteration?
Doing some steps over and over.
What is a Heuristic?
Provides a ‘good enough’ solution to a problem when an actual solution is impractical or impossible.
What is a Decision Problem?
A problem with a yes/no answer (e.g., is there a path from A to B?).
What is an Optimization Problem?
A problem with the goal of finding the ‘best’ solution among many (e.g., what is the shortest path from A to B?).
What is an Undecidable Problem?
A problem for which no algorithm can be constructed that is always capable of providing a correct yes-or-no answer.
What is Sequential Computing?
A model in which programs run in order, one command at a time.
What is Parallel Computing?
A model in which programs are broken into small pieces, some of which are run simultaneously.
What is Distributed Computing?
A model in which programs are run by multiple devices.
What is a Parameter?
A variable in a function definition. Used as a placeholder for values that will be passed through the function.
What is an Argument?
The value passed to the parameter.
What is Return?
Used to return the flow of control to the point where the procedure (also known as a function) was called and to return the value of expression.
What is an API?
Application Program Interface - specifications for how functions in a library behave and can be used.
What is Modularity?
The subdivision of a computer program into separate subprograms.
What is Traversal?
The process of accessing each item in a list one at a time.
What is Data Abstraction?
Manage complexity in programs by giving a collection of data a name without referencing the specific details of the representation.
What is Lossless Compression?
A process for reducing the number of bits needed to represent something without losing any information. This process is reversible.
What is Lossy Compression?
A process for reducing the number of bits needed to represent something in which some information is lost or thrown away. This process is not reversible.
What is Analog Data?
Data with values that change continuously, or smoothly, over time. Some examples of analog data include music, colors of a painting, or position of a sprinter during a race.
What is Digital Data?
Data that changes discretely through a finite set of possible values.
What is Sampling?
A process for creating a digital representation of analog data by measuring the analog data at regular intervals called samples.
What is the Internet?
A computer network consisting of interconnected networks that use standardized, open (nonproprietary) communication protocols.
What is the World Wide Web?
A system of linked pages, programs, and files.