Object Oriented Programming Using C++ – Section 3


Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

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
Advertisement

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

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

Correct Answer: A. diamond
Advertisement

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
Advertisement

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
Advertisement

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

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

Leave A Comment?