Object Oriented Programming Using C++ – Section 8


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

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

11. When all of the operations in a function contribute to the performance of only one task, a function has

A. singular cohesion
B. tight cohesion
C. functional cohesion
D. sequential cohesion

Correct Answer:  C. functional cohesion
Advertisement

12. A function that uses variable types is called __________

A. overloaded
B. a template function
C. a variable function
D. a virtual function

Correct Answer:  B. a template function
Advertisement

13. Having more than one function with the same name is called

A. overloading
B. defaulting
C. casting
D. referencing

Correct Answer:  A. overloading
Advertisement

14. An object is _____

A. a category of classes
B. a name given to a class
C. an instance of a class
D. the same as a class

Correct Answer:  C. an instance of a class
Advertisement

15. Two access specifers in C++ are

A. public and private
B. int and double
C. formal and informal
D. void and free

Correct Answer:  A. public and private
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?