Ethics & Ownership
1. What is Ethics?
Example: respectful and considerate behaviour.
- Everyday ethics = how to eat, talk, communicate — they vary from family to family and religion to religion (e.g. in Japan there are very strict etiquette rules: how to sit with a senior, apologising if you start eating first).
- Computing has advanced so much that the field needs its own rules to keep things under control ⇒ ethics of computing.
- Different companies make their own ethics, but in computer science everywhere you work we use the 8 IEEE Code of Ethics.
2. The 8 IEEE Code of Ethics
IEEE = Institute of Electrical and Electronic Engineers — the body that wrote the rules. The 8 rules are for software developers to be ethical in their work. When you start a new job the company makes you sign its code of conduct (agree: yes / no).
| # | Code | Rule (board wording) | Sir's meaning / example |
|---|---|---|---|
| ① | Public | Developer must act consistently with the public interest. | Act as the public would want. e.g. client asks for an app promoting wine culture in Pakistan → first ask: is it consistent with public interest? |
| ② | Client & Employer | Developer must act in the best interest of their client and employer, consistent with the public interest. | Find out what client/employer needs and fulfil it — but don't look only at the client; check public interest too. |
| ③ | Product | Software engineers should ensure their product meets the highest professional standard. | Any app you create must meet professional standards — e.g. an app with poor visuals that doesn't meet the standard = unethical. |
| ④ | Profession | Software engineers shall advance the integrity and reputation of the profession, consistent with public interest. | Integrity = no cheating / shortcuts. e.g. stuck on a loop in client's code and showing it to a friend ⇒ against integrity — never expose company code to anyone. |
| ⑤ | Judgement | Software engineers should maintain integrity and independence in their professional judgement. | Judge people's work fairly. e.g. judging code by you, Munim and Muhammad — if you favour a relative with bonus/accommodation ⇒ unethical. |
| ⑥ | Management | Software engineer managers should promote an ethical approach to the management of software development and maintenance. | Managers must promote ethics while software is being developed and maintained: treat colleagues well, keep integrity. |
| ⑦ | Colleagues | Software engineers should be fair and supportive to their colleagues. | Don't exploit juniors — e.g. senior makes the intern do everything while he relaxes on full salary. Ethical: give some work, teach, support, help them grow. |
| ⑧ | Self | Software engineers shall participate in life-long learning regarding the practice of their profession. | Keep learning as technology advances (CS, law, doctorate…). e.g. full-stack dev (HTML, CSS, JS, .NET, React) learns blockchain / AI → boosts the company. |
3. Ethics Exam Questions
Sir: these are common-sense questions — write sensible, relevant points; each point earns a mark.
- Keeps client's personal data private — e.g. client gives card info / password / email to buy a domain name: never use or share it, keep it safe.
- Involve the client in development — client wants an e-course website (LMS) → don't just go build a "YouTube"! Show each stage: "stage done, check it, ask for changes now".
- Provide the solution that the client asked for — work on what the client says.
- Keep the project running on time — deadline given (e.g. 15 September) must be met; submit on time.
- Keep the client informed — tell them which stage you've reached.
- Read about the language that he/she will be using
- Visit the office prior to starting
- Speak to her manager about concerns
- Prepare an introduction
- Invite the developer before starting
- Introduce the developer to the team
- Prepare a greeting
- Provide structured support
- Invite the developer to social events
- To confirm that the developer understands the code of conduct
- To make sure what behaviour is expected from the developer
- To make the developer understand there may be consequences of some actions
- To ensure all employees adhere to the same standard
4. BCS Code of Conduct
BCS = British Computer Society — another professional body with its own code. Four principles (from the board):
5. Ownership — Copyright
• Protects against unauthorised reproduction of work
• Provides for legal right of redress
- Legal rights: I make a video; someone downloads it and re-uploads it on their channel without credit or permission and puts ads on it. I own the content, so I can make a copyright claim → they must remove it. 2–3 claims can even get their channel banned.
- Unauthorised reproduction: don't give my work to others ⇒ copyright protects me. Same for music: either seek permission or don't monetise (monetise = ads / earning money).
- Redress = compensation for the wrong done. e.g. a news channel used a person's drone footage → owner claimed copyright → channel paid $500 for it.
6. Software Licensing
When you create software it is released under a licence. 4 types: ① Commercial · ② Free software · ③ Shareware · ④ Open source (e.g. MS Word = commercial; OneNote on Windows 10 = free).
① Commercial licence
• Source code NOT provided — only the compiled program
• Anyone can purchase / download if they agree to the terms
• Limited number of installations (e.g. one device per key)
• Software key needed to install (= product key)
• Retains copyright (ownership stays with them)
• So the software cannot be distributed by a third party
• Redress available if software doesn't work correctly (refund / replacement)
• Likely to have fewer bugs (bug = problem in software)
② Open-source licence
• User can edit the source code to suit their needs
• User can re-release their version under the same terms
• Can be cost-free but may also need payment
e.g. user removes a logo or adds extra features by editing the code, then re-releases it. Examples: Mozilla Firefox, Linux, Apache web server.
③ Shareware licence
• No access to source code
• The user has to pay after the expiry date
• without paying a fee if it does not
④ Freeware (free software) licence
• The software could be copyrighted
• Modification, redistribution is prohibited without permission
e.g. YouTube videos: free to download, no fee, but still copyrighted — you can't modify them or redistribute them (like the drone footage given to the news channel, who got a claim). (Board lists "Free Software" as ② and "Freeware" in the question — same thing.)
| Licence | Fee? | Source code? | Modify / redistribute? | Key point |
|---|---|---|---|---|
| Commercial | Yes | No | No | restricted use, key, limited installs |
| Open source | Free or paid | Yes (with program) | Yes — same terms | edit + re-release |
| Shareware | After trial | No | — | free trial (maybe limited), pay on expiry |
| Freeware | None | No | Prohibited w/o permission | free but still copyrighted |
7. Artificial Intelligence
- Human intelligence = using our brain to do tasks: clicking a button, driving, playing chess, noting sensor values, raising an alarm.
- Make a computer / robot do the same tasks ⇒ artificial intelligence (artificial = self-made, a replication of human intelligence).
- Paper 1 asks two things: Impacts of AI and Applications of AI (deeper AI is in Paper 3).
Impacts of AI — social · economic · environmental
Every industrial revolution (guns, motors…) has both positive and negative impacts. AI is the next revolution — so we study both and prepare. (Syllabus reason!)
| Impact | Positive (+) | Negative (−) / risk |
|---|---|---|
| Social (Easier life) | Daily life easier and more efficient (e.g. email/WhatsApp vs letters). Repetitive or dangerous tasks (e.g. factory packaging) done by AI ⇒ frees the human workforce for creative work. | — (see economic row: people must change what they do) |
| Economic (Economic crisis) | For every job lost, ~10 new ones open (e.g. email killed letter delivery but created many email jobs). New fields: data science, machine learning, data analyst/scientist, creating algorithms, maintenance, creative jobs. | Jobs disappear — drivers, call centre, customer support, factory work, maybe even pilots. If you don't adapt ⇒ economic crisis. |
| Environmental (Monitoring and control system) | Monitor global warming, flood detection (water level rising → pre-planned alert), agriculture (measure soil pH, learn correct fertiliser amounts from past mistakes). | Carbon emissions: running systems needs electricity made by burning fossil fuels (positives outweigh). |
Applications of AI — the answer pattern
① Police identifying wanted people
- Uses image recognition
- to identify features in an image
- (newer: crime-identification cameras notice suspicious actions, e.g. reaching for a pocket → alert police)
② Self-driving cars
- Directs its position on the road and within the traffic
- Follows a route, collision avoidance and self-parking
③ Game playing
- Models characters in a computer game
- to allow computer characters to react according to the player's movement
- The rules, past moves and decision-making algorithms of the game will be stored
- The AI program is trained by playing many times
- AI will look ahead at possible moves
- and analyse the pattern for past choices
- and choose the move most likely to be successful
- Computer could learn how to improve from previous mistakes
- by storing positive / negative results of choices
- and changing its future choice
- Machines can learn from past problems
- They can adapt to stop the same problem occurring again
- They can learn to predict what might happen and raise an alert
- Machines can learn how to work efficiently
- When an action slows the system down, it can prevent this happening again
- When an action increases the speed of the system, it can repeat this when necessary to improve the efficiency
8. Quick Recap — Cheat-Sheet
- Ethics = system of moral principles guiding behaviour (philosophical + religious). e.g. respectful, considerate behaviour.
- IEEE 8: ① Public ② Client & Employer ③ Product ④ Profession ⑤ Judgement ⑥ Management ⑦ Colleagues ⑧ Self
- BCS 4: Public interest · Professional competence & integrity · Duty to relevant authority (not absolute) · Duty to the profession
- Best interest of client: keep data private · involve client · give what's asked · on time · keep informed
- Code of conduct signed: understands · expected behaviour · consequences · same standard for all
- Copyright = formal & legal rights to ownership · protects against unauthorised reproduction · legal right of redress
- Commercial: restricted use · no source code · buy/download if you agree terms · limited installs · key. Owner: fee, keeps copyright, no 3rd-party distribution. Customer: better support, redress, fewer bugs.
- Open source: code with program · edit · re-release same terms · free or paid
- Shareware: free trial (maybe limited) · no source code · pay after expiry. Customer: check it works, no fee if it doesn't.
- Freeware: no fee · could be copyrighted · no modification/redistribution without permission
- AI = computer (or computer-controlled robot) doing tasks usually done by humans because they need human intelligence
- Impacts: easier life (repetitive/dangerous tasks → frees workforce) · economic crisis (jobs lost, new ones → adapt) · environmental (monitoring & control)
- Applications: police image recognition · self-driving cars (route, collision avoidance, self-parking) · game playing (characters react to player)
- Answer pattern: store rules/past data → train many times → look ahead → learn from past mistakes (+/− results) → change future choice → efficient
- 3-mark "describe application": 1 identify + 2 how AI is used