<code>!(a && b)</code> is equivalent to
- A
!a && !b
- Bcheck_circle
!a || !b
- C
a && b
- D
a || b
Explanation
De Morgan: not (A and B) = (not A) or (not B).
AP Computer Science A· difficulty 4/5
<code>!(a && b)</code> is equivalent to
!a && !b
!a || !b
a && b
a || b
Explanation
De Morgan: not (A and B) = (not A) or (not B).
Want 10 more like this — adaptive to your weak spots?