AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Code it as a team

Week 19 · Unit 8: Be a musician · 3 lessons
3

Coding as a team

Computing 3: Unit 8, pp. 119–134
GoalExplain why working in a team helps when we write programs, and how to work well together.
New words
team · a group of people who work together to do a jobreview · to look carefully at someone’s work to find mistakesnavigator · the team member who reads the algorithm and checks while the other builds
Explanation

A program can be written by one person or by a team. A team shares what its members know, so everyone learns new skills. When the team is stuck, many ideas help to solve the problem. Another pair of eyes can review the code and see a mistake that the builder missed, so there are fewer errors. Working in a team also helps us practise listening, talking and being kind. A good way to work in a pair is for one person, the driver, to build the program and the other, the navigator, to read the algorithm and check each step. Swap roles often.

share skillssolve problemsfind mistakesbe kind
Worked examples
on buttonApressedset volume800play soundgiggleuntil done
Amir and Nodira build a pet box program. The algorithm says “set volume to 80”. Amir is the driver and types 800. Nodira is the navigator. She checks the block against the algorithm and sees 800 instead of 80. The volume only goes up to 255, so 800 cannot be right. They fix it together. A second pair of eyes caught the mistake.
BenefitExample
learn from each otherNodira teaches Amir where the Music group is
solve problemsthey try two ideas for the pause and pick the best one
fewer errorsNodira finds the wrong volume number
social skillsthey take turns and listen to each other
Each benefit of a team has an example.
Instead of …Say …
“That is wrong, give it to me.”“Let’s look at step 3 together.”
“You never listen.”“Can you say that again? I want to understand.”
Kind words make a team work well. Helpful sentences point to the problem, not to the person.
Class activity

Driver and navigator (in pairs): you need a set of block cards that make a short program, plus an algorithm card. One of you is the driver and lays the cards on the table. The other is the navigator and reads the algorithm one step at a time. Before the game starts, the teacher swaps one card for a wrong one. Can the navigator spot the mistake? Swap roles after each step. Afterwards say what helped you most: new ideas, finding mistakes or being kind?

Practice
1
Name two benefits of working in a team to write a program.
2
The algorithm says: show icon house, set volume (80), play sound hello until done. A teammate checks this program. What mistake do they find?
on buttonApressedshow iconhouseset volume8play soundhellountil done
3
Which is the kind and helpful thing to say when a partner makes a mistake? (a) “That is wrong. Give me the mouse.” (b) “Let’s look at step 3 together.”
4
In pair coding, what does the navigator do?