Exam 7: Complex Conditions
Exam 1: The Craft of Programming50 Questions
Exam 2: The Javascript Language49 Questions
Exam 3: Objects, Events, and Graphical User Interfaces48 Questions
Exam 4: The Sequence Structure50 Questions
Exam 5: The Selection Structure50 Questions
Exam 6: The Repetition Structure50 Questions
Exam 7: Complex Conditions49 Questions
Exam 8: Modules and Functions50 Questions
Exam 9: Menus and Data Validation50 Questions
Exam 10: Arrays50 Questions
Exam 11: Building Programs50 Questions
Exam 12: Sorting Data30 Questions
Exam 13: Recursion50 Questions
Select questions type
When testing whether the value of a Boolean variable is true, you do not need to include the relational operator and the value (as in == True) in the condition.
(True/False)
4.8/5
(36)
Which of the following pseudocode statements express the condition below?
A movie theater admits a customer free if he or she is under 2 years old or if he or she is 65 or older.
(Multiple Choice)
4.9/5
(34)
A ____ occurs when two or more conditions have to be evaluated for an action to take place.
(Multiple Choice)
4.8/5
(35)
The Not operator, which is placed before a condition to negate it, is a(n) ____ because it operates on a single condition or a single combined condition.
(Multiple Choice)
4.8/5
(33)
A method for indicating the outcome of combining conditions that appeals to right-brained people is a ____.
(Multiple Choice)
4.8/5
(39)
Which of the following generates a random number between 0 and 1?
(Multiple Choice)
5.0/5
(38)
An advantage of the Boolean data type is that when testing a variable's value, a true value is assumed without having to state it.
(True/False)
4.9/5
(49)
Each path on a binary tree leads to another condition that also splits into two paths.
(True/False)
4.8/5
(41)
Which of the following represents an example of data validation?
(Multiple Choice)
4.9/5
(47)
When one of the conditions in a complex condition is treated differently than the combined condition, nested conditions result in the clearest logic and the fewest comparisons.
(True/False)
4.8/5
(33)
In a decision table, you put a dash in cells containing irrelevant conditions and then merge the columns.
(True/False)
4.7/5
(36)
When testing to see whether a Boolean variable's value is false, you must include the == True or use the keyword Not in front of the variable.
(True/False)
4.9/5
(35)
When two conditions are joined by the logical ____ operator, both must be true for the combined condition to be true.
(Multiple Choice)
4.9/5
(33)
Showing 21 - 40 of 49
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)