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

Change the story

Week 15 · Unit 6: Be a storyteller · 3 lessons
2

Fix the conversation

Computing 3: Unit 6, pp. 93–104
GoalOrder and time the blocks so that two characters talk in turns, and make the talk faster.
New words
conversation · two or more characters speaking to each otherin turns · one after the other, not at the same timetiming · when things happen, and for how long
Explanation

Two characters talk in turns when one speaks while the other one waits. Each character says a line for a number of seconds. The second character must wait for as long as the first one speaks. If both start on the green flag with no wait, they speak at the same time and the words cover each other. The fix is to add a wait block in front of the second character’s first line. To make the talk faster, make the say blocks and the wait blocks shorter. Change all of the numbers, or the characters will get out of step.

FisherwhenclickedsayAny fish today?for2secondswait2secondssayI will wait.for2secondsSeagullwhenclickedwait2secondssayNot yet!for2secondswait2secondssayMe too!for2seconds
Worked examples
Wrong: no waitwhenclickedsayNot yet!for2secondsRight: a wait firstwhenclickedwait2secondssayNot yet!for2seconds
The Fisher and the Seagull both start on the green flag. If the Seagull had no wait block, both would speak in the first 2 seconds. With wait (2) seconds in front, the Seagull starts speaking just when the Fisher stops.
Seconds0 to 22 to 44 to 66 to 8
Fisherspeakswaitsspeaks–
Seagullwaitsspeakswaitsspeaks
Look at the timeline of the Fisher and Seagull program. They never speak at the same time. The whole talk lasts 8 seconds.
Seconds0 to 11 to 22 to 33 to 4
Fisherspeakswaitsspeaks–
Seagullwaitsspeakswaitsspeaks
To make it faster, change every number from 2 to 1. Then each line lasts 1 second and the whole talk lasts 4 seconds. Seven numbers must change: three in the Fisher script and four in the Seagull script.
Class activity

Talking puppets (with a friend): each of you makes a puppet from a paper bag or a sock. One puppet says “Any fish today?” for 2 seconds, then the other waits 2 seconds before replying. Count the seconds aloud, or use a clock. Do you finish with no overlap? Now make the talk twice as fast, with every line and wait lasting 1 second. Which numbers did you change? If you have a computer or tablet, build the two scripts in Scratch and click the flag.

Practice
1
Both of these scripts start when the green flag is clicked, so both speak in the first 2 seconds. What do you add to fix it, and where?
FisherwhenclickedsayAny fish today?for2secondsSeagullwhenclickedsayNot yet!for2seconds
2
Amir says a line for 2 seconds, then Lola says a line for 3 seconds, then Amir says a line for 1 second. How long does Lola wait at the start? How long does Amir wait between his two lines? How long is the whole talk?
3
At what second does the Seagull say “Me too!” in the Fisher and Seagull program?
Seconds0 to 22 to 44 to 66 to 8
Fisherspeakswaitsspeaks–
Seagullwaitsspeakswaits?
4
Every number in the Fisher and Seagull program is changed from 2 to 3. How long does the whole talk last now?