Object Oriented Programming Using C++ – Section 9

41. A static data member is given a value

A. within the class definition
B. outside the class definition
C. when the program is executed
D. never

Correct Answer:   B. outside the class definition

42. _____ refers to the process of locating and removing the errors in a program

A. Analyzing
B. Correcting
C. Debugging
D. Executing
E. Tracking

Correct Answer:   C. Debugging

43. Static variables are sometimes called

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

Correct Answer:   A. class variables

44. You can pass _____ to functions

A. copies of individual structure members
B. copies of entire structures
C. pointers to structures
D. All of the above

Correct Answer:   D. All of the above

45. Element doubleArray[7] is which element of the array?

A. the sixth
B. the seventh
C. the eighth
D. impossible to tell

Correct Answer:   C. the eighth

Leave A Comment?

sixteen − six =