← All printables
ACARA Digital Technologies Years 7–8 · Modules 562–580

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 562–580) — Sequence: statements run top to bottom, Typing code exactly: case, spelling and paired symbols, Reassigning a let variable, const for values that never change, The number data type, The boolean data type: true and false 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 562–580)

Name:
Date:
Class:

Key terms

Write what each term means, in your own words.

1
sequence
2
console.log("Hi");
3
score = score + 1;
4
const
5
number
6
boolean
7
(a + b) / 2
8
total += price
9
prompt("question")
10
console.log, prompt, let

Answer Key

ACARA Digital Technologies Years 7–8 · Modules 562–580 · Student wording will vary for definitions
1sequence — Statements run one after another from top to bottom, so changing the order of lines can change the result. A variable must be set before it is used.
2console.log("Hi"); — JavaScript is case-sensitive, so console.log must be typed exactly. Every opening quote, bracket or brace needs a matching closing one, like the quotes and ( ) here.
3score = score + 1; — Reassigns an existing let variable. The right side is worked out first using the old value, then the new value replaces it. Don't write let again.
4const — Declares a variable whose value is set once and cannot be reassigned. Use it for fixed values like a maximum score. Changing it later causes a TypeError.
5number — A value written without quotes, whole (7), decimal (3.5) or negative (-2), that you can calculate with. 5 is a number but '5' in quotes is a string, which is text.
6boolean — A data type with only two values, true or false, written in lowercase with no quotes. Comparisons like 5 > 3 give a boolean, and true is not the same as the string "true".
7(a + b) / 2 — Brackets run first, so a + b is added before dividing by 2. Then * and /, then + and -. Operators on the same level go left to right. Without brackets, only b is divided by 2.
8total += price — A shorthand update. Operators like +=, -=, ++ and -- change a variable using its own value, so total += price means total = total + price. count++ adds 1 and count-- takes away 1.
9prompt("question") — Shows a message box, waits for the user to type, then returns what they typed as a string. Store it in a variable. Cancel returns null.
10console.log, prompt, let — Blocks have typed JavaScript equivalents: a say block becomes console.log, an ask block becomes prompt, and a set variable block becomes let (or an assignment with =).

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.