Error checking and encryption

About this lesson: Error checking and encryption

In short

With even parity, an extra bit is added so the total number of 1s is even. If one bit flips on the way, the count becomes odd and the error is spotted. Try even and odd parity.

Error checking and encryption

What you'll explore

Parity checks: Count the 1s
With even parity, an extra bit is added so the total number of 1s is even.
Checksums: Add it up and compare
A checksum is calculated from the data and sent with it. The receiver calculates it again. Different results mean an error.
Echo checks and ARQ: Send it back to compare
An echo check sends the data back to the sender to compare.
Check digits: Catch typing mistakes
A check digit is calculated from the other digits of a code, like a barcode or ISBN. It catches mistakes when the code is typed or scanned.
Encryption: Scramble it with a key
Encryption scrambles data so anyone who intercepts it can't read it.
Check yourself: Spot the error
Even parity is used. A byte arrives as 1011 0110.

Also in this lesson

  • Step by step
  • The ideas in detail
  • Watch out for these
  • More than the lesson
  • Stretch your brain
  • Try it yourself

Words to know

parity bit
An extra bit making the count of 1s even or odd.
parity block
Parity checked across rows and columns.
checksum
A value calculated from data to detect errors.
echo check
Data sent back to the sender to compare.
ARQ
Automatic repeat request.
acknowledgement
A message confirming data arrived correctly.
timeout
A time limit for waiting for a reply.
check digit
A digit calculated from the rest of a code.
encryption
Scrambling data so only key holders can read it.
public / private key
The pair of keys in asymmetric encryption.

Sources

  • BBC Bitesize, GCSE Computer Science: Error checking; encryption
  • Isaac Computer Science: Error detection; encryption
  • Bletchley Park Trust: Breaking Enigma
  • CS Unplugged: Card flip magic (parity)

An interactive lesson with a live experiment: move the sliders, press the buttons and answer quick questions. 6 short steps and a 8-question quiz. Part of the Family plan. Written and checked by Shalo Lab. Last updated 10 November 2026.

← Packets and transmission · Routers, IP addresses and the web →

All lessons in Term 2 · Computing · Age 14