Boolean Expression Evaluation
Which statement best describes the value of the following Boolean expression, where a and b are boolean variables?
a && !(b || a)
A
The value is true when “b” has the value false, and is false otherwise.
B
The value is true when “a” has the value false, and is false otherwise.
C
The value is true when either “a” or “b” has the value true, and is false otherwise.
D
The value is always false.
Question Leaderboard
Not enough data yet to show leaderboard.
APFIVE