The test's questions that a run answers, asked again on new numbers whenever you like. The answer, its working and the reason for every other choice come from interpolation search's own run on the numbers shown.
choose one
1question 1
Interpolation search looks for 63 in 12, 20, 31, 44, 58, 63, 79, 85, 97. At which place does its first guess land?
the answer, and why
the answer is C
The line from 12 to 97 meets 63 at place 5.8. Rounded down, that is place 5, which holds 58. The second guess then finds 63.
Looking for 63: the line meets it at place 5.8, so guess 1 is place 5, which holds 58, too small.
the line from the smallest remaining to the biggest
the number wanted, read across
where they meet, as a place
the guess, that place rounded down
The line meets 63 at place 5.8, so the first guess is place 5.
if you chose another
A63 stands at place 6, but the guess is the crossing rounded down, 5.
BThat needs a far bigger last number, making the line climb steeply.
DPlace 9 holds 97, the biggest. Only 97 is guessed there first.