← All printables
ACARA Digital Technologies Years 7–8 · Modules 482–519

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 Tracing and Debugging Algorithms and Programming with Control Structures and Functions (Python) (Modules 482–519) — Writing a bug report from a trace, Scratch scripts and typed Python side by side, Scratch say block as print(), Scratch variable blocks as Python assignment, Scratch ask and answer as input(), NameError: using a name Python does not know 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: Tracing and Debugging Algorithms and Programming with Control Structures and Functions (Python) (Modules 482–519)

Name:
Date:
Class:

Key terms

Write what each term means, in your own words.

1
bug report
2
print("Hi")
3
print("Hello!")
4
score = score + 1
5
name = input("What is your name? ")
6
NameError
7
if score == 10:
8
IndentationError
9
for i in range(10):
10
while True:

Answer Key

ACARA Digital Technologies Years 7–8 · Modules 482–519 · Student wording will vary for definitions
1bug report — A short note giving the input used, the expected and actual output, the trace row where it goes wrong, the cause and the correction. Use 'because' to explain the cause to a classmate.
2print("Hi") — One typed line of Python matches one Scratch block. A stack of blocks becomes lines of code that run in order from the top, so spelling and punctuation must be exact.
3print("Hello!") — Python version of the Scratch say block. It shows the text inside the quotes on screen, so say Hello! becomes print("Hello!"). Python has no direct match for say for 2 seconds.
4score = score + 1 — Python for the Scratch block 'change score by 1'. Python works out the right side first, then stores the answer back in score. Use score = 0 to set it.
5name = input("What is your name? ") — Like Scratch ask and wait: input() shows the prompt, waits for a reply, and the answer is stored in a variable (name), just like the answer reporter.
6NameError — An error Python raises when code uses a variable or function name it does not know, often from a typo, wrong capitals, missing quotes or using a name before it is assigned.
7if score == 10: — Python's version of Scratch's if block: the hexagon condition becomes a comparison like ==, then a colon, and the blocks inside become indented lines. Add else: for the else part.
8IndentationError — Python errors when a block's lines are not indented consistently, or when the if, for, while or def line that opens the block is missing its colon.
9for i in range(10): — Python's version of the Scratch repeat 10 block. The lines indented under it run 10 times, and i counts from 0 to 9.
10while True: — The Python version of the Scratch forever block. It repeats its indented code nonstop until break. Scratch repeat until x becomes while not x:

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 — Tracing and Debugging Algorithms, ACARA Digital Technologies Years 7–8 — Programming with Control Structures and Functions (Python), QCE Digital Solutions Unit 1 — Algorithms and Programming Techniques, QCE Digital Solutions Unit 1 — Programmed Solutions, WA Computer Science ATAR Year 11 — Control Structures and Data Types, WA Computer Science ATAR Year 11 — Modular Programming

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.