Chapter 10 Flashcards
array
A data structure whose elements are accessed by means of index positions. (341)
element
A data item stored in an array. (342)
enhanced for loop
A special type of for loop that traverses an array or array list from beginning to end, binding a local variable to each element in the array or list. (354)
index
The relative position of the elements of an array. (342)
initializer list
A means of expressing a set of data that can be assigned to the cells of an array in one statement. (349)
logical size
The number of data items actually available in a data structure at a given time. (350)
parallel arrays
Arrays of the same length whose elements are paired in some logical relationship. (353)
physical size
The number of memory units available for storing data items in a data structure. (350)
procedural decomposition
The process of dividing a complex task into simpler tasks that can be solved with methods. (365)
range-bound error
The situation that occurs when an attempt is made to use an array index value that is less than 0 or greater than or equal to the size of the array. (343)
structure chart
A diagram that shows the dependencies among cooperating methods in a program. (365)
subscript
The relative position of the elements of an array. (342)