Practice the key terms and requirements of common open source licences that engineers encounter daily.
0 / 11 completed
1 / 11
What is the main requirement of the MIT licence?
The MIT licence is permissive — its only requirement is preserving the copyright notice and licence text. Commercial use is allowed.
2 / 11
You are using a GPL v3 licensed library in your product and distributing it to customers. What does GPL v3 require?
The GPL copyleft (share-alike) requirement: if you distribute software that includes GPL code, you must make your source available under a GPL-compatible licence.
3 / 11
What distinguishes the Apache 2.0 licence from the MIT licence?
The Apache 2.0 licence includes an explicit patent grant — contributors grant users a patent licence for their contributions. This is important for enterprise adoption.
4 / 11
A colleague says a library has a dual licence — MIT and GPL. What does this mean?
Dual licensing lets projects offer a permissive licence (MIT) for commercial users (who can keep code proprietary) and GPL for open source projects.
5 / 11
What does LGPL (Lesser GPL) allow that GPL does not?
LGPL (Library GPL) was designed for libraries — linking to an LGPL library does not force your application to be GPL-licensed, unlike strong copyleft GPL.
6 / 11
Reviewer: 'This function uses the `libXYZ` library. It's licensed under the MIT license. Great! But I noticed you didn't include a copyright notice in the header of this file. Is there a reason for that, or should we add one?' What is the reviewer asking about?
The reviewer is focusing on the core requirement of the MIT license: that it allows users to freely use, modify, and distribute the code. A copyright notice isn't strictly *required* by MIT, but including one demonstrates good practice and clarifies ownership. Option A is about the version; option C is the core point being questioned; and option D is a tangential concern.
7 / 11
Sarah (Lead Developer): 'Hey team, we're integrating the `AwesomeStats` library into our analytics dashboard. It's GPLv3 licensed. Just a reminder that if we contribute any changes back to AwesomeStats, we need to release those changes under the same GPLv3 terms.' What does Sarah primarily want the team to understand?
Sarah's message highlights the key consequence of using a GPLv3 licensed library: that any derivative work (changes you make) must also be released under the same license. This is known as 'copyleft' – the requirement to share your modifications back with the community. Options A and D are incorrect; option C is irrelevant to the licensing aspect.
8 / 11
Mark (Junior Developer): 'I'm working on integrating the `UIComponents` library. It's licensed under both MIT and GPLv3. I've been careful to only use the parts of the library that are explicitly permitted by the MIT license, and I've added a note in my code about complying with the GPLv3 terms for any modified components.' What does Mark primarily need to ensure?
Mark is dealing with a 'dual license' situation. While the MIT license offers significant freedom, the GPLv3 requires that any derivative work (modified components) also be released under the GPLv3 terms. Documentation is crucial for tracking compliance and avoiding legal issues – option A is about understanding the library; option C is the core of the problem; and option D is an unnecessary step.
9 / 11
Developer: 'We're using LGPL (Lesser GPL) for our UI library. This means we can link it with our proprietary code without requiring us to open-source the entire project.' What is the primary difference between LGPL and GPL?
The key distinction is that LGPL (Lesser GPL) provides more flexibility than the standard GPL. While it still requires attribution, it allows linking with proprietary code without forcing you to open-source your entire application. Option A accurately captures this difference; option B incorrectly states the requirements of LGPL; and options C and D are factually incorrect.
10 / 11
David: 'I've added a dependency on the RetroCache library. It's under the MIT license – fantastic! No strings attached, right? I can use it however I want in my commercial project.' What does David *primarily* understand about the MIT license?
David correctly grasps the core principle of the MIT license: it offers unrestricted usage rights. Crucially, it doesn't impose obligations on derivative works. The other options misrepresent key aspects – GPL licenses *do* require sharing modifications, and the MIT license has no user-based restrictions.
11 / 11
Elena (Lead DevOps): 'We're using the DataStreamer library, which is licensed under GPLv3. I need to ensure we comply with the terms when integrating it into our core platform. What's the *most* important consideration for Elena regarding GPLv3 compliance?
GPLv3's 'copyleft' nature means that any derivative works based on DataStreamer must also be licensed under GPLv3. This 'viral' effect is the defining characteristic of the license and what Elena needs to actively manage. Options 2 and 3 are incorrect; while attribution is good practice, it doesn't negate the licensing requirements.
What will I practise in "Open Source Licence Vocabulary — MIT, GPL, Apache"?
Practice the key terms and requirements of common open source licences that engineers encounter daily.
How many exercises are in this module?
This module has 11 multiple-choice exercises, each with instant feedback and a full explanation of the correct answer.
Is this exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is free to use with no account, sign-up, or paywall.
Do I need to create an account to do these exercises?
No account is required. Just click an option to answer — your score for this session is tracked automatically in the progress bar above.
What happens if I choose the wrong answer?
You'll immediately see which answer was correct, plus a full explanation covering the vocabulary and reasoning behind it — mistakes are where most of the learning happens.
Can I retry the exercises if I want a higher score?
Yes — use the "Try again" button on the results screen to reset and go through all the questions again.
Is my progress saved if I close the page?
No. Progress is tracked only for your current visit; reloading or leaving the page resets the counter. This keeps the exercise simple and account-free.
Where can I find more Legal Contracts exercises?
Browse the full Legal Contracts hub for related drills, or check the "Next up" link below to continue with a connected topic.
How is this different from reading an article on the same topic?
Articles explain vocabulary and concepts in prose; this exercise tests and reinforces that vocabulary through active recall with immediate feedback — the two work best together.
Who writes these exercises?
Every exercise is written by the CoderSlingo team, drawing on real workplace English used in IT roles, then reviewed for accuracy and clarity.