Exam 8: Class Features and Design Issues

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

An initialization list is the part of the constructor header to the left of the colon.

(True/False)
4.8/5
(34)

A ____ is a collection of useful classes.

(Multiple Choice)
4.8/5
(31)

The one's complement operator (____) is the operator that makes every bit become its opposite.

(Multiple Choice)
4.8/5
(36)

If you want to create an array of class objects such as House aHouse[3] , the class must have a default ____________________.

(Short Answer)
4.8/5
(42)

isUpper() is a typical example of a(n) ____ function.

(Multiple Choice)
4.7/5
(38)

Why is it a good idea to implement your own default constructor, rather than letting C++ provide one?

(Essay)
4.7/5
(43)

A ____ function has the same name as its class.

(Multiple Choice)
4.9/5
(34)

A(n) ____________________ list provides constructor-required values for the member-objects.

(Short Answer)
4.8/5
(44)

Coupling is either tight coupling or loose coupling, depending on how much one function depends on information from another.

(True/False)
4.9/5
(30)
Match each term with the correct statement below.
Premises:
is called automatically each time an object is created
Responses:
auxiliary function
predicate function
manager function
Correct Answer:
Verified
Premises:
Responses:
is called automatically each time an object is created
auxiliary function
(Matching)
4.8/5
(34)

The C++ directive ____ allows you to test whether a class has already been defined in a project; it means "if not defined."

(Multiple Choice)
4.9/5
(40)

All constructors are public.

(True/False)
4.9/5
(46)

In the software industry, what is RAD?

(Essay)
4.9/5
(42)
Showing 41 - 53 of 53
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)