Exam 13: Advanced Input and Output
Exam 1: An Overview of Object-Oriented Programming and C++55 Questions
Exam 2: Evaluating C Expressions51 Questions
Exam 3: Making Decisions50 Questions
Exam 4: Performing Loops51 Questions
Exam 5: Understanding Arrays, Strings and Pointers55 Questions
Exam 6: Using C++ Functions51 Questions
Exam 7: Using Classes56 Questions
Exam 8: Class Features and Design Issues53 Questions
Exam 9: Understanding Friends and Overloading Operators52 Questions
Exam 10: Understanding Inheritance53 Questions
Exam 11: Using Templates54 Questions
Exam 12: Handling Exceptions51 Questions
Exam 13: Advanced Input and Output55 Questions
Exam 14: Advanced Topics53 Questions
Select questions type
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)
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:
Premises:
Responses:
(Matching)
4.7/5
(34)
Match each term with the correct statement below.
Premises:
extended, international coding system
Responses:
data hierarchy
Unicode
fixed manipulator
Correct Answer:
Premises:
Responses:
(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)
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:
Premises:
Responses:
(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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)