question 1
Which slot does the method give the word lid?
the answer, and why
the answer is C
l is 12: 0 times 31 plus 12 is 12, which leaves 12. Then 12 times 31 plus 9 is 381, which leaves 4. Then 4 times 31 plus 4 is 128, which leaves 11.
if you chose another
- That adds the letters, 25, and keeps the remainder. The method multiplies by 31 before each letter.
- That is the remainder of d's 4 after dividing by 13, the last letter alone. Multiplying by 31 keeps every letter in the value.
- That reads the letters from the last, d first, as dil. The method starts at the first letter.