Library › Computer Science 0478 › Methods of Error Detection
O Level · Computer Science 0478

Methods of Error Detection

Revise Methods of Error Detection for Computer Science 0478 (O Level) — revision notes and instant AI marking.

📖 Revision notes · preview
Cambridge (CIE) IGCSE · Computer Science

Methods of Error Detection

Big idea: Whenever data travels — down a wire, through the air, or even just gets typed in — something can go wrong along the way, so computers use clever mathematical "trip-wires" (parity bits, checksums, check digits, echoes, and ARQ) to catch mistakes before they cause real damage.

Summary — What This Chapter Covers

  • Why errors happen: interference (wired or wireless) causes data loss, data gain, or data change.
  • Why we check: computers need data in an expected format — unexpected data is hard or impossible to interpret correctly.
  • Parity check: adds one extra bit per byte so the total number of 1s matches an agreed rule (odd/even). Detects an error but not .
  • Parity block & parity byte: parity calculated both horizontally (per byte) and vertically (per bit-column) — this combination can actually the faulty bit.
  • Checksum: a calculated value sent alongside data; recalculated by the receiver and compared. Mismatch = error, but no location given.
  • Echo check: receiver sends the data straight back to the sender to compare — simple, but not fully reliable (error could occur on the way back too).
  • Check digits: one extra digit at the end of a numeric code (ISBN, barcodes) calculated by an algorithm to catch mistyped, missing, extra, or swapped digits.
  • Automatic Repeat reQuest (ARQ): a protocol using acknowledgements and timeouts to automatically request re-transmission of corrupted or missing data.

1  Why Errors Occur

Interference is the root cause

Think of data transmission like sending a message by shouting across a windy field versus passing a note by hand. Along the way, things can interfere with the message and change it — that's exactly what happens electronically too.

Wireless technology (radio signals, Wi-Fi, Bluetooth) can be disrupted by:

  • Physical barriers — buildings, walls, cars, even your own body standing in the way
  • Bad weather — rain, clouds, storms
  • Other wireless signals or electromagnetic radiation "talking over" your signal

Wired technology is actually prone to error overall, because physical cables can:

  • Get damaged or degrade over time
  • Pick up interference from nearby electrical sources
  • Suffer from interrupted or intermittent connections, causing data loss

The three ways interference shows up

EffectWhat it means
Data lossSome data never arrives
Data gainExtra, unwanted data is received
Data changeBits get flipped (a 1 becomes a 0, or vice versa)

Why checking even matters

Computers only understand data that arrives in an expected format — an agreed way of arranging data so both sender and receiver interpret it the same way. Dates are a classic example: 13/04/14 could be DD/MM/YY, and 12/31/2020 is clearly MM/DD/YYYY (since there's no 31st month). But what about 04/03/17? Is that 4th March or 3rd April? Without an agreed format and error checking, ambiguous or corrupted data leads to misinterpretation — and in the real world, that can mean wrong dates, wrong amounts, wrong instructions.

Practice Question

2  Parity Check

The core idea

parity bit every byte must contain an odd number of 1s every byte must contain an even number of 1s

3  Parity Byte & Block Check

4  Checksum

algorithm

The Process

5

6

7

protocol

🔓 Read the full Methods of Error Detection note → You're seeing the preview · sign in to read it all
Also in the full note
  • 5 Echo Check
  • 6 Check Digits
  • 7 Automatic Repeat reQuest (ARQ)
  • What to Memorise
  • Concepts Checklist
  • Exam Tips & Common Mistakes
  • Worked example — Even parity
  • Worked example — Odd parity
What's inside
📖 Revision notes 🎯 Learn mode ✦ AI flashcards ✓ Instant AI marking 🧊 3D explorers 🧪 Experiments & simulations 📈 Progress tracking
📄 Practise Methods of Error Detection with Computer Science 0478 past papers Every paper with its mark scheme — answer online, marked instantly. Open →

Read the full Methods of Error Detection notes free

That's the preview — create a free account to read the rest, plus flashcards and practice questions with instant AI marking. No credit card.

Unlock the full notes free →

More Computer Science topics