question 1
Which slot does the method give the word old?
the answer, and why
the answer is C
o is 15: 0 times 31 plus 15 is 15, which leaves 2. Then 2 times 31 plus 12 is 74, which leaves 9. Then 9 times 31 plus 4 is 283, which leaves 10.
if you chose another
- That adds the letters, 31, 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 dlo. The method starts at the first letter.