Computer Science - Object Oriented Programming Using C++

36. 

When a language has the capability to produce new data types, it is said to be

A. reprehensible
B. encapsulated
C. overloaded
D. extensible

Answer: Option D

Explanation:

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

37. 

A compound statement does not consist of

A. a single statement
B. other compound statements
C. expression statements
D. control statements
E. None of the above

Answer: Option A

Explanation:

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

38. 

Which of the following statements will display the word "Hello" on the computer screen?

A. cin << "Hello";
B. cin >> "Hello";
C. cout << "Hello";
D. cout >> "Hello";
E. None of the above

Answer: Option C

Explanation:

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

39. 

The preprocessor directive always starts with the symbol

A. %
B. &
C. #
D. ""
E. None of the above

Answer: Option C

Explanation:

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

40. 

Which of the following statements is true?

A. Data coupling is tighter than pathological coupling
B. Common coupling is looser than data coupling
C. Data-structured coupling is looser than control coupling
D. Control coupling is looser than data coupling

Answer: Option C

Explanation:

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