Answer:
a. False
b. True
c. True
d. True
e. False
Explanation:
You want to know the truth value of various logical expressions when b = False, and x = 0.
And, Or
An And (&&) expression is true if and only if all parts are true. An OR (||) expression is true if any part is true.
When 'b' is false, b&&__ will be false, and !b||__ will be true. This makes (a) and (e) false, and (d) true.
When x = 0, __||x==0 will be true, so (b) is true.
The And (&&) of expression (c) will only be true when both parts are true. For b = False and x = 0, both parts are true, so (c) is true.
{a, b, c, d, e} = {False, True, True, True, False}