Week 10 Lecture Notes

Week 10 Lecture Notes - 4. Credit Card # : same as number...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
March 10: Lecture 28 No Announcements Refer to Worksheet Attached on Language Modeling
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
March 12: Lecture 29 Announcements Final : Monday, 11:30-2:30 o Non-graphing Calculators permitted, Bring Pink Scantrons o Provided : Vigenere Square, Table 26 on Page 265 of The Code Book o Sunday Review Session o Professor Kehler’s Office Hours : Friday 2-3:30 Assignment 5 Answers 1. (c) because it is furthest off from average of 10 1’s and 10 0’s 2. (b) because furthest off from even amount of 00, 01, 10, 11 3. Visa Card # : Right to left, odd is as is and even doubled (if ten or more, subtract nine) and sum(mod 10) = 0 Thus, (e) because changing 3 to 2 changes the sum from 71 to 70
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 4. Credit Card # : same as number 3, sum(mod 10) = 0 and sum without ? = 69 Thus, 1 is correct, because it makes the sum = 70(mod 10) = 0 5. UPC : Left to Right, Triple Odd and just bring down the Even, sum(mod 10) = 0 Thus, 5 is correct answer, because tripling 5 lowers the sum 6, making sum= 100(mod 10)= 0 6. ISBN : Left to Right, Multiply each number by its position, sum(mod 11) = check digit Thus, sum = 112(mod 11) = 2 7. ISBN : sum(mod 11) = 10 and sum = 204 10 when you take (mod 11) of it (b) because it makes the sum = 186(mod 11) = 10...
View Full Document

Page1 / 2

Week 10 Lecture Notes - 4. Credit Card # : same as number...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online