Questions: Software Licensing and Intellectual Property
4 questions to test your understanding
Score: 0 / 4
Question 1 Multiple Choice
A student finds a useful function in a public code repository that has no LICENSE file and no statement about permissions. What is the safest accurate description of the student's position?
AThe code is in the public domain because anyone can see it
BThe code may be used freely as long as the author is credited
CThe author still holds copyright, so copying it into another project needs the author's permission
DThe code may be used freely in school projects, but not in paid products, under every country's law
Copyright applies automatically when code is written. Making code visible does not grant a license. Without one, the default is that the author keeps the exclusive right to copy and distribute it, so the student should ask or find another source. Some limited uses may fall under exceptions such as fair use in the United States, but that depends on the facts.
Question 2 Multiple Choice
A company modifies an open-source library and ships the modified version inside a product it distributes to customers. Under which license is the company required to make the source code of its modified library available under the same license?
AMIT License
BBSD 2-Clause License
CGNU General Public License (GPL)
DApache License 2.0
The GPL is a copyleft license: if you distribute a modified version, you must offer its source code under the GPL as well. MIT, BSD and Apache 2.0 are permissive licenses that allow modified versions to be distributed under other terms, including closed-source ones, as long as their conditions (such as keeping notices) are met.
Question 3 True / False
Copyright law protects the general idea of an algorithm, such as 'sort a list by repeatedly swapping neighbors that are out of order', so no one else may write their own code for it.
TTrue
FFalse
Answer: False
Copyright covers a particular written expression, such as one specific implementation. Anyone may write their own independent code for the same idea. Patents can protect some technical inventions, but that is a separate system with its own requirements.
Question 4 Short Answer
What problem do Creative Commons licenses solve for people who create images, music or text?
Think about your answer, then reveal below.
Model answer: They give creators a simple, standard way to grant the public some rights in advance, such as permission to share or adapt a work as long as the creator is credited, without each user having to ask for permission individually.
Creative Commons licenses come in a few combinations of conditions, such as attribution (BY), share-alike (SA), noncommercial (NC) and no derivatives (ND). Creative Commons itself recommends software-specific licenses such as MIT or the GPL for code.