Chapter 5 Vocabulary Flashcards
(10 cards)
Subscript
AKA- Index- a number that indicates the position of a particular array
Array
Series or list of variables in computers memory
Element
A separate array variable
Size of Array
Determined by how many elements an array can hold
Direct Relationship
The connection made in the program between the department and array
Linear Search
A search in a program from one end of the list to the other
Flag
A variable you set to indicate whether some event has occurred ( frequently holds a Boolean ( t or f ) value)
Parallel arrays
Two corresponding arrays
Indirect relationship
Relationship between an items number and price
Out of Bounds
When a subscript is used within a range of acceptable subscripts it is “out of bounds”