Purposes of internal documentation: code maintenance
Comments inside the code, like a header with purpose, author and date, and notes on each function, that help others (or you later) understand and safely change the program.
Understanding Purposes of internal documentation: code maintenance in VCE Software Development U3O1
What it does: A function comment describes the function's job. The maintainer can understand it without reading every line. Internal documentation is written as comments within the code file itself, not in a separate manual. A header comment at the top of a file states why the program exists, who wrote it and when. A vague comment tells a maintainer nothing. The header goes at the top so anyone opening the file sees the purpose, author and date straight away. A function comment should explain what the function does, and what it takes in and gives back. One word like 'function' adds no help.
Common mistakes: Python comments start with #, not //. The // line is not a comment and causes a syntax error. It should be '# Add all prices together'. The header comment is missing its # so Python reads it as code and raises a syntax error. It should be '# Purpose: convert temps'.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 48–71) and word search (Modules 10–71).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
internal documentationFill in the Blanks
Spot the Error
Student with a class code? Join your class →