Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

The word case used in the switch statement represents a
A:
function in the C++ language
B:
data type in the C++ language
C:
keyword in the C++ language
D:
global variable in the C++ language
Answer: C
No answer description is available. Let's discuss.
The while loop is referred to as a(n) _____ loop because the loop condition is tested at the beginning of the loop
A:
beginning
B:
initial
C:
pretest
D:
priming
Answer: C
No answer description is available. Let's discuss.
Within parentheses, catch blocks can have _____
A:
no arguments
B:
one argument
C:
two arguments
D:
as many arguments as necessary
Answer: B
No answer description is available. Let's discuss.
Which of the following is the fourth problem-solving step?
A:
analyze the problem
B:
evaluate and modify (if necessary) the program
C:
code the algorithm
D:
plan the algorithm
Answer: C
No answer description is available. Let's discuss.
Two access specifiers in C++ are
A:
public and private
B:
int and double
C:
formal and informal
D:
void and free
Answer: A
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz