levo

Data, Information and Data Representation

Check digits and the Modulus 11 method

  • 3 things to know
  • AS Unit 2

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.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

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

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

A check requires a value.
presencerangeformat

Blank Blitz makes facts automatic

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

ANormal data is 12, which should be accepted.
BBoundary data is 1 and 50, which should be accepted.
C0 and 51, just outside the limits, should be rejected.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

One byte is made up of 8 bits.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

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.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

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