← VCE Applied Computing U1O2 Programming: Naming conventions and internal documentation

VCE Applied Computing U1O2 Programming: Naming conventions and internal documentation Hangman

Year 11 · VCE · 9 key terms.

Theme
Words

Every word, shuffled.

Players

Students name solution elements using conventions such as camel casing and Hungarian notation and document code with comments, docstrings and headers to support maintenance. 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.

▶ Run Duo on the board

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 9 key terms

1naming convention
An agreed pattern for naming variables, functions, classes and constants so code is consistent, uses meaningful names and is easy to read.
2camelCase
A naming style with no spaces: the first word is lowercase and each later word starts with a capital letter, like studentScore. PascalCase also capitalises the first word.
3Hungarian notation
Starting a variable name with a short data type prefix, then a descriptive name, such as strName, intAge, fltPrice or blnPassed.
4snake_case
A naming style where all letters are lowercase and words are joined by underscores, like student_score. Python uses it for variables and functions, and it should be used consistently.
5comments
# is used to explain code - Python ignores text after the #
6internal documentation
Explanation written inside the code to say what it does and why, so other programmers can understand, fix and update it later.
7scores = [] # marks for each student
A comment beside a variable, list, record or class that says what it stores and how it is used, so other programmers can understand the data and code structures.
8"""docstring"""
A triple-quoted string placed first in a function or class that describes its purpose, parameters and return value. It is internal documentation.
9header comment
A comment at the top of a file that records the program's purpose, author, date and any changes made, so others can understand and maintain the code.

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.

More VCE Hangman

VCE Applied Computing - U2O1 - Innovative Solutions24 key terms VCE Applied Computing - U2O2 - Cyber Security74 key terms VCE Pseudo Code25 key terms VCE Applied Computing - U1O1 - Data analysis78 key terms VCE Applied Computing - U1O1 - Data analysis82 key terms VCE Software Development - U3O1 - Programming181 key terms Make your own hangman →Paste any word list and play