Computing
Algorithms, predicting and debugging, first block coding and staying safe.
Skills
- Algorithms in everyday life
- Programs follow exact instructions
- Predicting what a program will do
- Debugging
- First block coding (ScratchJr)
- Making digital pictures
- Saving and finding my work
- Sorting information into groups
- Staying safe online
Lessons
Algorithms in everyday life
An algorithm is a set of steps to do a task. We follow algorithms every day, like recipes and routines. Examples: A recipe for pancakes; The steps for washing hands; Directions to the library. Tip: Write an algorithm for getting ready for school.
Programs follow exact instructions
A program is an algorithm a computer can follow. Computers can't guess what we mean. They do exactly what the program says, in order. Examples: Forget a step and the program goes wrong; Steps in the wrong order give a different result; "Move 5" means 5, not 4 or 6. Tip: Play robots: a grown-up must follow your instructions exactly.
Predicting what a program will do
Before running a program, read it and predict what will happen. Then run it to check if you were right. Examples: Move right 3, then up 2: where does the cat end up?; Repeat "jump" 4 times: how many jumps?; Does the sprite say hello first or move first?. Tip: Write down your prediction before you press go.
Debugging
A bug is a mistake in a program. To debug, run the program step by step, find where it goes wrong and fix that step. Examples: The sprite turns the wrong way: change the turn block; It moves too far: change 5 to 3; Run it again to check. Tip: Change one thing at a time, then test.
First block coding (ScratchJr)
In ScratchJr, we snap coloured blocks together to make a program. A green flag block starts it. Blocks can make a character move, jump or talk. Examples: Green flag, then move right 5; Add a jump block; Add a speech bubble that says "Hello!". Tip: Make the cat walk across the screen and wave.
Making digital pictures
We can draw pictures on a computer or tablet using a paint program. We can choose colours, brushes and shapes, and undo mistakes. Examples: Use the fill tool to colour a shape; Use the undo button for mistakes; Draw in the style of an artist. Tip: Draw a picture of your favourite animal on a tablet.
Saving and finding my work
When we save our work, the computer keeps it. Giving it a good name helps us find it again later. Folders keep work tidy. Examples: Name it "Leo dragon picture" not "picture1"; Save in your class folder; Open it again tomorrow. Tip: Always save before you close a program.
Sorting information into groups
Computers can sort information into groups. We can sort too, using yes/no questions like "Does it have legs?" Examples: Animals with legs and without legs; Fruit that is red and not red; Toys that need batteries and toys that don't. Tip: Sort your toys using a yes/no question.
Staying safe online
Online, we keep our personal information private. We are kind to others. If anything worries us, we tell a trusted adult straight away. Examples: Don't share your address or school; Ask before downloading anything; Tell a grown-up if someone you don't know messages you. Tip: Agree some online rules with your family.