Mathematics I / Conditionals and Boolean Logic
Practice question · Sort into groups

Let x be 4 and y be 9. Sort each condition by its value.

Groups: True · False

Hints
  1. Evaluate each comparison separately before applying and, or, not.
  2. The last two differ only in the connective, and one of x, y fails the test.
Show the answer

True: x < y, x != y, (x > 5) or (y > 5)

False: (x == 4) and (y == 4), not (x < y), (x > 5) and (y > 5)

Why

4 < 9 and 4 != 9 hold; negating a true condition gives false; y == 4 fails so the conjunction in c2 fails. c5 is true because y > 5, but c6 fails because x > 5 does not, and demands every part, or demands only one.

Read the lesson: Conditionals and Boolean Logic →

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.

More questions on Conditionals and Boolean Logic