Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Free lesson

OS 2.1 (2 of 2): The law and your software

The whole lesson, free. Read it and have a go at the activities. To work the tasks and labs in the real lesson, press Start lab, with no account needed.

55 minutes

A quick check that you are not a bot, then your own lab opens on the interactive lesson.

Already have an account? Sign in

A great app, then a lawyer's letter

Sam builds a game with a song from a famous band. It has no age check and it asks for every player's home address. Players can bet real money (risk money to win more).

Within a month Sam gets three letters from three different lawyers.

Developers must know the rules before they build. In this lesson you match a problem to the law it breaks.

Key words

WordWhat it meansExample
LawA rule made by the government that everyone must follow.the Data Protection Act
RegulationA rule made by an official body, or an industry, to follow the law.rules from the advertising regulator
CopyrightThe maker's right to control copies of their work.a photo, a song or code
PatentA right to stop others from making or using your new invention.a new way a machine works
LicencePermission, with rules, to use something that somebody else made.a game music licence
Personal dataFacts about a real person.home address
GDPRThe data protection law for personal data in the UK and Europe.UK GDPR
Intellectual propertyThings people create with their mind that the law protects.music, logos, code

The cells students fill in are left blank in this preview.

Eleven areas, with UK examples

AreaPlain meaningUK example
Intellectual property and licencesWho owns what, and who may use itCopyright law; a licence is the owner's rules for use
Copyright and patentCopying is controlled; new inventions can be protectedCopyright, Designs and Patents Act 1988; Patents Act 1977
Consumer protectionDigital goods must work and be as describedConsumer Rights Act 2015
Age ratings and classificationsContent must suit the age of the userPEGI for games (an age label); BBFC for films (the UK film age label)
Advertising lawsAdverts must be honest and fairThe UK advertising codes, checked by the ASA (the group that watches adverts)
Data protection and privacyCare for personal dataUK GDPR; Data Protection Act 2018
Gambling legislationBetting needs a licence and age checksGambling Act 2005
Staff and employmentFair treatment, safety and rights of workersEmployment Rights Act 1996; Health and Safety at Work Act 1974
Territorial restrictionsSome content or sales are allowed in one country but not in anotherLaws differ by country
System securityAttacking or misusing computers is a crimeComputer Misuse Act 1990
Equality and diversityNo unfair treatment of groups of peopleEquality Act 2010

The cells students fill in are left blank in this preview.

Which area of law is it?

Have a go

Loading…

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Quick check

Have a go

Quick check

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

The rules follow the users

Important

Many people think only their own country's laws apply. If people in another country use your app, that country's rules can apply too. A film may be allowed in one country and banned in another. Check where your users are before you build.

Your turn: an age and data check

A game shop app must check the age of a player. A game has a PEGI rating: 3, 7, 12, 16 or 18. In the UK, a child can agree to the use of their data by an online service on their own from age 13. Write the three functions in the starter. Press Run Tests when you are ready.

Code: python
def pegi_allowed(age, pegi_rating):
    # A game has a PEGI age rating: 3, 7, 12, 16 or 18.
    # A player may play it if their age is the same as the rating or higher.
    # Give back True or False.
    return None


def can_consent_alone(age):
    # In the UK, a child can agree to the use of their personal data by an online
    # service on their own from age 13. Give back True if age is 13 or more.
    return None


def check_game(age, pegi_rating, collects_data):
    # Give back one of these words:
    # "blocked"   if the player is too young for the rating
    # "ask parent" if the game collects data and the player cannot consent alone
    # "ok"        otherwise
    return None

Make a free account to save your work, or press Start lab to work through the whole lesson.

Data protection: the main rules

RuleWhat it means for you
Fair and clearTell people what you collect and why
Only for the stated reasonDo not use the data for something else
Only what you needDo not collect a date of birth if you do not need it
AccurateLet people correct mistakes
Not kept too longDelete data you no longer need
Kept safeProtect it from loss and theft

The cells students fill in are left blank in this preview.

Your turn: a legal check of an app

A team builds "QuizMania", a quiz app for children aged 10 to 16. It uses song clips from famous artists. It shows adverts and sells extra lives for real money. Children sign up with their name, school and home address. Players can also bet their points for a chance to win a prize.

Make a legal checklist. For each area, write one problem and one thing the team should do.

Template: Area | Problem | What the team should do Copyright and licences | | Data protection and privacy | | Age ratings | | Advertising | | Consumer protection | | Gambling | |

Example: Copyright | The song clips are used without permission | Get a licence or use music that is free to use

A teacher marks this in a college. Nothing you write here is kept: it goes when you leave the page.

Make a free account to save your work, or press Start lab to work through the whole lesson.

Key words crossword

Have a go

Loading…

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Final check

Have a go

Final check

5 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Teach this lesson with your class

On a college account your students work the tasks and the labs as well, and every mark is kept for you.