Computer Science - Object Oriented Programming Using C++

36. 

Which of the following stream manipulators advances the cursor to the next line on the computer screen?

A. adin
B. advin
C. edlin
D. endl
E. lineadv

Answer: Option D

Explanation:

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

37. 

6.5 is a _____ constant

A. character literal
B. named literal
C. numeric literal
D. string literal

Answer: Option C

Explanation:

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

38. 

The time and memory involved in calling a function represent the function's _____

A. prototype
B. overhead
C. cost
D. burden

Answer: Option B

Explanation:

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

39. 

Which function is most likely to have procedural cohesion?

A. main()
B. findSquareRoot()
C. getSaleSubtractDiscountAddTax()
D. openFiles()

Answer: Option A

Explanation:

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

40. 

A pointer is

A. the address of a variable
B. an indication of the variable to be accessed next
C. a variable for storing addresses
D. the data type of an address variable

Answer: Option C

Explanation:

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