Exam 3: Assignment, Formatting, and Interactive

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

Using a mathematical library function without including the preprocessor statement #include is a common programming error in C++.

(True/False)
4.9/5
(38)

The stream manipulator lowercase displays hexadecimal digits and the exponent in scientific notation in lowercase.

(True/False)
4.9/5
(39)

Numbers sent to cout are normally displayed left-justified in the display field.

(True/False)
4.8/5
(44)

In this statement: totalWeight = factor * weight; the arithmetic expression factor * weight is evaluated first to yield a number, which is then stored in the variable ____________________.

(Short Answer)
4.9/5
(47)

In C++, the mathematical function ____ calculates a number s square root.

(Multiple Choice)
4.9/5
(39)

The ____ declaration qualifier specifies that the declared identifier is read-only after it s initialized.

(Multiple Choice)
4.8/5
(27)

A parameterized manipulator takes ____________________ flags as input.

(Short Answer)
4.9/5
(44)

To alter the default justification for a stream of data, you use the ____________________ manipulator.

(Short Answer)
4.7/5
(37)

Programs that detect and respond effectively to unexpected user input are formally referred to as ____________________ programs.

(Short Answer)
4.8/5
(36)

The ____________________ statement puts the computer in a temporary pause (or wait) state while the user types a value.

(Short Answer)
4.8/5
(37)

The operator used to force converting a value to another type is the ____ operator.

(Multiple Choice)
4.8/5
(36)

A common programming error in C++ consists of separating all variables passed to cin with an extraction symbol, >> .

(True/False)
4.9/5
(35)
Showing 41 - 52 of 52
close modal

Filters

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