What is capable of performing several tasks and allows the


Question 1.1. What is capable of performing several tasks and allows the user to select the task?

Menu-driven programs

Interactive programs

Graphical programs

User-friendly programs

Question 2.2.  When the user makes a selection from the main menu in a multiple-level menu, a _____ might be displayed next.

menu

main menu

grand menu

submenu

Question 3.3.  What type of programming is centered on the procedures or actions that take place in a program?

Object-oriented

Interactive

Procedural

Menu-driven

Question 4.4.  The programmer determines the fields and methods of an object and creates the _____ code.

class

procedural

module

None of the above

Question 5.5.  The class _____ starts with the word "Class" followed by the name of the class.

body

definition

return

members

Question 6.6. The mutator methods are sometimes called _____.

getters

accessors

setters

None of the above

Question 7.7.  What has exactly the same name as the defining class?

Constructor

Inheritance

Accessor

Polymorphism

Question 8.8. Which of the following is not true of a constructor and destructor of the same class?

They both have the same name aside from the tilde (~) character.

They are both usually called once per object created.

They both are able to have default arguments.

Both are called automatically, even if they are not explicitly defined in the class.

Question 9.9. Every object of the same class _____.

gets a copy of every member function and member variable

gets a copy of every member variable

gets a copy of every member function

shares pointers to all member variables and member functions

Question 10.10. Which of the following is correct?

A constructor must be declared for each class.

A constructor must be declared with a return type.

A default constructor can only be provided by the compiler.

A class can have only one default constructor

Question 11.11. Explain which is more appropriate for writing a menu program: a switch case or if-else statements. Provide a snippet of code to support your position

Request for Solution File

Ask an Expert for Answer!!
Other Subject: What is capable of performing several tasks and allows the
Reference No:- TGS01030719

Expected delivery within 24 Hours