Week 12 · Unit 5: Be a computer scientist · 3 lessons
2
Skills and teamwork
Computing 4: Unit 5, pp. 62–73
GoalDescribe the skills that nearly all computer scientists use, and explain why they work in teams.
New words
decomposition · breaking a big problem into smaller, easier problemsteam · a group of people who work together on the same jobsolution · an answer to a problem
Explanation
Almost every computer scientist does three things. First, they look at a problem and decide how it can be solved. Second, they break it into smaller parts that are easier to solve. This is called decomposition. Third, they work in a team. The other team members may not know much about computing. They may be artists, nurses, farmers or shop managers. So a computer scientist must explain ideas in clear, simple words. A good team shares ideas and checks each other’s work.
look at the problem→break it into parts→work in a team
Worked examples
A team makes a reading game for children. The programmer writes the program. The artist draws the pictures. The teacher knows which words children need to practise. The children try the game and say what is hard.
Decomposition: the big problem “make a reading game” is broken into four smaller parts. Each part can be solved on its own and then joined to the others.
Hard words
Clear words
The software stores each user’s score in a database.
The game remembers each player’s score.
The program iterates until the condition is true.
The program keeps repeating until a thing happens.
Computer scientists must explain things in words that everyone understands. Look at the same idea said in two ways.
Class activity
Be the team (in a group of three or four): your problem is “a game that teaches the days of the week”. Each person takes a job: programmer, artist, teacher and tester. First, decompose the game into three or four smaller parts on a big sheet of paper. Then each person says what they would do for each part. Finally, the programmer must explain the plan to the others without using any hard computer words.
Practice
1
A team is making a game about the planets. Name two people who could join the computer scientist and say what each one would do.
Answers vary. For example: an artist draws the planets and a science teacher checks that the facts are right.
2
Use decomposition: break the problem “make a talking weather clock” into three smaller parts.
For example: find out the weather, show the time on the clock, make the clock say the weather out loud.
3
Say it in clear words: “The app sends each photo to a server for storage.”
For example: The app keeps your photos safe on another computer.
4
A team makes a counting game for six-year-olds. Why should some six-year-olds test the game before it is finished?
They show the team what is too hard, too easy or confusing, so the team can fix it before everyone uses the game.