Compound Boolean Expression Evaluation
Let x and y be boolean variables. Which statement best describes the result of evaluating the following expression?
(!x || y) && (x || !y)
A
The expression always evaluates to the same value as x.
B
The expression evaluates to true only if x and y are both true or both false.
C
The expression always evaluates to the same value as y.
D
The expression always evaluates to true.
Question Leaderboard
| Rank | |||||
|---|---|---|---|---|---|
| #1 | bommasam000 | 4 | 6 | 3m 52s | 148 |
| #2 | kazvin.tjakradinata | 2 | 3 | 0m 52s | 138 |
| #3 | riyakothakota | 1 | 1 | 0m 00s | 100 |
| #4 | sgarv2513 | 1 | 1 | 0m 00s | 100 |
| #5 | hitrishabhatia | 1 | 2 | 0m 00s | 90 |
| #6 | y.seong2027 | 1 | 1 | 0m 19s | 81 |
| #7 | namansoin000 | 1 | 1 | 0m 40s | 60 |
| #8 | suhanakochhar006 | 1 | 1 | 1m 01s | 39 |
| #9 | meromaroseif | 1 | 1 | 1m 46s | -6 |
| #10 | chunxiangxu.cxu | 0 | 1 | 0m 23s | -33 |
Items per page:
10
1 – 10 of 13
APFIVE