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
Using a mathematical library function without including the preprocessor statement #include is a common programming error in C++.
(True/False)
4.9/5
(38)
The stream manipulator lowercase displays hexadecimal digits and the exponent in scientific notation in lowercase.
(True/False)
4.9/5
(39)
Numbers sent to cout are normally displayed left-justified in the display field.
(True/False)
4.8/5
(44)
In this statement: totalWeight = factor * weight; the arithmetic expression factor * weight is evaluated first to yield a number, which is then stored in the variable ____________________.
(Short Answer)
4.9/5
(47)
In C++, the mathematical function ____ calculates a number s square root.
(Multiple Choice)
4.9/5
(39)
The ____ declaration qualifier specifies that the declared identifier is read-only after it s initialized.
(Multiple Choice)
4.8/5
(27)
A parameterized manipulator takes ____________________ flags as input.
(Short Answer)
4.9/5
(44)
To alter the default justification for a stream of data, you use the ____________________ manipulator.
(Short Answer)
4.7/5
(37)
Programs that detect and respond effectively to unexpected user input are formally referred to as ____________________ programs.
(Short Answer)
4.8/5
(36)
The ____________________ statement puts the computer in a temporary pause (or wait) state while the user types a value.
(Short Answer)
4.8/5
(37)
The operator used to force converting a value to another type is the ____ operator.
(Multiple Choice)
4.8/5
(36)
A common programming error in C++ consists of separating all variables passed to cin with an extraction symbol, >> .
(True/False)
4.9/5
(35)
Showing 41 - 52 of 52
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)