Exam 13: Advanced Input and Output

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

Mention one advantage and one disadvantage of using the get() function instead of the extraction operator (>>) with cin for keyboard data entry.

(Essay)
4.8/5
(36)

____ I/O is unformatted; that is, bytes are transferred into and out from memory without regard to the type of data they represent.

(Multiple Choice)
4.8/5
(39)

The ____ is a key combination that indicates completion of data entry.

(Multiple Choice)
4.8/5
(47)

A ____ represents one piece of data, such as a first or last name, phone or Social Security number, or salary.

(Multiple Choice)
4.9/5
(34)

A ____ consists of a number of data fields that are logically connected because they pertain to the same entity.

(Multiple Choice)
4.9/5
(34)
Match each term with the correct statement below.
Premises:
used to manipulate, or change, the state of the cout object
Responses:
stream
delimiter character
permanent storage device
Correct Answer:
Verified
Premises:
Responses:
used to manipulate, or change, the state of the cout object
stream
(Matching)
4.8/5
(39)

The ____ function reads a line of text at the address represented by the first argument to the function until it reaches either the length used as the second argument or the character used as the third argument.

(Multiple Choice)
4.9/5
(38)

The ____________________ manipulator displays values in octal form.

(Short Answer)
4.8/5
(43)
Match each term with the correct statement below.
Premises:
represents the relationships between the sizes of data units that business professionals most often use
Responses:
Unicode
permanent storage device
fixed manipulator
Correct Answer:
Verified
Premises:
Responses:
represents the relationships between the sizes of data units that business professionals most often use
Unicode
(Matching)
4.9/5
(39)

A(n) ____________________ character separates data fields.

(Short Answer)
4.7/5
(31)

The cin.get() statement can retrieve any character, including letters, numbers, punctuation, and white space such as the character generated by pressing the Enter key.

(True/False)
4.8/5
(34)

How is a file closed in C++?

(Essay)
4.9/5
(43)

The ____ function takes a character argument and returns a reference to the object that invoked the function.

(Multiple Choice)
4.9/5
(38)

The ofile() function opens a data file.

(True/False)
4.8/5
(38)

What are the ostream objects that C++ instantiates?

(Essay)
4.9/5
(38)
Showing 41 - 55 of 55
close modal

Filters

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