levo

Data, Information and Data Representation

Check digits and the Modulus 11 method

  • 3 things to know
  • AS Unit 2
Start revising · £5/month

Overview

What a check digit protects against, weighting the digits and taking the remainder to eleven, writing ten as X, and testing a code for validity including a transposed pair.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Numbers

Modulus 11 is applied to the code 1236. Show that the check digit is X.

Key term

The valid code 12343 is mis-keyed as 21343. Show that the Modulus 11 test detects the error.

Key term

What is the purpose of a check digit?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is a check digit?

    Model answer

    A check digit is an extra digit calculated from the other digits of a code and added to the end of it, so that a keying error in the code can be detected automatically.

  2. 2

    What is the purpose of a check digit?

    Model answer

    A check digit lets a program recalculate the expected digit from the code just entered and compare it with the digit typed, which catches a mis-keyed code at the moment of entry.

  3. 3

    Name two kinds of keying error a check digit is designed to catch.

    Model answer

    A check digit is designed to catch a single digit typed wrongly and two adjacent digits typed the wrong way round.

  4. 4

    Why is 11 used as the modulus?

    Model answer

    The number 11 is prime, and because every digit carries a different weight, any single-digit error and any swap of two digits changes the weighted total, so no such error can slip through.

  5. 5

    Which weights are used in the Modulus 11 calculation?

    Model answer

    The digits are weighted from the right, the rightmost digit of the code being multiplied by 2, the next by 3, the next by 4 and so on.

  6. 6

    Set out the steps of the Modulus 11 calculation.

    Model answer

    Each digit is multiplied by its weight, the products are added, the total is divided by 11 to give a remainder, and that remainder is subtracted from 11 to give the check digit.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Systems Analysis and Development Approaches
Design, Development and Testing
Implementation and System Security
Programming

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

A check requires a value.
presencerangeformat

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

One byte is made up of 8 bits.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Data, Information and Data Representation, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.