Practice question · Select all that apply
Let p be true and q be false. Select every expression that evaluates to TRUE.
Hints
- Substitute the values and work outward from the innermost operator.
- Any expression demanding q to hold is already lost.
Show the answer
- A. p or q
- B. p and (not q)
- E. not q
Why
p or q is true because p holds; not q is true because q fails; p and (not q) is true and false is... true and true, so true. p and q fails on q, and not (p or q) negates a true value. Getting the last one wrong usually means negating the wrong level.
Practise Conditionals and Boolean Logic
The app has 7 more questions on this lesson, and keeps your place in the course. Mathematics I is free to start.