Legal is not the same as right
A company can use a tool to find out which customers are sad, and then sell them more things.
It may be legal. Is it right?
Laws say what you must not do. Ethics is about what you should do. In this lesson you judge software by both, and you meet two standards for good work.
Key words
| Word | What it means | Example |
|---|---|---|
| Ethics | Ideas about what is right and wrong. | do not trick users |
| Code of conduct | A written list of how members of a group must behave. | the code of a professional body |
| Professional practice | Working in a careful, honest and skilled way. | testing before release |
| Open source | Software whose code anyone can read, and often use and change. | a free library |
| Licence | Permission, with rules, to use something that somebody else made. | MIT licence |
| Inclusion | Making sure everyone can take part and be treated fairly. | software for people with different needs |
| Standard | An agreed, written way of doing something. | ISO 90003, W3C rules for the web |
| Accessibility | Making software that people with different needs can use. | a text description of each picture |
| Bias | Unfair treatment that favours some people over others. | a tool that works worse for some faces |
The cells students fill in are left blank in this preview.
Dilemmas: what would you do?
Have a go
Dilemmas: what would you do?
4 questionsFour ethics topics for developers
| Topic | The question | Example |
|---|---|---|
| Code of conduct | How must a professional behave? | Be honest, protect the public, respect privacy |
| Professional practice | Is the work careful and skilled? | Test, document, admit mistakes, keep learning |
| Software licensing | Are we allowed to use this code or tool? | Check the licence before you add a library |
| Inclusion and diversity | Can everyone use it, and was everyone thought of? | Different languages, abilities and backgrounds |
The cells students fill in are left blank in this preview.
Codes of conduct
Many professions have a code. For IT in the UK, the BCS (the Chartered Institute for IT) has one. It asks members to be honest and to protect public safety and privacy. It also asks them to keep learning.
A company or a college often has its own code too.
Software licences in plain words
| Kind | What it allows | What you must do |
|---|---|---|
| Proprietary | Use it as the owner says, often for a fee | Do not copy or share it |
| Open source: permissive (for example MIT) | Use, change and share, even in a paid product | Keep the licence notice |
| Open source: copyleft (for example GPL) | Use, change and share | Share your changes under the same licence |
| No licence at all | Nothing. The owner keeps all rights | Ask first |
The cells students fill in are left blank in this preview.
Which licence idea is it?
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Two standards you should know
ISO/IEC/IEEE 90003:2018 is a guide. It helps software teams use the general quality rules of ISO 9001 in their own work.
W3C is the group that writes the standards for the web: HTML, CSS and accessibility rules called WCAG (the Web Content Accessibility Guidelines). A standard helps products work together. It also makes quality easier to check.
Your turn: make the page accessible
This page has four accessibility problems. Find them and fix them. Hints:
- The picture has no text description.
- The input has no label.
- The text is too small and too light to read.
- The button says only "Click here".
Change the HTML and CSS, and look at the preview.
<h1>School trip</h1>
<img src="data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22200%22 height=%22100%22%3E%3Crect width=%22200%22 height=%22100%22 fill=%22%23ccddee%22/%3E%3C/svg%3E">
<p class="note">Sign up before Friday.</p>
<input type="text">
<button>Click here</button>
Make a free account to save your work, or press Start lab to work through the whole lesson.
Unfair software is a design fault
Warning
Many people think software treats everyone the same. It does only if it was built and tested for everyone. A face tool trained mostly on one group of faces can fail for others. A form that needs a "surname" fails people with one name. Ask who it might leave out, and test with a wide group.
Your turn: a team code of conduct
Write a short code of conduct for a student software team of four. It must have at least six rules.
Use at least one rule for each of these topics: honesty respect for other people's work and licences privacy and data accessibility and inclusion testing and quality what to do when you find a mistake
Template:
- We are honest: ...
- We respect other people's work: ...
- ...
Example: "We check the licence of every library before we use it."
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