MAT 1000 Mathematics in Today's World Winter 2015.

Slides:



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

Chapter 16: Check Digit Systems
Section 3.2: Using Check Digits
Accounting for a Service Business Unit 1.8 The Ledger.
Error Detection and Correction Parity Schemes: Modulo 2 addition (XOR) Word parity Block Parity.
Pamela Leutwyler. 9 goes into 36 four times with remainder = 9.
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.
Identification Numbers
Write A if the quantity in Column A is greater
Summary of lecture 4 We are accustomed to count like 1,2,3,4,5,6,7,8,9,10,11,12,… This is called counting in base 10 – the second digit tells us how many.
MAT 1000 Mathematics in Today's World Winter 2015.
PrasadDigital Roots1 VEDIC MATHEMATICS : Digital Roots/Sums T. K. Prasad
division algorithm Before we study divisibility, we must remember the division algorithm. r dividend = (divisor ⋅ quotient) + remainder.
Mathematics in Management Science
Chapter 16: Identification Numbers Lesson Plan
More to Learn Check digit –It is used to check whether a number is valid. –Both ISBN and Hong Kong Identity Card numbers contain a check digit for data.
Divisibility Rules How do we know when we can divide one number into another exactly?
MAT 1000 Mathematics in Today's World Winter 2015.
Identification Numbers and Error Detection Meredith Wachs.
What is it? It is an applications driven course that is based upon the study of events that occur in small, or discrete, chunks. Discrete concepts are.
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.
It is physically impossible for any data recording or transmission medium to be 100% perfect 100% of the time over its entire expected useful life. As.
Modular Arithmetic, The Codabar System, and applications Tomás Cometto and Daniel Stokley Linear Systems 5/1/06.
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.
Checking data GCSE ICT.
Barcodes What information does this barcode tell the shop?
Objectives of Control The objectives of control are:  To ensure that all data are processed  To preserve the integrity of maintained data  To detect,
Spring 2015 Mathematics in Management Science Identification Numbers Data Security Check Digits UPCs, Routing Nos, Bar Codes Personal Data.
System Development Lifecycle Verification and Validation.
Analyzing Numerical Data: Validating Identification Numbers
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.
Partial Quotients A Division Algorithm.
Verification & Validation. Batch processing In a batch processing system, documents such as sales orders are collected into batches of typically 50 documents.
Joseph Kirtland Department of Mathematics Marist College
Review of Data Capture. Input Devices What input devices are suitable for data entry? Keyboard Voice Bar Code MICR OMR Smart Cards / Magnetic Stripe cards.
A Division Algorithm. Partial Quotients   The Partial Quotients Algorithm uses a series of “at least, but less than” estimates of how many b’s in a.
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,
Prior to each transaction, the cashier at FoodWays enters a code into the cash register to let the cash register know that a new transaction is being processed.
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.
My Book of Divisibility. THE 2’s Example: 30, 42, 24, 76, 98, Must be an even number Number must end in a 0, 2, 4, 6, or 8.
Coding Seven’s and Nine’s Sol: DM.11 Classwork: Students will take turns reading the “Coding Introduction” Worksheet aloud Homework (day 46): Worksheet.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Weighted Codes, Codabar, ISBN & Code 39 Sol: DM.11 Classwork: worksheet Homework (day 47): worksheet.
Marketing Essentials Chapter 16 Section 2.  After the sale is finalized, the sale is considered closed.  All cash registers provide three basic sales.
MAT199: Math Alive Error corretcing and compression Ian Griffiths Mathematical Institute, University of Oxford, Department of Mathematics, Princeton University.
2.8 Error Detection and Correction
Analyzing Numerical Data: Validating Identification Numbers
3 Chapter Numeration Systems and Whole Number Operations
Divisibility Rules.
Chapter 16: Identification Numbers Lesson Plan
Error Detection and Correction
Keeper 8: UPC Codes S.A.S. #12 1 – 3 Credit Cards S.A.S. #
Modular Arithmetic 7th Grade Lesson Plan
Chapter 16: Introduction
Credit Cards UPC Codes.
UPC, Bar codes, Zip + 4 (Post Net) Sol: DM.11
Check Digit Scheme Based on D5.
Name: Form: What Are Bar-codes
Computation in Other Bases
Chapter 16: Check Digit Systems, Continued
Communicating Efficiently
Divisibility Rules.
Chapter 16: Identification Numbers Lesson Plan
Divisibility Rules.
2.8 Error Detection and Correction
Presentation transcript:

MAT 1000 Mathematics in Today's World Winter 2015

Today We will look at identification numbers. An important mathematical idea is to include a digit in an ID number that allows us to catch any errors. These are called “check digits.” We will look at several different methods for finding check digits.

Identification numbers It is common to use numbers as identification. Examples: Credit card numbers identify a line of credit between a lender and a person. UPC codes identify products in a store or company’s inventory

Identification numbers Using ID numbers, or codes, simplifies collecting and processing data. A store may use coding information to manage inventory or to record sales information. Credit card numbers can make some monetary transactions simpler and safer (as opposed to personal checks or cash).

Identification numbers Another advantage of codes: Coding systems can catch errors. This uses so-called “check digits.” Check digit: an extra digit in an ID number whose purpose is to verify that the rest of the digits are accurate

Identification numbers Where do errors come from? Human error: typos or misunderstandings Transmission errors Corrupted files

Identification numbers

It is possible to have coding schemes that catch 100% of single-digit errors We can even make coding schemes that catch 100% of single-digit errors and 100% of transposition errors The tradeoff is that to catch more errors the coding scheme must be more complex.

A simple coding scheme The following scheme is not used in practice, but will introduce the key ideas. For an ID number we choose a check digit so that the sum of all of the digits of the ID plus the check digit ends in 0.

A simple coding scheme

A few coding themes that are used Division by nine (money orders) Universal product codes (UPC) ISBN Codabars Zip+4

First we need to understand: The Division algorithm Every division has a quotient and remainder

Division Algorithm Divide a by b with remainder r. a = q ∙ b + r. q is the quotient. r is the remainder. Example: 22 divided by 9 is “2 remainder 4”. 22 = 2 ∙

Division-by-9 Check Digits Used on US Postal Service money orders. First 10 digits identify the money order. –Each money order has a unique 10-digit number. The last digit is a check digit. To compute the check digit: –Add the first ten digits. –Divide by 9 with remainder. –The remainder is the check digit. Let’s see an example.

Division-by-9 Check Digits This system detects some errors in serial numbers. It detects single-digit errors, except that: –It will not detect an error if 9 is replaced by 0. –It will not detect an error if two digits are switched. It detects the presence of an error, but it does not tell you how to correct the mistake. If an error is detected, go back and check for mistakes.

Universal Product Code (UPC) The UPC system is used on all grocery products. It consists of 12 digits, such as The first digit represents a broad category of items. The next five digits identify the manufacturer. The next five digits identify the product. The last digit is a check digit.

UPC Numbers Used in many retail products. Here’s an example, along with a bar code: As you can see, UPC numbers are 12 digits long. The first 11 digits are the ID, the last digit is the check digit.

UPC Numbers

The UPC coding scheme catches 100% of single digit errors, and 89% of most other common errors. By adding some additional complexity, we can improve the proportion of errors detected.