Home My space log
Language EN (English)

Product code check digits: programming challenges

Beginner robot Difficulty 1/5 Screen-free lesson Stop 3 / 34 ages 8-10

Programming challenges (Scratch, Python or blocks) to go with the 'Product code check digits' lesson, from the 'Error detection and correction' unit. Best done with a grown-up.

For a grown-up to do with a child.

Start the guide

Your guide

AI-written overview

What is it?

Product code check digits: programming challenges is part of a CS Unplugged unit about how computers notice and fix mistakes in the information they store and send. The activities use card tricks and number games.

Is it for me?

It is for children about 8-10 and up who like puzzles and magic tricks, with a grown-up or teacher to help. It is a Beginner activity and needs no computer.

Grown-ups: practise the trick before you show it. Some activities in this unit use arithmetic, so a calculator is fine.

How to start

  1. Get a set of two-sided cards or make some from paper.
  2. Try the card trick or number game with a grown-up.
  3. Swap roles, and try to explain why it works.

How much time?

Most lessons take about 30 minutes. Plan about 25 minutes for a session. (estimate)

25 min per session 3 sessions estimate

A plan you can follow

  1. Day 1 30 min Learn the card trick.
  2. Day 2 30 min Show the trick to a friend or family member.
  3. Week 1 30 min Try the next activity in the unit.
  4. Week 2 30 min Look for where mistakes get fixed in real life.

Times are estimates. Go at your own speed.

Go to the learning site

You are about to leave our site to visit Product code check digits: programming challenges on another website. We don't control that site. Ask a grown-up before you go. Check the original for details. This site may not be in your language. Your browser can translate the page: look for the translate button near the address bar, or ask a grown-up to help.

You are leaving our site

Grown-ups: this link goes to a site we do not control and have not reviewed beyond its listing. Please look at it first.

Go to the learning site (opens the original site in a new tab)

https://www.csunplugged.org/en/topics/error-detection-and-correction/product-code-check-digits/programming/

On this site. From the list: uccser/cs-unplugged · License: CC-BY-SA-4.0 · CS Unplugged: Error detection and correction

Lesson from CS Unplugged, University of Canterbury CSER Group, licensed CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/). Changes were made: translated and level-tagged by Open Cosmos, with AI. Shared under the same license.

Your path through Python

Stop 1 How binary digits work: programming challenges Screen-free lesson Stop 2 Parity magic: programming challenges Screen-free lesson Stop 3 Product code check digits: programming challenges Screen-free lesson Stop 4 Sending a rocket to Mars: programming challenges Screen-free lesson Stop 5 The Modulo operator Unplugged: programming challenges Screen-free lesson Stop 6 A Simple Web Server Build project Stop 7 Make Your Own Simple Interpreted Programming Language Build project

Explore next