Chapter 16: Check Digit Systems

Slides:



Advertisements
Similar presentations
Chapter 16: Check Digit Systems, Continued
Advertisements

Math for Liberal Studies. An identification number is a sequence of letters and/or numbers that identifies an object, person, place, or concept The number.
Section 3.2: Using Check Digits
Math for Liberal Studies.  When we studied ID numbers, we found that many of these systems use remainders to compute the check digits  Remainders have.
4.5: Linear Approximations and Differentials
Chapter 7 Posting Journal Entries to General Ledger Accounts
Pamela Leutwyler. 9 goes into 36 four times with remainder = 9.
Math for Liberal Studies.  Problems can occur when data is transmitted from one place to another  The two main problems are  transmission errors: the.
Math for Liberal Studies.  Many of the ID numbers we have studied need to be represented in a way that is readable by machines  While computers can.
NETWORKING CONCEPTS. ERROR DETECTION Error occures when a bit is altered between transmission& reception ie. Binary 1 is transmitted but received is binary.
Math for Liberal Studies.  None of the methods we have investigated so far can detect transposition errors  In this section we will investigate new.
MAT 1000 Mathematics in Today's World Winter 2015.
MAT 1000 Mathematics in Today's World Winter 2015.
Identification Numbers
Accounting Chapter 4 Unit 7 Notes Posting to the Ledger
Solving Algebraic Equations
MAT 105 Spring  We’re probably most familiar with seeing bar codes on the products we buy in the grocery store  However, machine-readable codes.
MAT 1000 Mathematics in Today's World Winter 2015.
Negative Numbers Adding and Subtracting Negative numbers.
Mathematics in Management Science
Chapter 16: Identification Numbers Lesson Plan
MAT 1000 Mathematics in Today's World Winter 2015.
Wong Wai Ling, Lam Pui Ki Identification number  clearly identify a person or a thing Check digit  an extra digit for the purpose of error.
Dividing 1 digit by 2 digit numbers
Modular Arithmetic.
Dividing by Decimals. Dividing decimals is a lot like dividing by a whole number. There is just one thing you need to remember before dividing: You have.
SAT Review 1.Which is the equation of a line that passes through the pt (7, - 1) and is to y + 2x = 1. A. y = 2x – 15 B. y = –2x + 13 C. D. 2.Line p is.
Fault Tolerance CDA 5140 Spring 06 Everyday FT. Background Use of check digits for error detection on everyday applications used extensively but most.
Check Digit Schemes Jerzy Wojdyło Southeast Missouri State University May 13, 2002.
Lecture 12.  The ISBN 10-digit uses a reverse weighting system: multiply the first digit by 10, the second by 9, the third by 8 and so on until the check.
Spring 2015 Mathematics in Management Science Identification Numbers Data Security Check Digits UPCs, Routing Nos, Bar Codes Personal Data.
Multiplying decimals. What is the answer to 0.26 x 0.6? In order to work this out you must be able to multiply the whole numbers together In fact do just.
What is Divisibility? Divisibility means that after dividing, there will be No remainder.
Ways to Check for Divisibility Dividing By 1 All numbers are divisible by 1.
Tree Diagrams  Be able to use a tree diagram to list the possible outcomes from two events.  Be able to calculate probabilities from tree diagrams. 
Name ______________________________________ Number _______________________ Division Test Study Guide Vocabulary, Models, 1 Digit Divisor with Remainders.
MAT 105 Spring  An identification number is a sequence of letters and/or numbers that identifies an object, person, place, or concept  The number.
Barcodes! Felipe Voloch These notes and the barcode program are available at /barcode.html.
Math for Liberal Studies. What is an identification number?  An identification number is a sequence of digits and/or numbers that identifies an object,
Check Digits Tanli Su. Introduction -identification numbers are used to easily identify people, products, books, accounts, credit cards, driver's licenses,
Divisibility Tests How can you tell quickly whether a number can be divided exactly by another?
Let’s remember 2 things. 1. Multiplying by 10,100,1000 Multiply by 10 Multiply by 100 Multiply by 1000 Add one 0 Add two 0’sAdd three 0’s since 10 has.
Divisibility Rules. Divisibility What is Divisibility ? Divisibility means that after dividing, there will be NO remainder.
Divisibility Rules. What Are Divisibility Rules? They are a quick way to tell if one number can be completely divided into another without a remainder.
Coding Seven’s and Nine’s Sol: DM.11 Classwork: Students will take turns reading the “Coding Introduction” Worksheet aloud Homework (day 46): Worksheet.
Weighted Codes, Codabar, ISBN & Code 39 Sol: DM.11 Classwork: worksheet Homework (day 47): worksheet.
Multiplying Decimals 12/7/2015. To Multiply: You do not align the decimals. Instead, place the number with more digits on top. Multiply Count the number.
MAT199: Math Alive Error corretcing and compression Ian Griffiths Mathematical Institute, University of Oxford, Department of Mathematics, Princeton University.
Multiplying Decimals.
Round the answer to the nearest hundredth. Divide Click Here
Analyzing Numerical Data: Validating Identification Numbers
INEQUALITIES.
Multiplication Inverse
Multiplying by powers of 10 Decimals

Keeper 8: UPC Codes S.A.S. #12 1 – 3 Credit Cards S.A.S. #
Modular Arithmetic II Lecture 10: Oct 6.
Dividing by Decimals.
Chapter 16: Introduction
MAT 105 Fall 2008 Bar Codes.
Multiplying Decimals.
Credit Cards UPC Codes.
Fundamentals of Data Representation
Dividing by Decimals.
4.5: Linear Approximations and Differentials
Divisibility Rules!.
Divisibility Rules.
Chapter 16: Check Digit Systems, Continued
Divisibility Rules.
Tree Diagrams Be able to use a tree diagram to list the possible outcomes from two events. Be able to calculate probabilities from tree diagrams. Understand.
Presentation transcript:

Chapter 16: Check Digit Systems MAT 105 Spring 2008 Chapter 16: Check Digit Systems

Examples of Check Digit Systems The check digit systems we will study are used for: US Postal Service money orders Airline tickets UPC (Universal Product Code) US Bank routing numbers Credit card numbers ISBN (International Standard Book Number)

US Postal Service Money Orders The ID number is listed here The ID number is also listed here in machine-readable numbers (magnetic ink)

USPS Money Order Check Digit System The ID number on a USPS money order is an 11-digit number, and the 11th digit is the check digit The 11th digit is the remainder when the sum of the first 10 digits is divided by 9

Examples In our sample money order, the ID number is 02543750594 If we add up the first 10 digits, we get 40, and the remainder when 40 is divided by 9 is 4, so the check digit is correct Another example: 63024383845

Finding Remainders on the Calculator Since many of the check digit systems involve finding remainders, it is useful to know how to find them on your calculator There are many different methods, but this one is simple For example, suppose you need to know the remainder when 59 is divided by 7

Finding Remainders on the Calculator To find the remainder when 59 is divided by 7, just type 59 divided by 7 in your calculator Take the digits appearing after the decimal and multiply them by 7 (the number you divided by) The result will be the remainder In this example, the remainder is 3

Detecting Errors Suppose we receive a suspicious money order with ID number 63054383845 If we add up the first 10 digits and divide by 9, we get remainder 8, which does not match the check digit So we know this ID number is invalid

Types of Errors Look at what happened: Valid ID number 63024383845 Invalid ID number 63054383845 This is a substitution error: an incorrect digit was substituted for the correct one This error was detected because we were able to tell that the new number is invalid

Undetected Errors Let’s look at another example Correct ID number 63024383845 Incorrect number 63924383845 Notice that the incorrect number is actually still a valid ID number, so this error goes undetected by the check digit system In fact, this system can never detect a substitution of a 0 for a 9 (or vice versa)

More Undetected Errors Since we just add up the first 10 digits, this system is also unable to detect transposition errors Correct ID number 63024383845 Incorrect number 63023483845 Once again, the incorrect number is still valid

Another System: Airline Tickets This is the ticket ID number. The last digit (colored in yellow) is the check digit.

Computing the Check Digit The check digit is the remainder when the ID number (without the check digit) is divided by 7 It is difficult for us to find these remainders on our calculators when the ID numbers are very large, like they are on airline tickets For our examples, we will use ID numbers that are shorter than normal, just to illustrate how the process works

An Example Is the airline ticket ID number 5208162 valid? Remember, 520816 is the ID number, and 2 is the check digit On our calculators, we divide 520816 by 7 and get remainder 2

Detecting Errors This method detects all single substitution errors except 0  7, 1  8, and 2  9 In addition, this system can detect transpositions as long as the two digits are not 0 & 7, 1 & 8, or 2 & 9 Examples 5208162  5204162 detected 5208162  5201162 not detected 5208162  5280162 detected 5208162  5201862 not detected

Reminder Remember how error detection works: If we change the ID number and now the check digit is wrong, the error is detected If we change the ID number and the check digit is still correct, the error is not detected Make sure you understand the difference between “incorrect” and “invalid”