Ethics and the computing professional
Ravi is writing an app that reminds people to take their medicine. If he hides a fault, someone could miss a dose. A computing professional’s decisions affect many people, so the profession sets out a duty to each group. Ethics are the principles of right and wrong that guide how a person acts.
Who a computing professional has a duty to
Many people depend on one professional’s work. Be able to name a group and give one duty to it.
Why a profession needs ethics
A profession turns ethics into a code of conduct for its members. Be able to give its purposes.
What a code of conduct is for
- Sets out good practice: written rules staff can check when a decision is hard
- Tells staff what is expected of them, and the consequences if they break the rules
- Keeps the workplace safe, respectful and professional for everyone in it
- Clients see that staff behave well, so the organisation keeps its reputation and the public’s trust
Action and effect: Ravi's medicine-reminder app
A code of conduct only matters when it changes what someone does at work. Be able to pair an ethical action with its effect on the people affected.
| Ravi's action on DoseDay | Effect on the people affected |
|---|---|
| Gives and accepts critique of the medicine-reminder code | team-mates find faults early and improve the product together |
| Tests reminders with users' health and safety in mind | reduces the risk of a user missing or doubling a dose |
| Makes honest, realistic claims about the app | users can make informed decisions and maintain trust |
Acting unethically looks like this
1 A developer knows a fitness app overcounts steps, but its advert says the count is accurate. Which group is let down, and which duty is broken?
2 A team leader shows a junior’s design to the client as her own work. Which duty is broken?
3 Give two reasons a profession sets out a code of conduct.
- 1the public (the app’s users): the duty to make honest, realistic claims; users rely on a count that is wrong
- 2the duty to colleagues: credit their work, so they feel valued
- 3any two: it sets out good practice for hard decisions; it tells staff what is expected and the consequences; it keeps the reputation and the public’s trust
Joining a professional ethical body
A professional working alone has no one to ask when a decision is hard. Professional ethical bodies, such as the BCS (British Computer Society) and the IEEE (Institute of Electrical and Electronics Engineers), set codes of conduct and support their members.
What membership gives a computing professional
Membership costs a fee and time, so it has to give something back. Be able to give each benefit as a pair: what the body provides, then the result for the member.
| The body provides | Result for the member |
|---|---|
| Code of conduct | written standards guide hard decisions and show clients the standards being applied |
| Entry requirement, where used | recognises competence, so clients know the member's skills have been assessed |
| Help and support | access to legal advice if a client makes a claim |
| Training courses | skills stay current as tools and languages change |
| Networking | contacts can lead to jobs and projects |
Each body publishes its own code under a few headings. Many of them name the same groups a professional owes a duty to: the public, clients and the profession.
BCS code of conduct: four headings
Public interest · professional competence and integrity · duty to relevant authority · duty to the profession
IEEE / ACM software engineering code: eight principles
Public · client and employer · product · judgement · management · profession · colleagues · self
Turn the benefits round and they become risks for someone who works without a body.
Tomás goes freelance without membership
- If a shop makes a legal claim, he has less access to the body's legal advice.
- Fewer networking opportunities can mean missed contacts and jobs.
- Less access to the body's training makes keeping skills current harder.
- Without its written guidelines or people to discuss a hard choice with, he risks an unethical decision and possible legal consequences.
1 Mei, a freelance developer, is offered a contract that uses a database tool she has never used. Give one way membership of a professional body could help her.
2 Why might a client choose a developer who passed a body’s entry exam?
3 Give one risk for a developer who works without membership.
- 1its training courses let her learn the tool, so her skills stay current; or its code tells her to accept only work within her competence
- 2the exam recognises the developer’s skills, so the client can see they are competent and reputable
- 3for example: no legal advice if a client makes a claim; fewer contacts for new work; no written guidelines for a hard choice
Acting ethically or unethically
Dana, a tester, finds that a payroll app rounds some wages down, just before it is released. Saying nothing would be easier. Acting ethically means deciding what is right in that situation, then seeing the impact of acting ethically or unethically on the people affected.
One situation, two choices
Read across: the situation, the choice, then its impact on the people affected.
Apply the same thinking to other situations
Ethical problems at work come in many shapes, but each can be worked through the same way. Be able to give the ethical action for a situation and its impact.
| Situation | Acting ethically | Impact |
|---|---|---|
| A junior must fix a database in a language they have not used | tells the team lead; asks for a walkthrough or a mentor; reads up and practises on a copy | works within their competence, so fewer errors |
| A clinic’s booking system must ship two weeks early | lists the untested features for the manager; tells the client honestly | the client is not misled; reputation kept |
| A student uses the library’s shared computers | follows the library’s rules; uses them only for study; does not open others’ files (privacy), hack, copy work or cyberbully | other users and their data stay safe |
A junior must fix a database in a language they have not used
| Acting ethically | Impact |
|---|---|
| tells the team lead; asks for a walkthrough or a mentor; reads up and practises on a copy | works within their competence, so fewer errors |
A clinic’s booking system must ship two weeks early
| Acting ethically | Impact |
|---|---|
| lists the untested features for the manager; tells the client honestly | the client is not misled; reputation kept |
A student uses the library’s shared computers
| Acting ethically | Impact |
|---|---|
| follows the library’s rules; uses them only for study; does not open others’ files (privacy), hack, copy work or cyberbully | other users and their data stay safe |
Every row was worked out in the same order, so the same three steps fit any situation you meet.
Answer in three steps
1 An app’s owner tells a developer to collect users’ locations without telling them, to sell to advertisers. What should the developer do, and what is the impact?
2 A tester is asked to sign off a game’s tests that she has not run. What is the ethical action?
3 In question 2, give one impact on the players if she signs anyway.
- 1refuse, and tell the owner that users must be told and agree first; users’ privacy is protected and they keep their trust in the app
- 2say honestly which tests have not been run and run them before signing
- 3a fault no one tested for can reach players: the game crashes or loses their progress, and they lose trust in the studio
Copyright legislation
A program can take months to write and seconds to copy. Copyright gives the creator of an original work, such as a program, image or music, legal ownership of it. Work written as part of a job normally belongs to the employer. Copyright protects the work, not the idea.
Follow the arrows from the creator: the copyright holder decides who may use the work under a licence, and an unauthorised copy can lead to legal action.
Why copyright legislation is needed
Without copyright, anyone could copy a program and sell it as their own. Be able to give a reason and its result: read each row across.
| Copyright legislation is needed because… | so that… |
|---|---|
| a program takes months of time and effort | the creator can earn from each copy |
| a file can be copied in seconds, at no cost | a copy made without permission is unauthorised |
| others could sell copies and keep the money | the owner can sue (redress): legal consequences |
| two people claim to own the same code | the owner has formal recognition |
| a rival could copy the code into its product | the owner can prevent copying that protected code into a competing product |
Copyright is not the same as a licence
Copyright says who owns the work; a licence says what everyone else may do with it.
| Copyright | Software licence | |
|---|---|---|
| What it is | who owns the work, by law | a legal agreement: what a user may do, and how |
| Buying software | the copyright holder still owns the program | the buyer may do only what the licence allows |
- Kestrel Studio owns the code of its puzzle game Tilt.
- A buyer receives permission to use it under a licence; buying a copy does not transfer Kestrel's copyright.
- Another studio may create its own code for a similar idea.
1 A student copies a paid photo-editing app and sells the copies online. What has the student done, and what can the owner do?
2 Sam buys a racing game. Who owns its copyright?
3 A rival studio writes its own code for a game with the same idea as Tilt. Has it broken Kestrel’s copyright? Give the reason.
- 1made and sold unauthorised copies, breaking copyright law; the owner can take legal action (redress) and claim the money lost
- 2the studio that made it: Sam has only a licence to use it
- 3no: copyright protects the work (the code), not the idea
Types of software licence
Buying a game does not make it yours to copy or change: the studio still owns it. What you get is a software licence, a legal agreement between the owner and the user that says what the user may do with the software, and on what terms. The licence, not the price, sets those rights.
Each box shows what the user receives, the program alone or with its source code, and when they pay.
From the description, identify the licence
Each description holds one clue, such as a trial, withheld code or the freedom to share. Be able to name the licence from it.
| Description given | Licence to identify |
|---|---|
| Source code supplied; users can change and redistribute it under the licence's terms | Open Source Initiative or Free Software Foundation |
| Freedom to use, edit and share; not necessarily free of charge | Free Software Foundation |
| A trial period or limited features before payment may be required | Shareware |
| A fee is charged; source code is withheld; no free trial is offered | Commercial |
The four types of licence
The licence decides what you may legally do with software you did not write. Be able to describe each licence: what the user may do with the code, and what they pay.
Free Software Foundation
- Source code supplied: users may run, change and share it under its licence's terms
- Free means freedom, not price: a fee may be charged
- If copyleft applies, redistributed changes must follow its same-licence condition
Open Source Initiative
- Source code supplied; users may copy, change and pass it on
- Copies and changes follow the licence’s terms
- Supports collaborative development; a fee may still be charged
Shareware
- Free to try for a set time (trial period) or with fewer features; then the user pays
- No source code; the user may not legally change it
- The trial version can be passed on to others
Commercial
- Sold for a fee: this describes its business model
- A proprietary commercial licence keeps the source private and restricts modification and redistribution, protecting the developer's intellectual property
- A proprietary licence may limit installations; support and updates are usually provided
1 A photo app can be used for 30 days; after that the user must pay to keep using it. Which licence is this?
2 A spreadsheet program is sold for a fee. Users get no source code and may not change it. Which licence?
3 A chess program comes with its source code; anyone may change it and pass it on under the licence’s terms. Which licence could it be?
4 Is freeware the same as free software? Give the reason.
- 1shareware: a trial period before payment
- 2commercial: a fee is charged and the source code is withheld
- 3Open Source Initiative or Free Software Foundation: the source code is supplied and may be changed and redistributed
- 4no: freeware means free of charge; free software means freedom to use, change and share the code, and may be sold
Choosing and justifying a licence
A developer releasing a tool must decide what users may do with it, and whether they pay. Decide the permissions the scenario needs first: source-code access and the right to modify it are separate from whether the developer charges a fee.
Answer the source-code question first; only closed-source software then splits on how users pay.
Why a developer chooses each licence
A licence is the right choice only when its benefits fit what the developer wants. Be able to give benefits that back the licence you chose, in the scenario’s terms.
| Licence | Benefits of distributing software this way |
|---|---|
| Open source | users report and fix faults, customise the code and add features, working together (collaboration) |
| Shareware | no initial cost, so more people try it and tell others; testers on many kinds of computer report bugs and give feedback; those who like it buy it |
| Commercial, proprietary | a paid licence gives the developer an income; its terms keep the source private and restrict unauthorised copying; support and maintenance help customers |
A reason fits only when it comes from what the scenario needs. A food bank that must change a tool needs its source code.
Source access for a food bank’s tool
A food bank needs to add its donor-record format to a freelancer’s stock tool.
- An Open Source Initiative or Free Software Foundation licence supplies source code, so volunteers can adapt the tool.
- The licence can still permit the developer to be paid for updates: access and price are separate.
- Closed-source shareware allows a trial but supplies no source code to modify.
1 A school’s computing club writes a timetable app and wants other schools to fix and improve it. Choose a licence and give a reason that fits.
2 A one-person studio sells a drawing app for its income and does not want rivals to copy its code. Choose a licence and give a reason.
3 A new budgeting app is unknown. Its developer wants many people to try it before anyone pays. Choose a licence and give a reason.
- 1Open Source Initiative or Free Software Foundation: the source code is supplied, so other schools can fix faults and add features, working together
- 2commercial (proprietary): each sale gives the studio an income, and the source stays private, so rivals cannot copy it
- 3shareware: there is no initial cost, so more people try it and tell others; those who like it pay after the trial
AI applications: recognising images
A parcel depot handles thousands of labels an hour, far too many for people to read. Software can do it with artificial intelligence (AI), where a computer does tasks that would need human intelligence, such as spotting patterns in images and sound, understanding language, solving problems and learning.
How a parcel depot reads a delivery label
Follow the numbered steps. Be able to name each technique and say what it does with the pixels.
Facial recognition: match features to a stored person
More applications of AI
Most AI systems follow one pattern: they take something in, recognise it, then act. Be able to say what the AI senses or recognises in each, and what it then does.
| Application | How AI is used |
|---|---|
| Smart doorbell | tells a person from a parcel or a pet; records and alerts the owner only for a person |
| Photo app on a phone | finds faces by their pixel patterns; groups the photos by person |
| Self-driving car | senses lanes, signs and traffic; steers and brakes to avoid collisions |
| Game characters | respond to what the human player does |
1 In the figure, which stored pattern is the second-closest match, and how many pixels match it?
2 If the camera had captured the character with no noise, how many of its 35 pixels would match “B”?
3 A phone groups photos by the person in them. Name the AI technique and say what it compares.
4 A self-driving car sees a stop sign. Give what its AI recognises and the action it takes.
- 1“8”: 31 of 35 pixels
- 2all 35: the captured grid would be the stored “B”
- 3facial recognition: it measures the distances between features (eyes, nose, mouth) and compares them with stored values to find the most probable match
- 4it recognises the sign from its shape and colour, then brakes to stop
AI applications: language, games and learning
Hearing words is not the same as understanding them. Language AI turns sound or text into meaning, so a lift can act on a spoken floor number. Game-playing AI looks ahead, and it can learn from the games it loses.
A lift that obeys a spoken floor number
A chain of four stages. Be able to give them in order and say what each one passes on.
Reading a caption aloud in the visitor’s language
Another chain, starting from a photo instead of sound, with a translation step before the speech.
Playing a game, and learning from it
Follow the loop round: each result is stored and changes the next choice.
The card-game opponent's stored knowledge
- It stores the rules, its past choices and their results.
- It is trained by playing many games.
- It uses that knowledge to look ahead and choose a card likely to succeed.
1 Put the lift’s stages in order: natural language processing, action and reply, sound recorded, speech recognition.
2 A smart speaker hears “lights off”. Which stage works out what the words mean?
3 A chess program lost the last three games after one opening move. How does a learning AI use this?
- 1sound recorded → speech recognition → natural language processing → action and reply
- 2natural language processing: it matches the recognised words against known commands
- 3it has stored that the move led to losses, so it changes its choice and plays that move less
Impact of AI: social and ethical
A camera that lets fans into a stadium faster can also turn away the wrong person. Most AI applications have both positive and negative impacts. Social impacts are effects on people and how they live, learn and communicate; ethical impacts concern what is right or fair, such as privacy.
Build each impact the same way
“Privacy concerns” on its own is only a label. An impact says something once you add why it happens and who it happens to.
Impacts in four scenarios
The same AI system can help some people and harm others. Be able to give a positive and a negative impact for a scenario, each on the people in it.
| Scenario | Positive impact | Negative impact |
|---|---|---|
| Facial recognition at a stadium turnstile | fans get in faster; banned fans are spotted, so others feel safer | a mistaken match can refuse entry to a ticket holder; fans may not want their faces stored |
| An app that reads bus timetables aloud | helps people who find reading hard, read another language, or have a visual impairment | a wrong time read out can make a user miss a bus |
| An AI maths tutor that logs every pupil’s answers | pupils who are stuck are spotted early and get work at their level | privacy: pupils feel watched; logs may go to third parties; the pressure can cause stress |
| AI that marks essays and suggests changes | quick feedback at each student’s own pace, so they redraft sooner | less practice at problem-solving for themselves; a wrong mark misleads; students without devices fall behind (digital divide) |
Facial recognition at a stadium turnstile
| Positive impact | Negative impact |
|---|---|
| fans get in faster; banned fans are spotted, so others feel safer | a mistaken match can refuse entry to a ticket holder; fans may not want their faces stored |
An app that reads bus timetables aloud
| Positive impact | Negative impact |
|---|---|
| helps people who find reading hard, read another language, or have a visual impairment | a wrong time read out can make a user miss a bus |
An AI maths tutor that logs every pupil’s answers
| Positive impact | Negative impact |
|---|---|
| pupils who are stuck are spotted early and get work at their level | privacy: pupils feel watched; logs may go to third parties; the pressure can cause stress |
AI that marks essays and suggests changes
| Positive impact | Negative impact |
|---|---|
| quick feedback at each student’s own pace, so they redraft sooner | less practice at problem-solving for themselves; a wrong mark misleads; students without devices fall behind (digital divide) |
1 A supermarket uses AI cameras to spot shoplifters. Give one positive and one negative impact on shoppers.
2 A hospital chatbot answers patients’ questions at night. Give one positive and one negative impact on patients.
3 Which of these is not a social or ethical impact of an AI tutor: pupils feel watched; the school saves money; pupils without devices fall behind?
- 1positive: less theft, so shoppers feel safer; negative: shoppers are filmed and analysed without being asked (privacy), and a wrong match can wrongly accuse an innocent shopper
- 2positive: patients get an answer at once, at any hour; negative: a wrong answer could make a patient delay treatment, and their health data may be stored
- 3the school saves money: that is an economic impact
Impact of AI: economic and environmental
An AI that plans delivery routes saves a firm money, but the computers that run it use electricity and one day become waste. Economic impacts concern money: costs, income, profit and jobs. Environmental impacts concern resources, energy and waste over the whole life of an AI system.
Economic impact
Saying that AI saves money does not show how it does. Be able to develop each impact into a chain: cause, then its effect on costs, income or jobs.
| Economic impact | Expansion (Swiftbox, a delivery firm’s route AI) |
|---|---|
| Costs fall | Swiftbox's shorter routes use less fuel and fewer driver hours |
| Profits rise | Swiftbox's vans deliver more parcels a day, increasing income relative to costs |
| Lower prices | savings passed on, so the firm wins customers |
| Margins fall | the software licence and its updates are costly |
Jobs and skills
- Some jobs are replaced by AI and robots
- New jobs: building and maintaining AI
- Workers need new skills: retraining costs
- Robots can do hazardous work, so fewer people are put at risk
Environmental impact, from materials to waste
Four stages in the life of an AI system. Be able to name the cause of an impact at each.
One worn-out device makes little waste; a whole fleet multiplies it.
A fleet of self-driving taxis: the disposal chain
- Across hundreds of taxis, sensors, batteries and computers wear out or become outdated.
- Replacing them creates electronic waste and needs more materials for new devices.
1 A warehouse replaces its pickers with robots. Give one economic impact on the firm, as a chain.
2 Give one economic impact on the warehouse’s workers.
3 A company trains a large AI model on thousands of computers for weeks. Give one environmental impact and its cause.
4 Old robots from the warehouse are thrown away. Which life-cycle stage is this, and what is the impact?
- 1robots work without breaks → more orders picked each hour → lower costs per order and higher profit (after the cost of buying the robots)
- 2some pickers lose their jobs; others need retraining to maintain the robots
- 3the computers use a lot of electricity while training, and producing it can mean more emissions
- 4disposal: the robots become electronic waste, which can harm the environment