Correct Answer
verified
Multiple Choice
A) array name
B) number of elements
C) value of the first element
D) null terminator
E) None of these
Correct Answer
verified
Multiple Choice
A) the assignment operator with the array names
B) the equality operator with the array names
C) a loop to assign the elements of one array to the other array
D) Any of these
E) None of these
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) the same data type
B) integers and floating-point numbers
C) integers
D) constants
E) None of these
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) has_no_elements
B) null_size
C) empty
D) is_empty
Correct Answer
verified
Multiple Choice
A) the array name followed by the column number of the element
B) the row subscript of the element followed by the column subscript of the element
C) a comma followed by a semicolon
D) the row subscript of the element followed by the array name
E) None of these
Correct Answer
verified
Multiple Choice
A) contents
B) size, expressed as an integer
C) name
D) value of the first element
E) None of these
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) 0
B) 5
C) 6
D) 4
E) 1
Correct Answer
verified
Multiple Choice
A) vector n<int>(10, 20) ;
B) vector<int> n = {10, 20};
C) vector<int> n {10, 20};
D) int vector n ({10}, {20}) ;
Correct Answer
verified
Multiple Choice
A) insert_item
B) add_item
C) store
D) push_back
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) you must furnish an initialization list
B) you are not required to initialize array elements
C) all array elements default to zero values
D) your array will contain no elements
E) None of these
Correct Answer
verified
Multiple Choice
A) one
B) two
C) four
D) any number of
E) None of these
Correct Answer
verified
Multiple Choice
A) Each element in the array is initialized to 0.0.
B) Each element in the array except the first is initialized to 0.0.
C) Each element in the array except the first and last is initialized to 0.0.
D) An error will occur when the code runs.
Correct Answer
verified
Multiple Choice
A) string names[5];
B) string names(5) ;
C) string names 5;
D) String[5] = names;
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) parts
B) items
C) constants
D) elements
E) None of these
Correct Answer
verified
Showing 1 - 20 of 56
Related Exams