question 1
Which slot does the method give the word hip?
the answer, and why
the answer is A
h is 8: 0 times 31 plus 8 is 8, which leaves 8. Then 8 times 31 plus 9 is 257, which leaves 10. Then 10 times 31 plus 16 is 326, which leaves 1.
if you chose another
- That adds the letters, 33, and keeps the remainder. The method multiplies by 31 before each letter.
- That is the remainder of p's 16 after dividing by 13, the last letter alone. Multiplying by 31 keeps every letter in the value.
- That reads the letters from the last, p first, as pih. The method starts at the first letter.