☰ Year plan · Communication Technology

Operating systems and computer languages

Week 7 · Theme 1, Lesson 7 Operating Systems · 3 lessons
2

Open or closed: who can change the code?

ICT P6 Term 1, Theme 1: pp. 34–37
GoalExplain open and closed code and say what special systems are for.
New words
code · the instructions that tell a computer what to doopen source · the code can be read and changed by anyoneclosed source · only the maker can see and change the codeupdate · a newer version that fixes problems or adds features
Explanation

The instructions inside an operating system are called code. Some codes are open source: anyone may read them and, if they know how, change them to make something better. Think of a recipe on the kitchen wall that everyone may read and improve. Other codes are closed: only the maker can see and change them, like a secret family recipe. Both ways have supporters. With open code many people can find mistakes. With closed code one company is responsible for fixing them. There are phone systems of both kinds, and they do the same basic jobs: messaging, browsing the web, video chat and touch. So the code does not decide what you can do every day. Some computers do special jobs and have their own special system: one kind is used to build programs for robots, and another kind runs a self-driving car. We do not use names here, only kinds. If you want to know which kind your own devices use, ask a grown-up; the answer is simply ‘a computer system’ or ‘a phone system’.

Open sourceClosed source
Who can read the code?anyoneonly the maker
Who can change it?anyone who knows howonly the maker
Like…a recipe on the wall for everyonea secret family recipe
Worked examples
many readersfind a mistakefix
A group of volunteers read the open code of a phone system, find a small mistake and send a fix. Many people can look, so the mistake is found sooner.
companyclosed codeupdate for all
A company makes closed phones. Only its engineers see the code. When there is a problem, the company sends an update to everyone. One team is responsible.
self-driving carrobot
A self-driving car is a computer on wheels. It needs a special system for sensors and for steering. Another special system helps engineers build and test the programs of a robot.
Class activity

Match the descriptions. Write on paper strips: (1) ‘Everyone may read my code’; (2) ‘Only my maker can change my code’; (3) ‘I run a car that drives itself’; (4) ‘I run the computers in a school lab’. Match each to: open source, closed source, special system, computer system. Compare with a partner.

Practice
1
What is code?
2
Open source or closed: ‘Anyone may read and change the code.’
3
Which one is like a secret family recipe? Say the letter.
AB
a recipe on the wall, everyone can reada recipe kept in a locked box
4
Do open and closed phone systems both send messages?