APCSP Create Task Vocab Flashcards

1
Q

List

A

-Ordered sequence of elements
-Allows multiple related elements to be represented using a single variable,
-Can be called list, array, array-list, etc. depending on coding language

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

Collection Type

A

-A type the aggregates (a whole formed by combining several (typically disparate) elements) elements in a single structure
-Ex. databases or sets

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

Data Abstraction

A

-The reduction of a particular body of data to a simplified representation of the whole
-Makes a program easier to develop or easier to maintain
-Future changes to the size of the list would otherwise require significant modifications to the program code

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

Procedure

A

-A block of code that performs specific actions
-Can have a return value (optional)
-A procedure is run when you call the procedure name in your code

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

Algorithm

A

-A set of steps or instruction used to solve a problem
-Typically involves one or more procedure call

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

Sequencing

A

-Step-by-step process used by an algorithm to solve a problem

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

Selection

A

-Typically “if” statement
-Used to determine a different set of steps to execute based on Boolean expression

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

Iteration

A

-Iteration (loops) are used to execute code a certain amount of times or until a certain condition is met

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