---
title: "Spotting a Mistake in Stored or Sent Data"
description: "Stored or sent data can change accidentally. Parity bits and check digits apply agreed checks that detect some errors without interpreting the message. A passing check does not prove the data is uncha"
canonical: https://lightmysky.com/learn/computing/spotting-a-mistake-in-stored-or-sent-data-mt_wKwax55eo-
source: https://lightmysky.com/learn/computing/spotting-a-mistake-in-stored-or-sent-data-mt_wKwax55eo-.md
retrieved: 2026-11-12
---

> **Agent view.** This is the Markdown twin of the page, for tools and assistants.
> When to use this site, and the call that answers each job: https://lightmysky.com/agent-instructions.md
> API description (OpenAPI 3.1): https://lightmysky.com/openapi.json · Authentication: https://lightmysky.com/auth.md
> Pricing: https://lightmysky.com/pricing.md · Catalog: https://lightmysky.com/llms.txt · Full catalog: https://lightmysky.com/llms-full.txt
> Every machine-readable file on this domain: https://lightmysky.com/.well-known/ai-catalog.json
> Ask for Markdown with `Accept: text/markdown`, a `.md` address, or `?mode=agent`.

# Spotting a Mistake in Stored or Sent Data

Stored or sent data can change accidentally. Parity bits and check digits apply agreed checks that detect some errors without interpreting the message. A passing check does not prove the data is unchanged.

Subject: Computing · Area: Computing Fundamentals · Ages 13 to 14
Page: https://lightmysky.com/learn/computing/spotting-a-mistake-in-stored-or-sent-data-mt_wKwax55eo-

## Ready when they can

- Add an even-parity bit to a row and locate one flipped data bit using row and column checks, with the check bits unchanged
- Calculate a check digit using a stated rule and show how a single changed digit fails that rule
- Explain why a passing check does not prove unchanged data, distinguishing one-row parity from row-and-column parity

## Lesson: Extra bits that catch mistakes

You have used agreed codes to interpret bits. Data can also change accidentally during storage or transmission. Error-detection rules add check bits or digits calculated from the data. Recalculate the check when reading or receiving it. A failed check signals a problem. A passed check does not prove that nothing changed.

For even parity, count the 1s in a data row. Add parity bit 0 if the count is even, or 1 if it is odd. Include that bit when checking the total number of 1s. For example, 0101 has two 1s, so its parity bit is 0. One flipped bit changes an even total to an odd total.

*(drawing: The last bit is the added parity bit.)*

**Example.** For even parity, count 1s across each data row with its row check bit, then down each data column with its column check bit. Odd totals fail. Start with all checks passing. If exactly one data bit flips and check bits stay unchanged, the failed row and column locate it. For example, failures in row 1 and column 2 locate row 1, column 2.

A single row's parity misses an even number of flips in that row. Two flips preserve its even total. In a complete grid, two flips in the same row affect two different columns, so those column checks detect the change.

Even row-and-column checks can miss changes. Four data-bit flips at the corners of a rectangle affect each of two rows twice and each of two columns twice. All checks still pass if their bits stay unchanged. Passing parity does not prove unchanged data.

*(drawing: This example uses the classroom rule described below.)*

Our classroom check-digit rule uses digits 0 to 9. Add the data digits, then choose one digit that makes the total a multiple of 10. If the sum already ends in 0, use check digit 0. To check a received code, add all its digits, including the check digit. A single changed digit fails this rule, but swapping digits can pass. Real product codes may use other rules.

**Recap.** Check bits and digits detect some errors. One flipped data bit can be located with unchanged row and column checks. Passing a check does not prove unchanged data.

*Lesson, questions and flashcards written for this dataset. Check-digit examples use the stated classroom rule.*

## Practice

8 questions on this page, each with its working shown.

## Needs first

- [An Agreed Code: How the Same Bits Mean Letters or Colours](https://lightmysky.com/learn/computing/an-agreed-code-how-the-same-bits-mean-letters-or-colours-mt_IQY-PHtZVZ)
