Mathematics in Management Science

Slides:



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

Identification Numbers
Chapter 16: Check Digit Systems
Information Representation
Numbers in Our Pockets GCNU 1025 Numbers Save the Day.
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.
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
CSE 111 Representing Nonnumeric Data in a Computer.
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 105 Spring  We’re probably most familiar with seeing bar codes on the products we buy in the grocery store  However, machine-readable codes.
Lesson 2 0x Coding ASCII Code.
Spring 2015 Mathematics in Management Science Binary Linear Codes Two Examples.
MAT 1000 Mathematics in Today's World Winter 2015.
PrasadDigital Roots1 VEDIC MATHEMATICS : Digital Roots/Sums T. K. Prasad
Generating Intelligent Mail ® Barcodes March 2008.
Chapter 16: Identification Numbers Lesson Plan
Codebreaking in Everyday Life John D Barrow. 10 x 10 x 10 x 10 seconds  2.75 hours.
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.
Digital Logic Chapter 2 Number Conversions Digital Systems by Tocci.
MAT 1000 Mathematics in Today's World Winter 2015.
BAR CODE SCANNER A.ANUSHA (06N61A0402). What is bar code? A barcode is a machine readable representation of information. Barcode stores data in widths.
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.
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.
Chapters 16 & 17 Sarah Cameron 18 March  Review of Modular Arithmetic  Identification Numbers ZIP Codes Bar Codes  Binary Codes  Encryption.
Lecture Binary and Hexadecimal Numbers. How Machines Think Computers handle two types of information: –Instructions –Data The "words" of a machine language.
Spring 2015 Mathematics in Management Science Identification Numbers Data Security Check Digits UPCs, Routing Nos, Bar Codes Personal Data.
Math for Liberal Studies.  A binary code is a system for encoding data made up of 0’s and 1’s  Examples  Postnet (tall = 1, short = 0)  UPC (dark.
Protocol The status of assignments will be kept on the web. To protect identity, you will be assigned a UNIQUE 3 character code. That is the only identifier.
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.
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.
Page 1 Data Structures in C for Non-Computer Science Majors Kirs and Pflughoeft Basic Data Types Characters vs. Numbers Adding in Binary: There are only.
Verification & Validation. Batch processing In a batch processing system, documents such as sales orders are collected into batches of typically 50 documents.
Binary Bracelets. Objectives Encode letters into binary Decode binary back to letters Relate the idea of storing initials on a bracelet to the idea of.
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.
ECE 101 An Introduction to Information Technology Information Coding.
Hamming (4,7) Code Binary Linear Codes Hamming Distance Weight of BLC
Weighted Codes, Codabar, ISBN & Code 39 Sol: DM.11 Classwork: worksheet Homework (day 47): worksheet.
Lesson 6 Binary Understand what Binary Code means and apply this knowledge Understand how data is represented using bit systems and be able to change 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)
DATA COLLECTION Data Collection Data Verification and Validation.
IMB – 4 State Barcode Buskro Opportunities
Analyzing Numerical Data: Validating Identification Numbers
Introduction to Chapter 2
FE – FI – FO – FIM Bars An Introduction to Facing Identification Marks and POSTNET bar coding on Envelopes.
Chapter 16: Identification Numbers Lesson Plan
Data Encoding Characters.
Keeper 8: UPC Codes S.A.S. #12 1 – 3 Credit Cards S.A.S. #
MAT 105 Spring 2008 Chapter 17: Binary Codes.
The Digital Revolution
MAT 105 Fall 2008 Bar Codes.
Binary and Hexadecimal Numbers
Credit Cards UPC Codes.
UPC, Bar codes, Zip + 4 (Post Net) Sol: DM.11
Fundamentals of Data Representation
Chapter 16: Check Digit Systems, Continued
Chapter 16: Identification Numbers Lesson Plan
Automatic Identification and Data Collection Technology
Arithmetic Circuits.
Presentation transcript:

Mathematics in Management Science Check Digits Examples BINs Codabar Mathematics in Management Science Spring 2015

Check Digits Start with pre-id number. Use this to calculate check digit. Get id number. Sender calculates (via appropriate scheme) check digit and transmits the id number. Receiver uses check digit to detect errors (and fraud). (direct vs indirect)

BIN – aka Bank Routing Numbers Length of ID: 8 + check digit a1a2a3a4a5a6a7a8 c Calculating check digit: c = 7a1+3a2+9a3+7a4+3a5+9a6+7a7+3a8 mod 10 Errors detected/not detected: All single digit errors & 87% of other errors. A direct weighted division by 10 scheme (with wts 7, 3, 9).

Example Find check digits for the Bank routing number 02601288c. Weights are 73973973. Weighted sum of all these is 6+54+3+18+56+24=161 So c =161 mod 10 =1. The complete routing number is 026012881.

Example Find check digits for the Bank routing number 05300021c. Weights are 73973973. Weighted sum of all these is 15+27+14+3=59 So c = 59 mod 10 = 9. The complete routing number is 053000219.

Codabars: Credit Cards Length of ID: 15 + check digit a1a2a3a4a5a6a7a8 a9a10a11a12a13a14a15 c Calculating check digit: Let S = 2a1+a2+2a3+a4+2a5+a6+2a7+a8 +2a9+a10+2a11+a12+2a13+a14+2a15 Let T be number of 2-digit summands in S. Choose c so that S + T + c ends in 0. Errors detected/not detected: All single digit errors & 98% of other errors.

Find check digits for credit card number Example Find check digits for credit card number 4719 2688 1045 710c. Wts 2121 2121 2121 212 Wtd sum S = 8+7+2+9+4+6+16+8+2+8+5+14+1= 90. Then T = 2 , and S + T + c = 92 + c, so c = 8 . The complete credit card number is 4719 2688 1045 7108.

What is a bar code? ZIP Code Bar Codes UPC Bar Codes AirLine Bar Codes Mathematics in Management Science Spring 2015

Bar Codes Enables automated data collection; machine readable. Id number is changed into a bar code. Decoded using optical scanner--beam of light passes over the code Scanner detects differences in reflection intensities (black vs. white bars). These converted to string of 0’s&1’s that represent numbers and letters. These strings give binary code. Bar Code – dark bars and light spaces that encode characters Binary Code – system that represents data with only two symbols

ZIP Codes Id nos that encode geographic data 1963 USPS numbered every post office with 5-digit ZIP code — 0 for points far east, — 9 for points west. 1983 USPS added four digits to get ZIP + 4 code.

All single digit errors; no transppositions. ZIP + 4 Codes Length of ID: 9 + check digit a1a2a3a4a5a6a7a8 a9 c Calculating check digit: Choose c so that a1+a2+a3+a4+a5+a6+a7+a8 a9+c ≡ 0 mod 10. That is, pick c so that above sum ends in 0. Only see c in the bar code! Errors detected/not detected: All single digit errors; no transppositions.

Example Find the check digit for the ZIP+4 code: 45221-0025. 4+5+2+2+1+0+0+2+5+c = 21+c Therefore, c = 9 .

ZIP Code Bar Codes Called Postnet code; simplest bar code.

Check digit chosen so the sum all digits is divisible by 10. POSTNET Bar Codes Encodes ZIP code digits plus a check digit. Table gives code. Every pattern has 3 short bars 2 long bars Check digit chosen so the sum all digits is divisible by 10.

UPC Bar Code UPC bar codes first used on grocery items in 1973; has since spread to most retail products.

UPC Bar Code

Other Bar Codes POSTNET and UPC bar codes are human-readable. Airline bar codes and Intelligent Mail bar codes purely machine readable.

IM Bar Codes 65 bars of different length. Each bar in one of 4 possible states: A short bar (tracker) A medium length bar up (ascender) A medium length bar down (descender) A long bar (full bar).

IM Bar Codes

Coding License Numbers Some states assign driver’s license numbers that encode personal data. Personal data that may be encoded are name, sex, and date of birth. Coding license numbers solely from personal data enables automobile insurers, government entities, and law enforcement agencies to determine the number from the personal data.

Social Security Numbers No personal data encoded in SSN. Social Security numbering scheme predates computers. The only personal information can be deduced from SSN is where holder obtained it. The first three digits show (the state usually) where the applicant applied, with a few exceptions.