Exam 2: Problem Solving Using C++

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

The ____________________ data type is used to store single characters.

Free
(Short Answer)
5.0/5
(39)
Correct Answer:
Verified

char

The ____ is an output object that sends data it receives to the standard display device.

Free
(Multiple Choice)
4.8/5
(36)
Correct Answer:
Verified

D

Programs with a structure consisting of interrelated segments, called ____ , are arranged in a logical, easily understandable order to form an integrated and complete unit.

Free
(Multiple Choice)
4.8/5
(34)
Correct Answer:
Verified

B

The C++ operator ____ provides the number of bytes used to store values for any data type named in the operator s parentheses.

(Multiple Choice)
4.9/5
(34)

C++ provides ten built-in integer data types.

(True/False)
4.9/5
(36)

In a function header, the ____________________ before the function name defines the type of value the function returns when it has completed operating.

(Short Answer)
5.0/5
(39)

Modular programs are easier to develop, correct, and modify than programs constructed in some other manner.

(True/False)
4.7/5
(44)

A(n) ____ data value is considered a complete entity and can t be decomposed into a smaller data type supported by the language.

(Multiple Choice)
4.8/5
(32)

A(n) ____________________ statement names a variable and specifies the data type that can be stored in it.

(Short Answer)
4.9/5
(41)

A(n) ____________________ is defined as a set of values and a set of operations that can be applied to these values.

(Short Answer)
4.7/5
(36)

A ____ contains both data and functions appropriate for manipulating the data.

(Multiple Choice)
4.7/5
(31)

Although declaration statements can be placed anywhere in a function, typically they re grouped together and placed after the function s opening brace.

(True/False)
4.9/5
(41)

The ____________________ and ostream classes provide the data declarations and methods used for data input and output, respectively.

(Short Answer)
4.9/5
(35)

A(n) ____ is a word designed as a memory aid.

(Multiple Choice)
4.8/5
(35)

A(n) ____ is an acceptable value for a data type.

(Multiple Choice)
4.8/5
(32)

A(n) ____ is an item used to change how the output stream of characters is displayed.

(Multiple Choice)
4.9/5
(45)

The newline escape sequence is ____.

(Multiple Choice)
4.9/5
(33)

You cannot add and subtract character data and mix it with integer data to produce useful results.

(True/False)
4.9/5
(41)

Except for strings, double quotes, identifiers, and keywords, C++ ignores all white space.

(True/False)
4.9/5
(35)

To determine the address of a variable, we can use C++ s address operator, ____, which means the address of.

(Multiple Choice)
4.9/5
(32)
Showing 1 - 20 of 52
close modal

Filters

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