APCS 6.0-6.1 Vocab

array

an object that contains elements of a similar data type

index

numbered position of value in the array

subscript

another word for index in an array

array element

a value stored in an array

element type

the type of values an array holds

bounds checking

makes sure that the index is within the range for the array being referenced

off-by-one error

one fewer iteration or one too many

initializer list

provides the initial values for the elements of an array

parallel arrays

two arrays with corresponding elements

command-line arguments

argument passed to a program at the time when you run it