Byte by Byte › Book 5: Games, Spreadsheets and Networks › Chapter 13: Revision: Let's Remember
Chapter 13: Revision: Let's Remember
You will learn: nothing new! This chapter checks everything from Chapters 1 to 12 through six challenge stations. Answers are at the back.
🌟 The Adventure
The closing ceremony of the Memunic Games was held at sunset in the stadium. Every village sat together for once: frogs beside penguins, rabbits beside hedgehogs.
The Queen stepped forward. "These Games nearly failed six times," she said. "Our games could not keep score. Our scorekeeper was buried in paper. Our Light Bridges jammed. A trickster tried to steal our gates. And our own Judge was unfair. Each time, the problem was solved by learning, not by luck."
She turned to Simbha. "Guardian, the Games have a tradition. Before the medal of the Games is given, the winner must walk the Guardian's Trail."
Simbha bowed and pointed to six glowing archways around the stadium track, one for each part of the Games. "Six stations, Memoon," he said. "Show us what you've learned. And," he added with a wink at you, the reader, "anyone else who has been following along is welcome to walk them too."

Station 1: Thinking Like a Programmer (Chapter 1)
- Name the four pillars of computational thinking.
- Match each pillar to an example: (a) a map of the Light Bridges that shows only stations and lines; (b) splitting run the Games into Sport, Arcade, Scores, Communication and Safety; (c) noticing that every arcade game needs a score, lives and an ending; (d) the steps for packing results into packets.
- Draw a three-level decomposition tree for Build a Scratch game where a dog collects bones and avoids cats. Number the leaves in the order you would build them.
Station 2: Game Code (Chapters 2 to 6)
- Complete the trace table:
set [coins] to (5) set [lives] to (3) change [coins] by (10) change [lives] by (-1) set [coins] to ((coins) * (lives))
| Step | coins | lives |
|---|
1
2
3
4
5
- What is the difference between a for all sprites variable and a for this sprite only variable? Give an example of each from a game.
- A player loses all three lives the moment they touch an enemy. What is the bug, and how do you fix it?
- Write the condition for: the game ends if time runs out or the score reaches 50.
- Should you use a key event or polling for (a) moving a spaceship smoothly, (b) firing one laser per press?
- Write a validation loop that only accepts the answers yes or no.
- What does create clone of [myself] do? Which hat block starts a clone's scripts? Why must clones be deleted?
- A list planets holds Mercury, Venus, Earth, Mars. What does item (3) of [planets] report? After insert [Sun] at (1) of [planets], what is item 3?
- Name the four stages of the iterative development cycle, and the difference between functional testing and playtesting.
- Practical: In Scratch, build a 30-second game in which stars (clones) fall from random places and the player catches them with a paddle that follows the mouse. Include a score, a countdown timer, a high score and game over.
Station 3: Spreadsheets (Chapters 7 to 9)
Use this table, typed into Excel starting at cell A1:
| Village | Visitors Day 1 | Visitors Day 2 | Visitors Day 3 |
|---|---|---|---|
| Riverbend | 120 | 150 | 180 |
| Moonbrook | 200 | 170 | 160 |
| Snowpeak | 90 | 110 | 140 |
| Pebble Hollow | 60 | 80 | 70 |
- What is in cell C3? What is the cell reference of Snowpeak?
- How many cells are in the range B2:D5?
- In E1 type Total. Write a formula in E2 to add up Riverbend's visitors, then copy it down. What formula ends up in E5? What kind of reference is this?
- Write formulas for the largest number of visitors in a single day (anywhere in the table) and the mean visitors on Day 1.
- What is the result of
=(2+4)*3^2and of=2+4*3^2? - In F1 type Busy?. Write an IF formula in F2 that shows Busy when the total is 400 or more and Quiet otherwise. Copy it down. Then write a COUNTIF formula to count the busy villages.
- Which chart would best show (a) how each village's visitors changed over the three days; (b) the total visitors for each village?
- Your friend makes a column chart whose vertical axis starts at 100. Why might this mislead?
- Explain the difference between sorting and filtering.
Station 4: Networks (Chapter 10)
- What is the difference between a LAN and a WAN?
- Which of these are valid IPv4 addresses: 10.0.0.1, 256.1.1.1, 192.168.0.25, 172.16.300.4?
- Name three things in a packet's header.
- Explain two advantages of packet switching.
- Match each protocol to its job: IP, TCP, DNS, HTTPS. (Jobs: turns names into addresses; encrypts web traffic; addresses and routes packets; checks every packet arrives and puts them in order.)
- Your online game feels laggy. Is the problem more likely to be bandwidth or latency? Explain.
- Which Windows command shows the route your packets take?
Station 5: Staying Safe (Chapter 11)
- Which is stronger, and why: Raju@2014 or pencil-river-orange-kettle?
- How many combinations does a 4-digit PIN have? A 6-digit PIN?
- What is two-step verification? Name its three kinds of factors.
- Read this message and list every warning sign: URGENT!! Your PlayWorld account is LOCKED. Confirm your password and the OTP we sent in 5 minutes at playw0rld-help.net or lose all your items!
- What do the three steps of Pause, Check, Ask mean?
- Someone you only know from an online game asks you to keep your chats secret and move to a private app. What should you do?
- Name India's cyber crime helpline number and Childline's number.
Station 6: Fair AI (Chapter 12)
- What does garbage in, garbage out mean for machine learning?
- An AI that recognises fruit was trained on 900 photos of apples and 100 photos of mangoes. Which fruit will it probably recognise worse, and why? What is this problem called?
- A model is tested on Group A: 45 correct out of 50. Group B: 35 correct out of
- Calculate each group's accuracy and the overall accuracy. What does this
show?
- Explain shortcut learning using the AI Judge as an example.
- Give three ways to make an AI system fairer.
- Write the four questions to ask about any AI system.
🎉 Memoon Solves It
Memoon skated from archway to archway as the sun went down. At the first, she drew a decomposition tree in the dust with her skate. At the second, she built a falling-star game in four minutes flat while Ribbit cheered. At the third, Tally checked every formula twice and said, "Correct," twice. At the fourth, she drew a packet's journey on a napkin. At the fifth, Simbha read her one of Glim's messages, and she found eight warning signs. At the sixth, Nimo asked her what the AI Judge had learned, and she answered: "Snow. It learned snow. Because snow was all we gave it."
When she skated back to the centre of the stadium, the whole crowd was on its feet.
The Queen hung the Medal of the Games round Memoon's neck: a golden disc engraved with a tiny tree, a game controller, a grid, a parcel, a padlock and a balance scale. Then, to everyone's surprise, she gave a second medal to Simbha.
"For the Guardian," she said, "who kept the Games safe, and who was brave enough to ask for help."
Simbha's mane puffed out with pride. Beautine burst into dramatic happy tears. Noodles stole a medal ribbon and ran away with it.
And that night, as the lanterns rose over the stadium, the arcade screens of the Grand Arcade all showed the same thing: Thank you for playing. See you at the next Games.
Keep learning with Byte by Byte
Explore Book 5: Games, Spreadsheets and Networks. Find the ebook, purchase details and teaching slides on MemuniCity.
Comments
Post a Comment