Flowcharts, Pseudocode and Python
Quiz 5
Boolean Variables
For questions 1-8, assume x = 2 and y = 8. What is the truth value of each statement?
x == 2
True
False
x == 2 AND y == 8
True
False
!(x == 2 AND y == 8)
True
False
x != y
True
False
x > y
True
False
(x > y) OR (x != y)
True
False
!(x > y) AND (x != y)
True
False
(x > y> AND (x != y)
True
False
pay-rate
is a valid name.
True
False
my_age
is a valid name.
True
False