Description
Test Bank For Programming Logic & Design, Comprehensive 9th Edition
Chater 4
True / False |
1. You use the case structure only when a series of decisions is based on a single expression. a. True b. False ANSWER: True POINTS: 1 REFERENCES: 164 QUESTION TYPE: True / False HAS VARIABLES: False DATE CREATED: 9/12/2016 12:41 PM DATE MODIFIED: 10/9/2016 5:38 PM |
2. In any comparison, the two values compared can be either variables or constants. a. True b. False ANSWER: True POINTS: 1 REFERENCES: 130 QUESTION TYPE: True / False HAS VARIABLES: False DATE CREATED: 9/12/2016 12:41 PM DATE MODIFIED: 10/9/2016 12:03 PM |
3. Any decision can be made using combinations of just two types of comparisons: equal and not equal. a. True b. False ANSWER: False POINTS: 1 REFERENCES: 131 QUESTION TYPE: True / False HAS VARIABLES: False DATE CREATED: 9/12/2016 12:41 PM DATE MODIFIED: 9/12/2016 12:41 PM |
4. Most programming languages allow you to ask two or more questions in a single comparison. a. True b. False ANSWER: True POINTS: 1 REFERENCES: 139 QUESTION TYPE: True / False HAS VARIABLES: False DATE CREATED: 9/12/2016 12:41 PM DATE MODIFIED: 9/12/2016 12:41 PM |
5. A short-circuit evaluation is where each part of an expression is evaluated only as far as necessary to determine whether the entire expression is true or false. a. True b. False ANSWER: True POINTS: 1 REFERENCES: 139 QUESTION TYPE: True / False HAS VARIABLES: False DATE CREATED: 9/12/2016 12:41 PM DATE MODIFIED: 9/12/2016 12:41 PM |
6. When you need to satisfy two or more criteria to initiate an event in a program, you must make sure that the second decision is made entirely independently of the first decision. a. True b. False ANSWER: False POINTS: 1 REFERENCES: 141 QUESTION TYPE: True / False HAS VARIABLES: False DATE CREATED: 9/12/2016 12:41 PM DATE MODIFIED: 9/12/2016 12:41 PM |
Reviews
There are no reviews yet.