Compound Boolean Expression Evaluation
Given boolean variables x and y initialized with unspecified truth values, what is the result of evaluating the following expression?
Given boolean variables x and y initialized with unspecified truth values, what is 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 | sgarv2513 | 1 | 1 | 0m 00s | 100 |
| #4 | riyakothakota | 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 | busemagngr | 0 | 1 | 0m 38s | -48 |
| #10 | psak12 | 1 | 1 | 3m 05s | -85 |
Items per page:
10
1 – 10 of 11
APFIVE