Computer Science - Object Oriented Programming Using C++

11. 

A member function uses the correct object when you call it because

A. a copy of the object is passed to the function
B. the address of the object is passed to the function
C. the address of the function is passed to another function
D. the address of the object is returned from the function

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

12. 

Two access specifiers in C++ are

A. public and private
B. int and double
C. formal and informal
D. void and free

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

13. 

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
E. desk-check the program

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

14. 

Within parentheses, catch blocks can have _____

A. no arguments
B. one argument
C. two arguments
D. as many arguments as necessary

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

15. 

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: Option C

Explanation:

No answer description available for this question. Let us discuss.