Skip to content · ⁨Перейти к содержанию⁩

Logic: AND, OR, NOT · ⁨Логика: AND, OR, NOT⁩

A club that checks both ends of the age

  • A club takes members only from 11 to 16. One test cannot say both ends.
  • AND is TRUE only when both tests are TRUE: Age >= 11 AND Age <= 16.
  • NOT flips a Boolean. The tasks use it on a flag, not on a number.

AND joins two tests: age 14 passes both, so the entry is accepted; age 10 fails the first

Handout · ⁨Раздаточный материал⁩

Log in or create account · ⁨Войти или создать аккаунт⁩

IGCSE, A-Level & AP