A | B |
Data Structure | a structure for organizing, processing, retrieving, and storing data |
Element | a single value or object in a data structure |
One-dimensional array | a data structure that holds multiple values of the same data type |
index | an integer value that indicates the position of a value in a data structure |
Initializer list | a comma-separated list of values or objects given inside curly braces ( { } ) |
traverse | to access elements in a data structure one by one |
decrement | to decrease a value by one |
increment | to increase a value by one |
Loop control variable | a variable that is changed by a constant value and determines the end of a loop |
Off-by-one error | an error that occurs when a loop repeats one time too many or one time too few |
postcondition | a condition that must always be true just after the execution of a code segment |
precondition | a condition that must always be true just before the execution of a code segment |
Text file | a file that contains letters, numbers, and/or symbols but has no special formatting |
polymorphism | where the same object or method has more than one form |
Nested loop | a loop inside of another loop |