Software licences and open-source code
A legal agreement stating how you may use, change and share code. Open-source licences allow reuse if you follow their terms, such as giving credit to the author.
Understanding Software licences and open-source code in VCE Software Development U4O2
What it does: This comment gives credit to the author and names the licence, which meets the attribution condition. The licence file lists the terms of use. Checking it first makes sure you follow the conditions when you reuse open-source code. A software licence is a legal agreement. It sets out what you are allowed to do with the code. The licence tells you your rights and duties. Check it before you copy, change or share the code. Proprietary licences restrict use, copying, changing and sharing. The owner decides what is allowed.
Common mistakes: The string is missing its closing quote, which causes a syntax error. It should be licence = 'MIT'. The GPL is an open-source licence, so open_source should be True. Setting it to False gives the wrong result.
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 97–130) and word search (Modules 49–130).
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
software licenceFill in the Blanks
Spot the Error
Student with a class code? Join your class →