Computer Science - Object Oriented Programming Using C++

11. 

When all of the operations in a function contribute to the performance of only one task, a function has

A. singular cohesion
B. tight cohesion
C. functional cohesion
D. sequential cohesion

Answer: Option C

Explanation:

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

12. 

A function that uses variable types is called __________

A. overloaded
B. a template function
C. a variable function
D. a virtual function

Answer: Option B

Explanation:

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

13. 

Having more than one function with the same name is called

A. overloading
B. defaulting
C. casting
D. referencing

Answer: Option A

Explanation:

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

14. 

An object is _____

A. a category of classes
B. a name given to a class
C. an instance of a class
D. the same as a class

Answer: Option C

Explanation:

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

15. 

Two access specifers 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.