Computing
Sequences, loops and events in Scratch, networks and staying safe online.
Skills
- Sequences in Scratch
- Repeat loops
- Events (when clicked)
- Debugging
- How computers connect (networks)
- The internet
- Making a poster with text and pictures
- Strong passwords
- Is it true? Checking what we read online
Lessons
Sequences in Scratch
In Scratch, we snap blocks together to make a program. A sequence is blocks that run one after another, from top to bottom. The order matters! Examples: Move 10 steps, then say "Hello!"; Change colour, then play a sound; Swap two blocks and the result changes. Tip: Read your blocks top to bottom and act them out.
Repeat loops
A loop repeats blocks again and again. Instead of writing the same blocks lots of times, we put them inside a repeat block. Examples: Repeat 4: move 100, turn 90 draws a square; Repeat 10: change colour; A forever loop never stops. Tip: Look for blocks you have written more than once. Use a loop instead!
Events (when clicked)
An event is something that starts a script running. It could be clicking the green flag, pressing a key or clicking a sprite. Examples: When green flag clicked: start the game; When space key pressed: jump; When this sprite clicked: say "Ouch!". Tip: Use the arrow keys as events to move a sprite around.
Debugging
When a program doesn't do what we expect, it has a bug. We test it, find the block that is wrong and fix it. Examples: The sprite turns 9 instead of 90 degrees; A loop repeats 3 times instead of 4; The wrong event starts a script. Tip: Run your program a little at a time to see where it goes wrong.
How computers connect (networks)
A network is computers and devices connected so they can share information. They connect with cables or wirelessly using Wi-Fi. Examples: School computers share a printer; A router connects home devices to Wi-Fi; Tablets save work to a shared drive. Tip: Spot all the devices on your home network: phones, TV, tablet…
The internet
The internet is a huge network that joins millions of smaller networks all over the world. It lets us send messages, watch videos and visit websites. Examples: Emails travel over the internet; Websites are stored on computers called servers; Some internet cables run under the sea. Tip: Think of the internet as roads, and information as the cars.
Making a poster with text and pictures
We can use software to make a poster. Choose a clear title, easy-to-read fonts and pictures that match. Keep it simple so people can read it from far away. Examples: A big, bold title; Two or three key facts; A picture with a short caption. Tip: Ask a friend to read your poster from across the room.
Strong passwords
A password keeps accounts safe. A strong password is long and hard to guess. A good trick is to join three random words together. Never share your password, except with a parent or carer. Examples: Weak: your name or your pet's name; Weak: 12345; Stronger: three random words, like a made-up silly sentence. Tip: Never use the same password everywhere, and keep it secret.
Is it true? Checking what we read online
Not everything online is true. Anyone can put things on the internet. Check if the website is trustworthy and if other good sources say the same. Examples: A photo of a flying pig: probably edited!; Check with a book or a trusted website; Ask: who wrote this, and why?. Tip: Check facts in at least two places.