Wong Wai Ling, Lam Pui Ki 2011-3-22 1. Identification number  clearly identify a person or a thing Check digit  an extra digit for the purpose of error.

Slides:



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

Numbers in Our Pockets GCNU 1025 Numbers Save the Day.
Math for Liberal Studies.  None of the methods we have investigated so far can detect transposition errors  In this section we will investigate new.
Digital Fundamentals Floyd Chapter 2 Tenth Edition
MAT 1000 Mathematics in Today's World Winter 2015.
VIT UNIVERSITY1 ECE 103 DIGITAL LOGIC DESIGN CHAPTER I NUMBER SYSTEMS AND CODES Reference: M. Morris Mano & Michael D. Ciletti, "Digital Design", Fourth.
MAT 1000 Mathematics in Today's World Winter 2015.
Identification Numbers
DIGITAL SYSTEMS TCE1111 Representation and Arithmetic Operations with Signed Numbers Week 6 and 7 (Lecture 1 of 2)
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.
Barcodes and ISBN numbers: which are better at detecting errors? Virtually all packaged products have a barcode on so that optical readers can recognise.
Mathematics in Management Science
Chapter 16: Identification Numbers Lesson Plan
Codebreaking in Everyday Life John D Barrow. 10 x 10 x 10 x 10 seconds  2.75 hours.
Digital Logic Chapter 2 Number Conversions Digital Systems by Tocci.
MAT 1000 Mathematics in Today's World Winter 2015.
RNJ 10/02/091 3 Computing System Fundamentals 3.6 Errors Prevention and Detection.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Lecture 6 Topics Character codes Error Detection and Correction
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.
Input Devices Manual and Automatic By Laura and Gracie.
GCSE ICT Checking data. Why do errors happen? Computers do not make mistakes. However if incorrect data is put in errors happen. In ICT this is called.
Cosc 2150: Computer Organization
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.
Chapters 16 & 17 Sarah Cameron 18 March  Review of Modular Arithmetic  Identification Numbers ZIP Codes Bar Codes  Binary Codes  Encryption.
Checking data GCSE ICT.
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.
Number systems, Operations, and Codes
Part 2: Packet Transmission Packets, frames Local area networks (LANs) Wide area networks (LANs) Hardware addresses Bridges and switches Routing and protocols.
PREPARED BY: ENGR. JO-ANN C. VIÑAS
Barcodes! Felipe Voloch These notes and the barcode program are available at /barcode.html.
CIT PowerPoint presentation Group 4. Unit 1, Chapter 2 Basic Concept on Data DATA AND INFORMATION What is data? Data consists of all sorts of unorganised.
Verification & Validation. Batch processing In a batch processing system, documents such as sales orders are collected into batches of typically 50 documents.
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.
Number Systems by Dr. Amin Danial Asham. References  Programmable Controllers- Theory and Implementation, 2nd Edition, L.A. Bryan and E.A. Bryan.
IGCSE ICT Stock Control.
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,
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.
Number Systems. The position of each digit in a weighted number system is assigned a weight based on the base or radix of the system. The radix of decimal.
MAT199: Math Alive Error corretcing and compression Ian Griffiths Mathematical Institute, University of Oxford, Department of Mathematics, Princeton University.
Barcode Vartika Agarwal Accurate institute of management and technology Computer science(3 rd year)
Some basic concepts underlying computer archi­tecture
DATA COLLECTION Data Collection Data Verification and Validation.
Analyzing Numerical Data: Validating Identification Numbers
Lecture No. 4 Number Systems
CHAPTER 1 : INTRODUCTION
Introduction to Chapter 2
Error Correcting Code.
Chapter 3 Data Representation
Chapter 16: Identification Numbers Lesson Plan
Number Systems.
2 Number Systems and Codes Edited by Jerry Bernardini.
Error Detection Bit Error Rate(BER): It is the ratio of number Ne of errors appearing over a certain time interval t to the number Nt of 1 and 0 pulses.
Keeper 8: UPC Codes S.A.S. #12 1 – 3 Credit Cards S.A.S. #
Modular Arithmetic 7th Grade Lesson Plan
Chapter 16: Introduction
The Digital Revolution
Credit Cards UPC Codes.
UPC, Bar codes, Zip + 4 (Post Net) Sol: DM.11
Objectives TO UNDERSTAND THAT CAPTURING DATA IS VALIDATED AND VERIFIED TO CHECK THAT IT IS REASONABLE AND CORRECT.
Fundamentals of Data Representation
Chapter 16: Check Digit Systems, Continued
Chapter 16: Identification Numbers Lesson Plan
Lecture 17 Making New Codes from Old Codes (Section 4.6)
Presentation transcript:

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 detection 2

11-digit  sum of the first 10 digits is divided by 9  remainder = check digit Disadvantages  can’t detect mistake 1) replace 0 by 9 2) numbers interchange 3

4

First letter  identify the country that issues the note  add up the numbers, add each single digit in the sum until a single digit remains  sum = = 25, 2+5 = 7 5

Checksum  single digit obtained previously  refer to the particular country 6

12-digit 1 st : category 2 nd -6 th : manufacturer 7 th -11 th : identify the product 12 th : check digit  sum = 3(1 st )+1(2 nd )+3(3 rd )+ … +3(11 th )+1(12 th )  sum should end with a 0. (e.g. 10,20,30,…)  can detect all single position error and about 89% of other kinds of errors 7

 use a variation of the UPC scheme  append check digits to the numbers assigned to banks Each bank has a 8-digit routing number  sum = 7(1 st )+3(2 nd )+9(3 rd )+ … +7(7 th )+3(8 th )  an extra 9 th digit (check digit) = last digit of the sum i.e. sum = 53 → check digit = 3  numbers 7,3,9 are called weights  can detect most transposition errors 8

13-digit  become worldwide standard  existing UPC numbers are converted to EAN by adding an extra “0” at the beginning  sum = 1(1 st )+3(2 nd )+1(3 rd )+ … +1(11 th )+3(12 th )+1(13 th )  does not affect the check digit compared with UPC 9

Credit cards, libraries, blood banks, etc  Computation 1) add the digits in odd positions 2) double the result 3) add the numbers in odd positions that exceed 4 4) add the remaining digits (even positions)  check digit = the number needed to bring the total result to end with 0 10

 detect 100% single position error and 98% common error 11

10-digit e.g. a 1 - a 2 a 3 a 4 a 5 - a 6 a 7 a 8 a 9 - a 10 ↑ ↑ ↑ ↑  sum = 10a 1 +9a 2 +8a 3 +7a 4 +6a 5 +5a 6 +4a 7 +3a 8 +2a 9 +1a 10 is divisible by 11  however, the 10 th digit (check digit) could be 10  solution: use “X” instead of “10”  detect 100% single position error and transposition error  another type: 13-digit, same as EAN published country publisheridentification number check digit 12

 The ISBN is the result of a transposition of two adjacent digits not involving the first or last digit.  Determine the correct ISBN. 13

 A series of dark and light spaces that represents characters Binary code  A system for representing data with two symbols Bar coding  Method for automated data collection 14

 A beam of light passes through the bars and spaces by scanning device  The differences in reflection intensities  Dark bars reflect less; light spaces reflect more 15

 most often encountered, first used on grocery items in 1973  translate 12-digit number into bars 12-digit number  two five-digit numbers in between two single-digit 16

12-digit:  1 st number (0) : kinds of product  next 5 digits (12345): manufacturer number  next 5 digits (67890): product number  last digit (5) : check digit 17

 digits are represented by a space divided into 7 modules of equal width  2 long bars with one-module thickness in each end  separated by a light space of one-module thickness  the modules are named as guard bar patterns 18

 separate the manufacturer’s number and the product number  not a part of identification number  5 modules: a light space, a long dark bar, a light space, a long dark bar, a light space 19

 one-module-thickness light space 0  one-module-thickness dark bar 1  code in the product number can be obtained from the code in the manufacturer’s number, vice versa 20

 replace 1 by 0, 0 by 1 Example  for manufacture’s number = for the product number  manufacture’s number : odd number of 1’s product number : even number of 1’s Determine whether the barcode is scanned from LHS or RHS  scanning can be done correctly 21

1. Prove that the ISBN detects 100% of the single position errors. 2. The following is an actual identification number and bar code from a roll of wallpaper. What appears to be wrong with them? Speculate on the reason for the apparent violation of the UPC format. (write at least two) 22

Extra : Compare the advantages and the disadvantages of the algorithm methods stated in class. Give examples on the purpose of each method. 23

Thank you! 24