1 / 7

Analyzing Numerical Data: Validating Identification Numbers

Analyzing Numerical Data: Validating Identification Numbers. Credit Card Numbers. Learning About Credit Cards.

Télécharger la présentation

Analyzing Numerical Data: Validating Identification Numbers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Analyzing Numerical Data: Validating Identification Numbers Credit Card Numbers

  2. Learning About Credit Cards Identification numbers are present everywhere in society. Today’s identification numbers are more sophisticated than those introduced years earlier (for example, Social Security numbers). Today’s numbers have a check digit to partially ensure that they have been correctly scanned or entered into a computer. Credit cards have 16-digit numbers, of which the first 15 digits identify the credit card and the sixteenth digit is the check digit. The following figure shows the significance of the digits: MII stands for major industry identifier; 4 and 5 indicate “Banking and Financial.” VISA cards begin with 4 and MasterCard cards with 5.

  3. Learning About Credit Cards 1. MasterCard numbers begin with 51, 52, 53, 54, or 55. What is the maximum number of credit cards that MasterCard can issue? = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 5 10 10 10 10 10 10 10 10 10 10 10 10 10 1

  4. The “Check Digit” A check digit is used to help validate credit card numbers. The credit card companies use the Codabar method to determine the check digit. This method consists of the following steps: a. Add the digits in the odd-numbered positions and double this total. b. Add the number of odd-position digits that are more than 4 to the total. c. Add the even-position digits. d. Choose a check digit that makes this calculation total a number whose final digit is 0. NOTE: Libraries, shipping/receiving companies, and blood banks also use the Codabar method. 2. What is the check digit (d) for the VISA card 4162 0012 3456 789d? 2(4 + 6 + 0 + 1 + 3 + 5 + 7 + 9) + 4 [6, 5, 7, 9] + (1 + 2 + 0 + 2 + 4 + 6 + 8 + d ) = 2(35) + 4 + 23 + d = 97 + d , so d = 3 for the total to be a multiple of 10.

  5. The “Check Digit” A check digit is used to help validate credit card numbers. The credit card companies use the Codabar method to determine the check digit. This method consists of the following steps: a. Add the digits in the odd-numbered positions and double this total. b. Add the number of odd-position digits that are more than 4 to the total. c. Add the even-position digits. d. Choose a check digit that makes this calculation total a number whose final digit is 0. NOTE: Libraries, shipping/receiving companies, and blood banks also use the Codabar method. 3. What is the check digit for the MasterCard number 5424 9813 2720 008d? 2(5 + 2 + 9 + 1 + 2 + 2 + 0 + 8) + 3 [5, 9, 8] + (4 + 4 + 8 + 3 + 7 + 0 + 0+ d ) = 2(29) + 3 + 26 + d = 58 + 3 + 26 + d = 87 + d so d = 3 for the total to be a multiple of 10.

  6. The “Check Digit” A check digit is used to help validate credit card numbers. The credit card companies use the Codabar method to determine the check digit. This method consists of the following steps: a. Add the digits in the odd-numbered positions and double this total. b. Add the number of odd-position digits that are more than 4 to the total. c. Add the even-position digits. d. Choose a check digit that makes this calculation total a number whose final digit is 0. NOTE: Libraries, shipping/receiving companies, and blood banks also use the Codabar method. 4. find out whether this VISA card is a valid number: 4128 0012 4389 0110. 2(4 + 2 + 0 + 1 + 4 + 8 + 0 + 1) + 1 + (1 + 8 + 0 + 2 + 3 + 9 + 1 + 0) = 2(20) + 1 + 24 = 65, which does not end in 0 so this is NOT a valid cc#.

  7. Learning About Credit Cards Interesting Fact: The Codabar method detects 98% of all transposition errors.

More Related