Exam 3: Decision Structures and Boolean Logic
Exam 1: Introduction to Computers and Programming36 Questions
Exam 2: Input, Processing, and Output35 Questions
Exam 3: Decision Structures and Boolean Logic35 Questions
Exam 4: Repetition Structures34 Questions
Exam 5: Functions and Modules69 Questions
Exam 6: Files and Exceptions34 Questions
Exam 7: Lists and Tuples35 Questions
Exam 8: More About Strings35 Questions
Exam 9: Dictionaries and Sets35 Questions
Exam 10: Classes and Object Oriented Programming35 Questions
Exam 11: Inheritance35 Questions
Exam 12: Recursion35 Questions
Exam 13: GUI Programming35 Questions
Select questions type
Multiple Boolean expressions can be combined by using a logical operator to create _____ expressions.
(Multiple Choice)
4.8/5
(65)
A(n) _______________ statement will execute one block of statements if its condition is true, or another block if its condition is false.
(Short Answer)
5.0/5
(78)
A(n) _____ structure is a logical design that controls the order in which a set of statements execute.
(Multiple Choice)
4.8/5
(78)
Python allows you to compare strings, but it is not case sensitive.
(True/False)
5.0/5
(75)
An action in a single alternative decision structure is performed only when the condition is true.
(True/False)
4.9/5
(86)
When using the _____ operator, both subexpressions must be true for the compound expression to be true.
(Multiple Choice)
4.8/5
(76)
Python uses the same symbols for the assignment operator and the equality operator.
(True/False)
4.9/5
(87)
The logical _______________ operator reverses the truth of a Boolean expression.
(Short Answer)
4.9/5
(84)
In Python, the _____ symbol is used as the not-equal-to operator.
(Multiple Choice)
4.8/5
(74)
Which of the following is the correct if clause to use to determine whether choice is other than 10?
(Multiple Choice)
4.7/5
(72)
Nested decision structures are one way to test more than one condition.
(True/False)
4.8/5
(80)
Which of the following is the correct if clause to determine whether y is in the range 10 through 50?
(Multiple Choice)
4.9/5
(84)
Showing 21 - 35 of 35
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)