ACARA 7-8 Digital Technologies: Debugging, testing and building programs in JavaScript
Students read error messages, trace, test, modify and fix JavaScript programs, then combine control structures and functions in complete programs such as a guessing game.
One content description (AC9TDI8P05, AC9TDI8P06, AC9TDI8P09) from the full ACARA Digital Technologies Years 7–8 — Programming with Control Structures and Functions (JavaScript) journey. All 17 modules below are in that journey too, with the same content — add just these to a class, or the whole strand.
Modules (17)
1
Syntax errors: missing quotes, brackets and braces
2
Reading an error message and its line number
3
ReferenceError: a name that is not defined
4
TypeError: assignment to a constant variable
5
Logic errors: runs but gives the wrong answer
6
Off-by-one errors in loops
7
Debugging with console.log()
8
Tracing a loop by hand
9
Commenting out code to find a bug
10
Testing an algorithm with different starting values
11
Testing a function with expected and actual output
12
Modifying an existing JavaScript program
13
Finding and fixing bugs in a program
14
Random whole numbers with Math.random() and Math.floor()
15
Combining sequence, selection and iteration in one program
16
Writing a program that uses functions and control structures
17
Higher or lower number guessing game
For Teachers
Add this journey to your class and track every student in real time.
Create a free teacher account →No credit card. No setup fee. Make a class and invite students in under three minutes.
For Students
Start this journey on Cloodit — track progress, earn badges, and play live sprints with your class.
Start Learning Free →