Education Technology


Year 9: Check Digit

by Texas Instruments

Objectives

This activity provides students with the algorithm for the check-digit on a barcode. This activity provides minimal scaffolding for the coding of the algorithm with a view to making students more independent when it comes to writing their own programs. There are many useful resources available to support students, including the 10 Minutes of Code lessons and a series of YouTube tutorials.

Vocabulary

  • For - EndFor
  • If - Then - Else - EndIf
  • RequestStr
  • Mid

About the Lesson

An algorithm exists for the check-digit on a barcode. In this activity students develop their own program based around the algorithm. Students can watch any of the 10 minutes of code tutorials to help formulate a program to validate any barcode.