Test 3 - fill in the blanks Flashcards
C stores lists of values in ____.
consecutive memory locations
The elements of an array are related by the fact that they ____.
have the same array name and type.
The names of the five elements of array p are ____, ____, ____, ____ and ____.
p[0], p[1], p[2], p[3], p[4]
The names of the five elements of array p are ____, ____, ____, ____ and ____.
p[0], p[1], p[2], p[3], p[4]
The contents of a particular element of an array is called the ______ of that element.
value
Naming an array, stating its type and specifying the number of elements in the array is
called _______ the array.
declaring
The process of placing the elements of an array into either ascending or descending order is called ______.
sorting
In a two dimensional array, the first index identifies the ____ of an element and the second index identifies the ____ of an element.
row, column
The process of placing the elements of an array in order is called ______ the array
sorting
An m-by-n array contains ____ rows, ____ columns and ____ elements.
m, n, m*n
The name of the element in row 3 and column 5 of array d is ____ .
d[3][5]
A pointer variable contains its value ____ of another variable.
address
The three values that can be used to initialize a pointer are ____, ____ and ____.
0, NULL, an address
The only integer that can be assigned to a pointer is ____.
0
Lists and tables of values can be stored in __________ .
arrays
A pointer variable contains as its value the ____ of another variable.
address
Lists and tables of values are stored in ____.
arrays
The number used to refer to a particular element of an array is called its ____.
index
Determining whether an array contains a certain key value is called ____ the array.
searching
An array that uses two indices is referred to as a ____ array.
two dimensional
A ____ should be used to specify the size of an array because it makes the program more modifiable.
symbolic constant