1/30
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Declaration and definition of an array will not include a default initialization of all elements.
T
If the number of values provided for initialization of an array is fewer than the size of the array then the
remaining elements are zeros.
T
The address operator is necessary in a scanf to accept input for an individual array element when using the
indexing technique.
T
The called function cannot tell whether the value it receives comes from an array, an individual variable, or an
expression that evaluates to the expected type.
T
Indexed references to individual elements of an array are simply calculated addresses where the index value is
added to the address represented by the name of the array.
T
When passing a whole array to the function the total size of the array is necessary in the definition of the called
function.
F
When passing a whole array to the function the total size of the array is not necessary in the definition of the called
function.
T
It is only the starting point of the array in memory that is represented by the name of an array and not the ending
point.
T
The conversion code to use for input or output of an array element depends on the data type of the array.
T
Variables and loops are commonly used together to generate index values to access the elements of an array.
T
Arrays in the C programming language use a one-based index.
F
Arrays in the C programming language use a multi - based index.
T
To pass the whole array to a function you need to use the name of the array followed by empty square braces []
in the function call statement.
F
To pass the whole array to a function you need to use the empty square braces []
in the function call statement.
F
All elements of one array can be assigned to another through the use of the assignment operator and the name of
each array (example: x = y).
F
All elements of one array cannot be assigned to another through the use of the assignment operator and the name of
each array (example: x = y).
T
While the default technique of passing array elements is by value it is possible to pass elements by address using
the & operator (and the * operator in the function being called).
T
If more than one element of an array is passed to a function in a single function call then those elements are
passed by address.
F
If more than one element of an array is passed to a function in a single function call then those elements are
passed by value
T
Using the name of an array in the data list of a single printf function will result in the output of all elements of
the array.
F
To pass the whole array to a function you need to use the empty square braces []
in the function call statement.
F
All arrays sent to a given user-defined function must be of the same defined size.
F
All arrays sent to a given user-defined function may not be of the same defined size.
T
All elements of one array cannot be assigned to another through the use of the assignment operator and the name of each array (example: x = y).
T
Declaration and definition of an array will include a default initialization of all elements.
F
The address operator is not necessary in a scanf to accept input for an individual array element when using the indexing technique.
F
The name of an array is a primary expression whose value is the address of the first and last element in the array.
F
If the number of values provided for initialization of an array is fewer than the size of the array then the remaining elements are assigned a value of zero.
T
When accessing an array element the C language does not check whether the index is within the boundary of an array.
T
Individual elements of an array cannot be passed by address.
F
When passing a whole array to the function the total size of the array is necessary in the definition of the called function.
F