Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lecture 13. 1. Delete all occurrences of h and w. 2. Assign numbers to the remaining letters as follows: a) Vowels, including y, have value 0. b) B, f,

Similar presentations


Presentation on theme: "Lecture 13. 1. Delete all occurrences of h and w. 2. Assign numbers to the remaining letters as follows: a) Vowels, including y, have value 0. b) B, f,"— Presentation transcript:

1 Lecture 13

2 1. Delete all occurrences of h and w. 2. Assign numbers to the remaining letters as follows: a) Vowels, including y, have value 0. b) B, f, p, v have value 1 c) C, g, j, k, q, s, x, z have value 2 d) D and t have value 3 e) L has value 4 f) M and n have value 5 g) R has value 6 3. If two or more letters with the same numerical value are next to each other, omit all but the first. 4. Delete the first character of the original name if it is still present. 5. Delete all vowels. 6. Keep only the first three digits corresponding to the remaining letters.

3  Take the name Valenzuela.  Delete h and w and nothing changes.  Assign numbers: 1040520040  Same value next to each other so drop the ‘e’ to get Valenzula  Delete first letter: alenzula  Delete all vowels: lnzl  Keep first three digits: 452  Soundex code is V-452

4  Take the name Pina.  Delete all h and w to remain the same.  Assign numbers to get: 1050  No numbers identical next to each other.  Delete the first letter: ina  Delete all vowels: n  We don’t have three digits so we add trailing zeros as needed: 500  Soundex code is P-500

5  Assume every month has 40 days (not true but necessary for the process).  Assign to each day of the year a three digit number.  For women, add 500 to the three digit date, for men use the original three digit date.  Use last two digits of the year of birth with the three digit number to create the code.

6  Alexzander was born on March 7, 2005. Find his Florida license code.  March has two full months (Jan and Feb) of 40 days each plus the 7 days of March to make 87 days. This translates to day 087 of the calendar.  As a male we leave the number alone then add in the digits of his year of birth to arrive at 0-5087 as his Florida license code.

7  Taryn was born October 18 th, 2009. Find her Florida license number.  October is the 10 th month so there are 9 full months of 40 days plus another 18 for a calendar day of 9(40) + 18 = 378.  As Taryn is female, add 500 to the result to get 878.  Next account for the year of birth to get Florida code 0-9878.

8  A VIN is a 17 digit code that tells a lot about a motor vehicle and contains both numbers and letters.  Letters of O, Q, and I are not allowed as they resemble the numbers 0 and 1 too easily.  The check digit is in the ninth spot of the 17- digit number

9  Assign letters A – I numbers 1 – 9, J – R are 1 – 9, and S – Z are 2 – 9.  Weighting system is to multiply by 8, 7, 6, 5, 4, 3, 2, 10, skip CD, 9, 8, 7, 6, 5, 4, 3, and 2, then add the results.  Check digit is remainder when the sum is divided by 11. If the remainder is 10, we use a check digit of X.

10  Find missing check digit of the VIN 1HGBH41J?MN109186.  Convert the letters to their corresponding numbers: 18728411?45109186  Multiply by weights: 8(1)+7(8)+6(7)+5(2)+4(8)+3(4)+2(1)+10(1)+9(4)+ 8(5)+7(1)+6(0)+5(9)+4(1)+3(8)+2(6) = 8+56+42+10+32+12+2+10+36+40+7+0+45+4+24+12 = 340.  340/11 = 30 with remainder 10. The remainder is not a single digit so we use the letter X as check digit.


Download ppt "Lecture 13. 1. Delete all occurrences of h and w. 2. Assign numbers to the remaining letters as follows: a) Vowels, including y, have value 0. b) B, f,"

Similar presentations


Ads by Google