A) array 2 = array1 // Copy the elements of array 1 into array 2.
B) cout << array2 // Output the elements stored in array 2.
C) array2 = 5; // Place a 5 in each element of array2.
D) None of the above.
E) A and B, but not C.
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) int value = 8;
B) int value{8};
C) int value(8) ;
D) All of the above.
E) Both A and B, but not C.
Correct Answer
verified
Multiple Choice
A) two rows of values.
B) two columns of indexes.
C) a table with rows and columns.
D) any of the above.
E) none of the above.
Correct Answer
verified
Multiple Choice
A) data types.
B) named constants.
C) values.
D) variables.
E) operators.
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) can be set at run time.
B) can begin with a programmer-defined value.
C) varies from program to program.
D) automatically begins with zero.
E) automatically begins with one.
Correct Answer
verified
Multiple Choice
A) employee.setHoursWorked[5] = 40;
B) employee[5].setHoursWorked = 40;
C) employee.setHoursWorked[5](40) ;
D) employee[5].setHoursWorked(40) ;
E) setHoursWorked(employee[5], 40) ;
Correct Answer
verified
Multiple Choice
A) two-dimensional
B) paired
C) linked
D) parallel
E) brother
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) array name
B) data
C) subscript
D) arguments
E) data type
Correct Answer
verified
Multiple Choice
A) default arguments.
B) an illegal array declaration.
C) an illegal array initialization.
D) data encapsulation.
E) implicit array sizing.
Correct Answer
verified
Multiple Choice
A) a copy of all the values in
B) the value stored in the first element of
C) the starting memory address of
D) the data type and size of
E) none of the above
Correct Answer
verified
Multiple Choice
A) 4
B) 7
C) 8
D) 9
E) the first four scores
Correct Answer
verified
Multiple Choice
A) one for loop
B) two separate for loops
C) a nested for loop
D) no loop
E) one sentinel controlled loop
Correct Answer
verified
True/False
Correct Answer
verified
Showing 21 - 40 of 40
Related Exams