Skip to content

AND, OR, NOT: Designing Algorithms with Logical Operators

A Year 9 Digital Technologies worksheet: students trace a makerspace booking rule written in pseudocode, use truth tables, see why brackets matter, rewrite nested IFs with AND, design new rules and draw the matching flowchart.
WorksheetTechnologiesYear 9Shared by Heapso

Preview

Answers and teacher notes are hidden here. Verified teachers see them once it's copied into Heapso.

Read the text

Fictional makerspace laser cutter booking rule

  1. [1]

    Rule: a student may book the laser cutter if they have completed the safety induction, and they are in Year 9 or 10 or a teacher will supervise them. Nobody may book it while it is under maintenance.

  2. [2]

    Inputs: inducted (TRUE or FALSE), year (a number from 7 to 10), supervised (TRUE or FALSE), maintenance (TRUE or FALSE).

  3. [3]

    INPUT inducted, year, supervised, maintenance

  4. [4]

    IF inducted AND (year >= 9 OR supervised) AND NOT maintenance THEN

  5. [5]

    OUTPUT "Booking allowed"

  6. [6]

    ELSE

  7. [7]

    OUTPUT "Booking refused"

  8. [8]

    ENDIF

  9. [9]

    Order of operations: brackets are worked out first, then NOT, then AND, then OR.

© Australian Curriculum, Assessment and Reporting Authority (ACARA) 2010 to present, unless otherwise indicated. This material was downloaded from the Australian Curriculum website (accessed 18 October 2026) and was not modified. The material is licensed under CC BY 4.0.

Licence: CC BY 4.0. ACARA's terms of use. Heapso isn't affiliated with ACARA, and ACARA doesn't endorse Heapso or any product that uses the Australian Curriculum.

The Australian Curriculum website