AP CSP Unit 3 Flashcards
Why do we have computer language?
Computing language has only one interpretation and meaning, it is direct, and it has no confusion. The english language can be interpreted many ways and can be confusing.
A coding language used to dictate specific instructions to a computer
Computer Language
What is a function?
A piece of code that you can easily call over and over again
What is abstraction?
Pulling out specific differences to make one solution work for multiple programs
What is algorithm?
It is a precise sequence of instructions for processes that can be executed by a computer and are implemented using programming languages.
What is a parameter?
An extra piece of infirmation that you pass to the function to customize it for a specific need
What is API
A collection of commands made available to a programmer
What is a loop?
A programming construct that repeats a group of commands
What is an iteration?
Another name for a loop; the repetition of a statement, process, or procedure
What is the For Loop
A specific 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.
What is Top-Down Design?
Top-Down design is a problem solving strategy in which you break down a large problem by naming its sub-tasks and then breaking down the sub-tasks further and so on until you are down to primitive operations.
What does it mean when someone refers to “levels of abstraction”?
Large problems can be “abstracted” into sub-problems, and sub-problems being broken down into more basic sub-problems.