← All printables
ACARA Digital Technologies Years 7–8 · Modules 624–634

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

A free printable ACARA Digital Technologies Years 7–8 word scramble with 8 key terms, built from the key terms of Programming with Control Structures and Functions (JavaScript) (Modules 624–634) — ReferenceError: a name that is not defined, TypeError: assignment to a constant variable, Logic errors: runs but gives the wrong answer, Off-by-one errors in loops, Debugging with console.log(), Tracing a loop by hand 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 Word Scramble: Programming with Control Structures and Functions (JavaScript) (Modules 624–634)

Name:
Date:
Class:

Word scramble

Unscramble the letters and write each key term on the line.

1
OFERNERRREREEC
An error shown when code uses a variable or function name that has not been declared, often from a typo, wrong capital letter, wrong scope or using it before declaring it.
2
GOCIL RORER
A mistake that lets the program run with no error message but gives a wrong result, such as using > instead of >=, the wrong operator, or steps in the wrong order.
3
FOY-BN-FOE RORRE
A loop bug where it runs one pass too many or too few, caused by a wrong start value or mixing up < and <=. For example, i starting at 0 with i <= 5 runs 6 times, not 5.
4
LESOCOA.OGL("ONLTT:", OALTT)
Prints a labelled variable value while the program runs, so you can spot the line where the value first goes wrong. Remove these debug lines once the bug is fixed.
5
AECRT LBEAT
A table with one row per loop repeat, showing the counter, other variables and any output, filled in by hand until the condition is false.
6
// OCLOSOL.NGO(TALTE);
Putting // in front of a line makes JavaScript skip it, so you can switch code off to find a bug. Remove the // to switch it back on.
7
EPCDRIT, NHEGCA, URN
Read the code and predict what it does, change one small part (a value, condition or message), run it, then compare the result with your prediction.
8
IGUEGGDNB
Finding and fixing bugs: run the program, read the error or compare wrong output with what you expected, find the faulty line, fix one thing, then rerun to retest.

Answer Key

ACARA Digital Technologies Years 7–8 · Modules 624–634
1OFERNERRREREEC → ReferenceError — An error shown when code uses a variable or function name that has not been declared, often from a typo, wrong capital letter, wrong scope or using it before declaring it.
2GOCIL RORER → logic error — A mistake that lets the program run with no error message but gives a wrong result, such as using > instead of >=, the wrong operator, or steps in the wrong order.
3FOY-BN-FOE RORRE → off-by-one error — A loop bug where it runs one pass too many or too few, caused by a wrong start value or mixing up < and <=. For example, i starting at 0 with i <= 5 runs 6 times, not 5.
4LESOCOA.OGL("ONLTT:", OALTT) → console.log("total:", total) — Prints a labelled variable value while the program runs, so you can spot the line where the value first goes wrong. Remove these debug lines once the bug is fixed.
5AECRT LBEAT → trace table — A table with one row per loop repeat, showing the counter, other variables and any output, filled in by hand until the condition is false.
6// OCLOSOL.NGO(TALTE); → // console.log(total); — Putting // in front of a line makes JavaScript skip it, so you can switch code off to find a bug. Remove the // to switch it back on.
7EPCDRIT, NHEGCA, URN → predict, change, run — Read the code and predict what it does, change one small part (a value, condition or message), run it, then compare the result with your prediction.
8IGUEGGDNB → debugging — Finding and fixing bugs: run the program, read the error or compare wrong output with what you expected, find the faulty line, fix one thing, then rerun to retest.

Modules this word scramble 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.