Exam 13: Advanced Input and Output

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

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

(Multiple Choice)
4.7/5
(34)

What happens when you use a delimiter other than '\n' with getline() ?

(Essay)
4.9/5
(40)

A(n) ____ mode indicates how a file is opened-for example, for input or output.

(Multiple Choice)
4.8/5
(45)

The ____ manipulator displays octal numbers with a leading 0 and hexadecimal numbers with a leading 0x so you do not mistake them for base 10 (decimal) numbers.

(Multiple Choice)
4.7/5
(42)

In addition to endl , C++ provides a(n) ____________________ manipulator to send a null (or space) character rather than a newline.

(Short Answer)
4.8/5
(33)

The ____ manipulator allows you to set the width of a field for output.

(Multiple Choice)
4.8/5
(28)

The ____ key combination can be used to indicate an end-of-file.

(Multiple Choice)
4.9/5
(41)

The && and || operators are used for shifting bits in some contexts.

(True/False)
4.9/5
(29)

A group of related files is often stored in a ____.

(Multiple Choice)
4.8/5
(31)
Match each term with the correct statement below.
Premises:
allows you to output a specified number of decimal places
Responses:
data file
data hierarchy
manipulator
Correct Answer:
Verified
Premises:
Responses:
allows you to output a specified number of decimal places
data file
(Matching)
4.7/5
(34)

Format flags are also known as state flags.

(True/False)
4.8/5
(33)
Match each term with the correct statement below.
Premises:
extended, international coding system
Responses:
data hierarchy
Unicode
fixed manipulator
Correct Answer:
Verified
Premises:
Responses:
extended, international coding system
data hierarchy
(Matching)
4.9/5
(40)

The ____ function controls the number of significant digits you see in the output.

(Multiple Choice)
4.8/5
(43)

Write a program in which a 10-character limit is applied to the entry of a user's name. The program should use the get() function and display the message "Hello," followed by the user's name.

(Essay)
4.9/5
(34)

The ____________________ manipulator displays numbers in hexadecimal form.

(Short Answer)
4.8/5
(42)

____ I/O is formatted; that is, bytes are grouped into meaningful units such as integers, doubles, and class object types.

(Multiple Choice)
4.9/5
(31)

What is the syntax of the get() function?

(Essay)
4.9/5
(40)

The ____ function can be used to deselect a bit in the format flag.

(Multiple Choice)
4.8/5
(45)
Match each term with the correct statement below.
Premises:
used to describe disks and similar devices
Responses:
delimiter character
data file
stream
Correct Answer:
Verified
Premises:
Responses:
used to describe disks and similar devices
delimiter character
(Matching)
4.9/5
(42)

A ____ is a way to create a shorter, easier-to-remember nickname for an unwieldy identifier.

(Multiple Choice)
4.9/5
(41)
Showing 21 - 40 of 55
close modal

Filters

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