AP CSP Unit 3 Flashcards

0
Q

Why do we have computer language?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

A coding language used to dictate specific instructions to a computer

A

Computer Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a function?

A

A piece of code that you can easily call over and over again

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is abstraction?

A

Pulling out specific differences to make one solution work for multiple programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is algorithm?

A

It is a precise sequence of instructions for processes that can be executed by a computer and are implemented using programming languages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a parameter?

A

An extra piece of infirmation that you pass to the function to customize it for a specific need

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is API

A

A collection of commands made available to a programmer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a loop?

A

A programming construct that repeats a group of commands

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is an iteration?

A

Another name for a loop; the repetition of a statement, process, or procedure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the For Loop

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Top-Down Design?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does it mean when someone refers to “levels of abstraction”?

A

Large problems can be “abstracted” into sub-problems, and sub-problems being broken down into more basic sub-problems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly