Send a link to your students to track their progress
13 Terms
1
New cards
List
A generic term that refers to an ordered collection of elements. The AP CSP reference sheet uses this term instead of "array".
2
New cards
Array
The name typically used in programming to refer to a list of items managed and accessible by a given list name.
3
New cards
Element
An individual item in a list that is assigned a unique position referred to by an index.
4
New cards
Index
A number used to access the elements in a list or string based on its position in the list.
5
New cards
Append
Add an element to the end of a list.
6
New cards
Data Abstraction (List)
A list is a type of data abstraction that helps manage complexity in a program because it simplifies the program code since the entire collection can be manipulated using the list name and an index.
7
New cards
Substring
Part of an existing string.
8
New cards
Iteration
A repetitive portion of an algorithm which repeats a specified number of times or until a given condition is met. Also called a "loop" or "looping".
9
New cards
Infinite Loop
Occurs when the loop goes on forever because the ending condition will never become true.
10
New cards
Simulation
A representation of a situation or problem with a similar but simpler model or a more easily manipulated model in order to determine experimental results.
11
New cards
For loop
A loop that has a predetermined beginning, end, and increment (step interval); should be used when the number of times the loop should execute is known before the program runs.
12
New cards
While loop
A loop that continues to repeat while a condition is true.
13
New cards
Traversal
The process of accessing each item in a list, one at a time.