Exam 11: Introduction to Classes

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

C++ is an example of a pure object-oriented programming language.

(True/False)
4.8/5
(26)

A(n) ____ consists of a class s public member function declarations and any supporting comments.

(Multiple Choice)
4.8/5
(25)

Variables defined to be of a user-declared class are referred to as ____.

(Multiple Choice)
4.9/5
(36)

A(n) ____ is any nonconstructor class method that changes an object s data values.

(Multiple Choice)
4.8/5
(39)

____ are functions with the same class name as constructors but preceded with a tilde (~).

(Multiple Choice)
4.8/5
(31)

An object name and a data member name separated by the ____________________ operator is the standard syntax for referring to an object s data member.

(Short Answer)
4.8/5
(39)

The terms class method and class ____________________ are used interchangeably in C++.

(Short Answer)
4.8/5
(31)

In UML diagrams, ____________________ have two qualities: type and visibility.

(Short Answer)
5.0/5
(39)

The term ____ refers to packaging a number of items into a single unit.

(Multiple Choice)
4.8/5
(44)

The default membership category in a class is ____________________.

(Short Answer)
4.7/5
(42)

A class s ____________________ defines the operations permitted to be performed on an object s data members.

(Short Answer)
4.8/5
(34)

In computer terminology, the combination of data and associated operations is defined as a(n) ____.

(Multiple Choice)
4.9/5
(37)

Objects are referred to as ____ of a class.

(Multiple Choice)
4.8/5
(42)

In C++, class names must always start with a capital letter.

(True/False)
4.9/5
(40)

The term encapsulation is sometimes used to refer to the process of ____.

(Multiple Choice)
4.8/5
(41)

The C language, which is C++ s predecessor, is a(n) ____ language.

(Multiple Choice)
4.8/5
(35)

A(n) ____________________ function is called automatically when an object goes out of existence.

(Short Answer)
4.8/5
(32)

The first requirement of a pure object-oriented language is that it contain three specific features: classes, inheritance, and ____.

(Multiple Choice)
4.7/5
(26)

The class declaration section begins with the keyword ____ followed by a class name.

(Multiple Choice)
4.7/5
(46)

The values contained in an object s data members determine the object s ____.

(Multiple Choice)
4.8/5
(30)
Showing 21 - 40 of 50
close modal

Filters

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