Exam 13: Advanced Input and Output

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

The ____ function takes arguments that set the bits of cout ; that is, the arguments turn the bits in the format flag on.

Free
(Multiple Choice)
4.7/5
(33)
Correct Answer:
Verified

C

The ____ function defines the size of the output field in which the next output will be displayed.

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

D

No matter how many decimal positions a number contains, C++ will display five positions if you do not explicitly set a precision for output.

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

False

What is a bit?

(Short Answer)
4.9/5
(39)

C++ provides a(n) ____________________ manipulator to flush the stream without sending a newline character.

(Short Answer)
5.0/5
(43)
Match each term with the correct statement below.
Premises:
character that terminates data entry
Responses:
data file
stream
manipulator
Correct Answer:
Verified
Premises:
Responses:
character that terminates data entry
data file
(Matching)
4.7/5
(26)

A(n) ____________________ manipulator is a manipulator that takes an argument.

(Short Answer)
4.8/5
(35)

The ____ manipulator turns on bit codes for the attributes named as arguments.

(Multiple Choice)
4.8/5
(39)

Temporary data storage exists in computer memory; it is lost when power is lost.

(True/False)
4.8/5
(45)

The ____ function skips any additional characters left in the input stream after data is accepted.

(Multiple Choice)
4.8/5
(34)

All format flags begin with iosf:: .

(True/False)
4.9/5
(35)

What are some commonly used format flags?

(Essay)
4.8/5
(38)

A ____ represents the relationships between the sizes of data units that business professionals most often use.

(Multiple Choice)
4.9/5
(38)
Match each term with the correct statement below.
Premises:
provides a synonym for an identifier
Responses:
data hierarchy
Unicode
stream
Correct Answer:
Verified
Premises:
Responses:
provides a synonym for an identifier
data hierarchy
(Matching)
4.8/5
(35)

The ____ manipulator specifies the number of significant digits to display.

(Multiple Choice)
4.7/5
(43)
Match each term with the correct statement below.
Premises:
contains records that are logically related
Responses:
stream
manipulator
delimiter character
Correct Answer:
Verified
Premises:
Responses:
contains records that are logically related
stream
(Matching)
4.7/5
(32)

Mention three file modes available in C++ for opening files.

(Essay)
4.9/5
(30)

Why was Unicode developed?

(Essay)
4.9/5
(41)

____________________ flags are the arguments that determine the state of the cout object.

(Essay)
4.7/5
(40)
Match each term with the correct statement below.
Premises:
sequence of bytes used in an input or output operation
Responses:
Unicode
typedef
stream
Correct Answer:
Verified
Premises:
Responses:
sequence of bytes used in an input or output operation
Unicode
(Matching)
4.9/5
(29)
Showing 1 - 20 of 55
close modal

Filters

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