Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
20 Cards in this Set
- Front
- Back
Unlike regular variables, ____ can hold multiple values |
Arrays |
|
The individual values contained in array are known as ____. |
Elements |
|
True or False: The amount of memory used by an array depends upon the array's data type and the number of elements in the array. |
True |
|
To access an array element, use the array name and element's |
Subscript |
|
True or False: The statement float money [25.00]; is a valid C++ array declaration. |
False |
|
Which of the following is a valid C++ array declaration? |
int array[10] |
|
True or False: An array initialization list must be placed on one single line. |
False |
|
The statement int grades[] = {100, 90, 80}; is an example of |
Implicit array sizing |
|
By using the same ____ you can build relationships between data stored in two or more arrays. |
Subscript |
|
True or False: To assign contents of one array to another, you must use the assignment operator. |
False |
|
The name of an array stores ____ of the first array element |
Memory address |
|
True or False: When you pass an array as an argument to a function, the function can modify the contents of an array. |
True |
|
A two-dimensional array is like _____ put together. |
Several identical arrays |
|
A two-dimensional array can be viewed as _____ and ______ |
Rows, Columns |
|
True or False: C++ limits the number of array dimensions to two |
False |
|
The contents of an array of type ____ can be displayed with the cout operator. |
Char |
|
If you leave out the size declarator in an array declaration: |
You must furnish an initialization list |
|
True or False: Regardless of array data types, the first element of an array contains a value of zero. |
False |
|
An element of a two dimensional array is referred to by____ followed by ____. |
Row number of element, Column number of element |
|
When writing functions that accept multi-dimensional arrays as arguments, ________ must be explicitly stated in the parameter list. |
All but the first dimension |