Exam 3: Assignment, Formatting, and Interactive
Exam 1: Preliminaries51 Questions
Exam 2: Problem Solving Using C++52 Questions
Exam 3: Assignment, Formatting, and Interactive52 Questions
Exam 4: Selection Structures51 Questions
Exam 5: Repetition Statements50 Questions
Exam 6: Modularity Using Functions50 Questions
Exam 7: Arrays50 Questions
Exam 8: Io Streams and Data Files50 Questions
Exam 9: Completing the Basics50 Questions
Exam 10: Pointers50 Questions
Exam 11: Introduction to Classes50 Questions
Exam 12: Adding Functionality to Your Classes50 Questions
Exam 13: Structures50 Questions
Exam 14: Numerical Methods50 Questions
Select questions type
Assignment statements can be used to perform arithmetic computations.
Free
(True/False)
4.9/5
(38)
Correct Answer:
True
A variable can store only ____________________ value(s) at a time.
Free
(Short Answer)
4.8/5
(44)
Correct Answer:
one
A(n) ____ expression consists of operators and constants only.
Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
A
The ostream class method setf(ios::fixed) is equivalent to the stream manipulator setiosflags(fixed) .
(True/False)
4.8/5
(36)
In this statement: int (a * b); , int is a(n) ____________________ operator.
(Short Answer)
4.9/5
(36)
Another name for a manipulator uses format flags is a ____ manipulator.
(Multiple Choice)
4.8/5
(37)
The ____________________ manipulator must be included for each occurrence of a number inserted in the data stream sent to cout .
(Short Answer)
4.9/5
(37)
The stream manipulator ____ displays Boolean values as true and false rather than 1 and 0 .
(Multiple Choice)
4.8/5
(40)
In C++, accessing mathematical functions in a program requires including the mathematical header file ____.
(Multiple Choice)
4.8/5
(24)
When a manipulator requiring an argument is used, the ____ header file must be included as part of the program.
(Multiple Choice)
4.7/5
(47)
In addition to outputting integers in decimal notation, the oct and hex manipulators are used for conversions to octal and hexadecimal.
(True/False)
4.8/5
(26)
The display of integer values in one of the three possible number systems (decimal, octal, and hexadecimal) doesn t affect how the number is stored in a computer.
(True/False)
4.7/5
(43)
Because of ____, the value assigned to the variable on the left side of the assignment operator is forced into the data type of the variable to which it s assigned.
(Multiple Choice)
4.9/5
(40)
Identifiers created with const are commonly referred to as symbolic constants or ____ constants.
(Multiple Choice)
4.7/5
(39)
The ostream class method setf(ios::flush) is equivalent to the stream manipulator ____.
(Multiple Choice)
4.9/5
(37)
To control the format of numbers displayed by cout , you can include field width ____ in an output stream.
(Multiple Choice)
4.8/5
(39)
In C++, the = symbol is called the ____________________ operator.
(Short Answer)
4.8/5
(35)
In C++, all functions, by definition, can directly return at most one value.
(True/False)
4.9/5
(33)
The stream manipulator ____ sets the floating-point precision to n places.
(Multiple Choice)
4.8/5
(38)
Showing 1 - 20 of 52
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)