← All printables
ACARA Digital Technologies Years 7–8 · Modules 583–598

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

A free printable ACARA Digital Technologies Years 7–8 definitions worksheet with 10 key terms, built from the key terms of Programming with Control Structures and Functions (JavaScript) (Modules 583–598) — Comparison operators: !==, <, >, <= and >=, Assignment = versus equality ===, Logical operator ||, Logical operator !, Curly braces and indentation, Compound conditions inside an if and more. Print it or save it as a PDF — the answer key starts on its own page. No login needed.

ACARA Digital Technologies Years 7–8 Definitions Worksheet: Programming with Control Structures and Functions (JavaScript) (Modules 583–598)

Name:
Date:
Class:

Key terms

Write what each term means, in your own words.

1
!== < > <= >=
2
= vs ===
3
logical OR
4
!
5
{ }
6
if (age >= 10 && age <= 15)
7
if (a) { if (b) { } }
8
else if
9
if (score >= 50) { } else { }
10
console.log(i)

Answer Key

ACARA Digital Technologies Years 7–8 · Modules 583–598 · Student wording will vary for definitions
1!== < > <= >= — Comparison operators: !== checks two values are not equal, while <, >, <= and >= compare size. Each gives true or false. 50 >= 50 is true, but 50 > 50 is false.
2= vs === — A single = stores a value in a variable (x becomes 5). Triple === compares two values and gives true or false (x is equal to 5). Writing if (x = 5) is a bug.
3logical OR — Logical OR joins two conditions. It is true when at least one is true, and false only when both are false. Example: day === 'Sat' OR day === 'Sun' is true on a weekend.
4! — The not operator. It reverses a boolean: !true is false and !false is true. Put it before a value or bracket, like !(score >= 50). Read it as 'not'.
5{ } — Curly braces group the statements that belong to an if, loop or function. The code inside the braces is indented so you can see which block it belongs to.
6if (age >= 10 && age <= 15) — A compound condition joins several tests in one if using && (and), the or operator and ! (not). Brackets set the order. Use it for range checks, like age between 10 and 15.
7if (a) { if (b) { } } — A nested if is an if inside another if's braces. The inner if is only checked when the outer condition is true. Each if has its own braces and the inner one is indented again.
8else if — In an else if chain, only the first true branch runs and the rest are skipped. Separate if statements are each checked, so more than one can run.
9if (score >= 50) { } else { } — A visual if-else block becomes if/else code. The hexagon condition goes in brackets as a comparison, and the steps from each part of the block go inside curly braces.
10console.log(i) — Inside a for loop, the counter i changes on every repeat, so using it in the loop body gives a different value each time, like 1, 2, 3. It only exists inside the loop.

Modules this definitions worksheet covers

Every module has its own free printable worksheet with an answer key, and students can practise the same terms interactively on Cloodit.

Part of: ACARA Digital Technologies Years 7–8 — Programming with Control Structures and Functions (JavaScript)

More ACARA Digital Technologies Years 7–8 printables

This printable is free — no login needed.

Free classroom tools, no account: Hangman · Random Team Generator · Random Name Picker Wheel · Seating Plan Maker

Make a free class, give it a journey, and you also get:

Create a free teacher account →

No credit card. No setup fee. Make a class and invite students in under three minutes.