9-10 Digital Technologies: Modular programs and algorithms Hangman
Years 9–10 · Victorian Curriculum · 14 key terms.
Every word, shuffled.
This class works in every free tool. Save it for journeys, badges and more tools.
Students build modular programs from functions and imported modules and apply search and sort algorithms to tasks. See the whole journey →
Want your own words? Free Hangman Generator →
Same journey, on the board
Two answers, the class points left or right and you reveal why. The journey’s own questions, no devices.
Same words, on paper
The quiet activity after the loud one. Free to print, answer keys included.
Add your class once in the Random Name Picker Wheel — it works here and in the Random Team Generator.
When your class is on devices
Sprint: a fast whole-class game on any module, where every student plays at their own level. Same modules, with a free class.The 14 key terms
- 1functions - defining
- Keyword that creates (defines) a new function.
- 2functions - parameters
- A variable name in the function definition that receives data.
- 3functions - return values
- Sends a value back to the code that called the function.
- 4functions - scope
- Where a variable can be accessed - local or global.
- 5functions - default arguments
- A pre-set value used when no argument is provided.
- 6def main():
- A function that calls other small functions, each doing one job, so the program is built in parts. Each box in a hierarchy chart can become one function.
- 7comments
- # is used to explain code - Python ignores text after the #
- 8more arithmetic operators (//, %, **)
- Floor division - divides and rounds DOWN to the nearest integer.
- 9creating modules (making your own .py files to import)
- Any .py file that can be imported and reused.
- 10linear search
- An algorithm that uses a loop to check each item in a list in turn. It stops when it finds the target or reaches the end of the list, often returning the index or -1.
- 11while low <= high:
- The binary search loop: while low <= high, check the middle item of a sorted list, then move low or high to halve the search range each time.
- 12selection sort
- A sorting algorithm that uses nested loops to find the smallest remaining item, then swaps it into place with a, b = b, a. It repeats for each position until the list is sorted.
- 13sorted() and .sort()
- sorted(x) returns a new sorted list and leaves x unchanged. x.sort() sorts the list x itself (in place) and returns None. Both accept reverse=True and key= to change the order.
- 14algorithm
- A step-by-step method for solving a problem, like search or sort. Choose one by matching its input and output to your data, then wrap it in a function to reuse it.
Frequently Asked Questions
Do I need an account?
No. Hangman runs straight from this page — no account, nothing to install. If you add your class names, they are saved in your own browser and sent to Cloodit only if you choose to save the class.
How do I play it with my class?
Put the page on your whiteboard or projector and press Play. The class calls out letters and you click or type them. Six wrong letters and the word gets away. After every word its definition appears, so each round ends on the meaning, not just the spelling.
Can I use my own words?
Yes. The free Hangman generator at cloodit.com/hangman/ takes any list: one word or phrase per line, with a definition after a dash if you want it shown at the end of the round.
Can I put my students' names in?
Yes. Add your class once, here, on a Hangman topic page or in the Random Name Picker Wheel, and a random student is called for each word. The class stays in this browser on this computer, so it is still there next lesson.
Are the worksheets free too?
Yes. Every module in this journey has a free printable worksheet with a full answer key, and there are crosswords and word searches built from the same key terms.