Choose a country
Grade 5Computer scienceInformation

Encoding information

Lesson goal: Know what a code and encoding are, write and read a message in a simple code, and explain that a computer stores everything as 0s and 1s.
← Information

About this lesson

A code is an agreed system of signs for showing information. Turning information from one form into another is encoding; turning it back is decoding. Codes are everywhere: road signs, traffic-light colours, musical notes, letters and digits. In Morse code each letter is written with dots and dashes: SOS is “· · · — — — · · ·”. A computer “knows” only two signs, 0 and 1 (no current and current). This is binary code. Text, pictures, sound and video are all stored as strings of 0s and 1s. The key rule: sender and receiver must use the same code.

Lesson goal: Know what a code and encoding are, write and read a message in a simple code, and explain that a computer stores everything as 0s and 1s.

What the book shows

In grade 5 the computer science textbook has units on information, the computer, applications, algorithms and the internet. Each topic gives a short explanation, an example and a task done on or off the computer.

Textbook link:

This is not the textbook’s text but a short description of the topic. Check the exact page in your own textbook.

The lesson step by step

  1. 1

    Warm-up5 min

    A secret-letter game.

  2. 2

    New topic10 min

    Codes and encoding.

  3. 3

    Practice10 min

    Morse code.

  4. 4

    Game10 min

    Binary code.

  5. 5

    Wrap-up5 min

    Building our own code.

Let’s understand

For the student Simple language

CodeSignsExample
traffic light3 colours🔴 stop · 🟢 go
Morsedot, dashSOS = · · · — — — · · ·
binary0, 11 0 1 1
sender → code → receiver

Going deeper

Scientific language: for older students, parents and teachers.

Every photo you send by phone becomes millions of 0s and 1s and is turned back into a picture on the other phone.

Play and check

Which kind of code?

How to write it down

  1. Make a letter–number table (A=1, B=2…) and encode your name.
  2. Decode a friend’s word.

How the classwork looks in the notebook

15 November1Classwork2message → encoding → code → decoding → message3
Writing order: 1 Date 2 Heading 3 Line 3: message → encoding → code → decoding → message
Sample: the date and heading follow this country’s notebook rules.

Open notebook

Watch out: common mistakes

Not sharing the key. The receiver must know the same table.
Thinking every code is secret. Traffic lights are a code too.

Where it helps in life

  • Measuring information: bits and bytes

At home

Core

  1. Find and list 5 codes at home.

Extra ⭐

  1. Write one sentence in your own code and give the key separately.

How to do it

  1. Do the task with a grown-up.
  2. Explain in words what you noticed.
Answers for parents

Examples: traffic lights, a barcode, clock hands, musical notes, washing-machine symbols.

Step-by-step homework solution — Show the solution (try it yourself first)
  1. Think

    1. How many two-digit codes can 0 and 1 make? 00, 01, 10, 11: four. Three digits make eight. Each extra digit doubles the options.

How the homework looks in the notebook

15 November1Homework2Encoding3
Writing order: 1 Date 2 Heading 3 Line 3: Encoding
Sample: the date and heading follow this country’s notebook rules.

Check yourself