Three questions before you build
Before a developer builds, they ask three questions.
- Can I trust this information? 2. What could go wrong? 3. What do the law and fairness say?
A project that answers these three is safer, and it earns marks for PO5 and PO6.
Key words
| Word | What it means | Example |
|---|---|---|
| Source | Where information comes from. | a government website |
| Reliable | Checked and true, so you can trust it. | official documentation |
| Mitigation | What you do to make a risk smaller. | keep a backup |
| Likelihood | How likely it is that the risk happens. | 3 means very likely |
| Impact | How bad it is if the risk happens. | 3 means very bad |
| Contingency plan | What you do if the risk happens anyway. | use the backup copy |
| Ethics | Choosing what is right and fair. | do not hide a fault from users |
| Bias | A result that is unfair to some people. | a form that only fits some names |
| Personal data | Facts about a real person. | name, phone number |
| GDPR | UK rules about how to use personal data. | keep only what you need |
| Copyright | The right of the maker to control copies of their work. | a photo or a piece of code |
| Licence | Permission to use something under stated rules. | an open source licence |
| Open source | Code that anyone may read and use under a licence. | Python |
The cells students fill in are left blank in this preview.
Eight places to look
| Place | Good for | Take care |
|---|---|---|
| Search engine | Finding pages fast | The top result is not always the best one |
| Wiki (a site anyone can edit, like Wikipedia) | A quick overview | Anyone may edit it. Check its sources |
| Blog | Real examples from developers | It is one person's opinion |
| Academic paper (a report by researchers) | Careful, tested findings | It can be hard to read, and it may be old |
| Classmates and friends | Fast help from people you know | They can be wrong too |
| Forum (a site where people ask and answer questions) | Answers to a very exact problem | Check the date and the votes |
| Code comments | Why the code was written this way | The code may have changed since |
| Code repository (a place that stores code) | Real code and its history | Check the licence before you copy |
The cells students fill in are left blank in this preview.
How reliable is the source?
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Five checks for a source
| Check | Question |
|---|---|
| Who | Who wrote it? Do they know the subject? |
| When | When was it written? Is it still true? |
| Proof | Does it show evidence or give examples? |
| Agree | Do other good sources say the same? |
| Why | Why was it written? To teach, or to sell? |
The cells students fill in are left blank in this preview.
Note where each fact came from
Tip
Write the source name, the page address and the date you read it. Then anyone can check. If you use another person's code or text, say so and check the licence.
Check: can you trust the source?
Have a go
Check: can you trust the source?
3 questionsWorked example: score a risk (x means multiply)
| Risk | Likelihood (1 to 3) | Impact (1 to 3) | Score (likelihood x impact) | Level |
|---|---|---|---|---|
| Data file is lost | 2 | 3 | 2 x 3 = 6 | high |
| The build takes longer | 3 | 2 | 3 x 2 = 6 | high |
| A name is typed wrong | 3 | 1 | 3 x 1 = 3 | medium |
| The colours are not nice | 1 | 1 | 1 x 1 = 1 | low |
The cells students fill in are left blank in this preview.
All nine scores in one picture
| Likelihood (down), impact (across) | Impact 1 | Impact 2 | Impact 3 |
|---|---|---|---|
| Likelihood 1 | 1 low | 2 low | 3 medium |
| Likelihood 2 | 2 low | 4 medium | 6 high |
| Likelihood 3 | 3 medium | 6 high | 9 high |
The cells students fill in are left blank in this preview.
Check: score a risk
Have a go
Check: score a risk
5 questionsScore the risks with code
Write three functions for a risk register. risk_score multiplies likelihood and impact. risk_level gives low for 1 or 2, medium for 3 or 4, and high for 5 or more. worst_risk gives the name of the risk with the highest score, or None for an empty list. Press Run Tests to check your work.
def risk_score(likelihood, impact):
# likelihood and impact are whole numbers from 1 (low) to 3 (high).
# The score is likelihood times impact.
return None
def risk_level(score):
# 1 or 2 is "low". 3 or 4 is "medium". 5 or more is "high".
return None
def worst_risk(risks):
# risks is a list like [("Data loss", 2, 3), ("Late finish", 3, 2)]
# Each is (name, likelihood, impact).
# Give back the name of the risk with the highest score.
# If two are equal, give back the one that comes first in the list.
# Give back None for an empty list.
return 0
Make a free account to save your work, or press Start lab to work through the whole lesson.
UK laws that touch a project
| Law | In simple words | What it means for the club tool |
|---|---|---|
| UK GDPR and the Data Protection Act 2018 | Rules for using personal data | Keep only what you need. Keep it safe. Tell people why. |
| Computer Misuse Act 1990 | It is a crime to get into a computer system without permission | Only use the system you are allowed to use. |
| Copyright, Designs and Patents Act 1988 | Makers own their work | Check a licence before you copy code or pictures. |
| Equality Act 2010 | People must be treated fairly | Make the tool usable by people with different needs. |
| Software licences | A licence says what you may do with code or pictures | Read it before you use or share anything. |
| Standards: W3C and ISO/IEC/IEEE 90003:2018 | W3C sets web standards. 90003 is about software quality. | Ask which standards the client expects. |
The cells students fill in are left blank in this preview.
More rules to check
Note
The specification also lists consumer protection, age ratings, advertising, gambling, staff and employment rules, where software may be sold, and system security. Not every rule fits every project. Choose the ones that fit the scenario and say why.
Match the law to the situation
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Task 1 practice: your risk register
Make a risk register for the Hillside waiting list project. Use a table with the columns: Risk, Likelihood, Impact, Score, Level, Mitigation. Write at least six risks. Include at least one about personal data, one about the law or a licence, and one about fairness. Also think about harm done on purpose and by accident, other systems that must work with yours, and time. Add two more columns: Plan B (what you do if it happens) and How I will watch it. Then list two sources you would use, say how reliable each is, and why.
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