Exam 1: Software Engineering Principles and C++ Classes

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

In OOP, each object consists of data and operations on that data.

Free
(True/False)
4.8/5
(40)
Correct Answer:
Verified

True

The term asymptotic means the study of the function f as n becomes larger and larger without bound.

Free
(True/False)
4.8/5
(30)
Correct Answer:
Verified

True

Polymorphism is the ability to use the same expression to denote different operations.

Free
(True/False)
4.8/5
(41)
Correct Answer:
Verified

True

Private, public, and protected are member access specifiers.

(True/False)
4.8/5
(27)

The members of a class are classified into three categories called ____ access specifiers.

(Multiple Choice)
4.8/5
(39)

The output of ____ is immediately sent to the standard error stream, which is usually the screen.

(Multiple Choice)
4.8/5
(43)

Encapsulation is the ability to create new data types from existing data types.

(True/False)
4.8/5
(37)

A(n) ____ is a data type that separates the logical properties from the implementation details.

(Multiple Choice)
4.9/5
(33)

A postcondition is a statement specifying what is true before the function call is completed.

(True/False)
4.8/5
(42)

In C++, the mechanism that allows you to combine data and the operations on that data in a single unit is called a class.

(True/False)
5.0/5
(33)

The destructor automatically executes when the class object goes out of ____.

(Multiple Choice)
4.8/5
(38)

In the function ____, the growth rate is quadrupled when the problem size is doubled.

(Multiple Choice)
5.0/5
(44)

The members of a class are classified into three categories: private, public, and main.

(True/False)
4.9/5
(40)

Software engineers typically break the software development process into the following four phases: analysis, design, implementation, and testing and debugging.

(True/False)
4.7/5
(33)

OOD has three basic principles: encapsulation, inheritance and polymorphism.

(True/False)
4.9/5
(52)

A program that is well developed is more expensive to maintain.

(True/False)
4.7/5
(40)

The components of a class are called objects.

(True/False)
4.8/5
(39)

By default, all members of a class are ____.

(Multiple Choice)
4.8/5
(31)

Deciding which member to make private and which to make public depends on the ____ of the member.

(Multiple Choice)
4.8/5
(44)

In the software maintenance process, the program is modified to fix the (identified) problems and/or to enhance it.

(True/False)
4.7/5
(32)
Showing 1 - 20 of 42
close modal

Filters

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