Grade 8 · lesson 1 of 4

Trace an AND condition

Translate a stated access rule into Boolean logic using fictional roles.

Download the grade pack

Supplied materials

  • Fictional puzzle room rule: a player may open the practice door only if they have a blue token AND the timer is running.
  • Case A: blue token = true, timer running = false. Case B: blue token = true, timer running = true. No real accounts or permissions are involved.

Learn the idea

A Boolean value is true or false. AND is true only when both conditions are true. OR is true when at least one is true. These operations express different rules.

Evaluate each input first, then combine them with the operator the rule actually uses. Do not replace AND with OR because one condition feels important.

  1. Make a table with token, timer and may-open columns.
  2. Evaluate Case A using AND.
  3. Evaluate Case B using AND.
  4. Add a case with no blue token but a running timer.
Worked example

See the method in action

Case A gives true AND false = false, so the door stays closed. Case B gives true AND true = true. A running timer alone also fails the AND rule.

Your turn

Check your reasoning

Your answer is temporary and is not saved to an account. Download your current answer before leaving or reloading. Written work on paper or in another app stays in your own file.

If the token is false and the timer is true, what is the result under the stated AND rule?

Feedback appears here after you check. This is practice, not a graded school assessment.

See the answer and explanation

False, because both conditions are required

False AND true is false. Both inputs are supplied, and the rule requires both. “One is enough” would describe OR, which is a different rule.

Take it further

Change the fictional rule to OR and make all four true/false input combinations. Only false OR false should be false.

Nothing here is saved to an account or sent to a teacher. The answer download includes your current choice and any checked feedback.

Longer courses for learners ages 14+

These related courses have their own preparation and projects. They are not early-grade assignments.

Check the subject sources

These LifeStarter passages, scenarios and exercises are authored for this Academy with AI assistance and review. External resources keep their publishers’ terms. A grade label suggests a starting level; it does not establish alignment with your school’s complete requirements.