Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

Which function is most likely to have procedural cohesion?
A:
main()
B:
findSquareRoot()
C:
getSaleSubtractDiscountAddTax()
D:
openFiles()
Answer: A
No answer description is available. Let's discuss.
The time and memory involved in calling a function represent the function's _____
A:
prototype
B:
overhead
C:
cost
D:
burden
Answer: B
No answer description is available. Let's discuss.
5 is a _____ constant
A:
character literal
B:
named literal
C:
numeric literal
D:
string literal
Answer: C
No answer description is available. Let's discuss.
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
Answer: D
No answer description is available. Let's discuss.
A constructor initialization list produces similar results to
A:
overriding
B:
assignment
C:
redeclaring
D:
output
Answer: B
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz