Object Oriented Programming Using C++ – Section 5

6. Simple routines that programmers use as place holders while a system is being tested are called _____

A. stubs
B. stumps
C. holders
D. templates

Correct Answer: A. stubs

7. You can place function templates

A. at the end of main()
B. at the start of a program above main()
C. in two files-one for the definition and one for the function
D. any of the above

Correct Answer: B. at the start of a program above main()

8. The two operators && an || are

A. arithmetic operators
B. equality operators
C. logical operators
D. relational operators
E. None of the above

Correct Answer: C. logical operators

9. The arguments that determine the state of the cout object are called _____

A. classes
B. manipulators
C. format flags
D. state controllers

Correct Answer: C. format flags

10. Static variables are sometimes called

A. class variables
B. functional variables
C. dynamic variables
D. auto variables

Correct Answer: A. class variables

Leave A Comment?

one × three =