The potential round-off errors are common if the user is not careful when the user uses the equality operator to compare floating point values.
a. true
b. false
Answers for C++ Course using "Starting out with C++ : from control structures through objects" by Tony Gaddis. 7/8th ed. I used the Pearson myprogramminglab to complete the homework. Here are my solutions/answers for the exercises/labs so please use the test bank as a GUIDE if you're stuck. Let me know if you find a better solution to a problem or any of the programming challenges. Thanks in advance for your support! Send in missing programming challenges to cplusplus.answers@gmail.com
Chapter 4 Quiz Starting Out With C++ 033
What is the operator that can be used for the logical AND ?
a. &&
b. ++
c. ||
d. @
e. AND
a. &&
b. ++
c. ||
d. @
e. AND
Exericse Number
Chapter 04,
Quiz
Chapter 4 Quiz Starting Out With C++ 032
What is the value for a relational operation when it is not true?
a. one
b. zero
c. zero, one, or minus one
d. less than zero
a. one
b. zero
c. zero, one, or minus one
d. less than zero
Chapter 4 Quiz Starting Out With C++ 031
The following C++ statement will let the variable decide where the program will go to.
a. select
b. associative
c. scope
d. switch
e. none of the above
a. select
b. associative
c. scope
d. switch
e. none of the above
Exericse Number
Chapter 04,
Quiz
Chapter 4 Quiz Starting Out With C++ 030
When you use input values, the user should check for the following:
a. Appropriate range
b. Reasonableness
c. Division by zero, if division is taking place
d. All of these
e. None of the above
a. Appropriate range
b. Reasonableness
c. Division by zero, if division is taking place
d. All of these
e. None of the above
Exericse Number
Chapter 04,
Quiz
Chapter 4 Quiz Starting Out With C++ 029
An if statement considers true any value that is NOT 0 (ZERO)
a. true
b. false
a. true
b. false
Subscribe to:
Posts (Atom)