Boolean Expression and De Morgan's Law
Assume that p and q are boolean variables. Which of the following statements correctly describes the value of the expression below?
(!p && !q) || !(p || q)
A
The expression always evaluates to false.
B
The expression evaluates to true whenever p is false.
C
The expression always evaluates to true.
D
The expression evaluates to false whenever p and q have opposite truth values.
Question Leaderboard
Not enough data yet to show leaderboard.
APFIVE