Object Oriented Programming Using C++ – Section 8

41. A program will have one function prototype for each function defined in the programmer-defined section of the program. (Assume that the programmer-defined section is located below the main function.)

A. true
B. false

Correct Answer:  A. true

42. The standard input stream, which refers to the keyboard, is called

A. cin
B. cout
C. stin
D. stout
E. None of the above

Correct Answer:  A. cin

43. If the code and fee arrays are parallel, the fee that corresponds to the code stored in the code[3] element is located in the _____ element

A. code[2] B. code[3] C. fee[2] D. fee[3]

Correct Answer:  D. fee[3]

44. Access specifiers are followed by

A. a comma
B. a semicolon
C. a colon
D. two colons

Correct Answer:  C. a colon

45. Elements in an array are identified by a unique _____

A. data type
B. order
C. subscript
D. symbol

Correct Answer:  C. subscript

Leave A Comment?

one × three =