Object Oriented Programming Using C++ – Section 3

46. When using the standard files that come with the C++ compiler, you should surround the header file name with _____

A. square brackets
B. angle brackets
C. parentheses
D. quotes

Correct Answer: B. angle brackets

47. The loop condition in a flowchart is represented by a(n) _____

A. diamond
B. oval
C. parallelogram
D. rectangle

Correct Answer: A. diamond

48. Which of the following, if any, are invalid names for a variable?

A. bankAccountNumber
B. first_Name
C. doubleNumber
D. operator
E. All of the above are valid names for variables

Correct Answer: D. operator

49. Inheritance is the principle that

A. classes with the same name must be derived from one another
B. knowledge of a general category can be applied to more specific objects
C. C++ functions may be used only if they have logical predecessors
D. one function name may invoke different methods

Correct Answer: B. knowledge of a general category can be applied to more specific objects

Warning: Undefined variable $in_same_cat in /www/wwwroot/mtexam.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27

Warning: Undefined variable $excluded_categories in /www/wwwroot/mtexam.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27

Leave A Comment?