Chapter 6 (Arrays) Flashcards
In an array, the values can be different data types. True or False?
False
Usually, all the values in an array have _________ __ ______.
something in common
Each data item in an array is an…
element
These provide an organized storage and display system for a program’s data
an array
a series or list of values in a computer’s memory
array
each element in an array occupies an area in memory that is _________ to the others.
contiguous / adjacent
naming arrays follow the same rules as naming ________.
variables
an array name is not allowed to contain _________ ______.
embedded spaces
This differentiates elements in an array from each other
subscript/index
Subscripts cannot be _____ numbers.
real/floating
The position of a particular element within an array.
subscript / index
what is the most common symbol used to denote a subscript number?
brackets
Subscripts for an array always start at…
0
Assigning values to an array is called…
populating the array
the largest possible _______ in an array will always be arraySize - 1
subscript
[0]
sub zero