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 linear search's own run on the numbers shown.
choose one
1question 1
Linear search looks for 69 in 87, 69, 69, 99, 77. At which place does it stop?
the answer, and why
the answer is D
It looks at each number from place 1 until 69 at place 2, which is the number wanted. It stops there.
if you chose another
AThat is the second 69. The search stops at the first.
BPlace 1 holds 87, which is not 69.
CPlace 5 is reached only when the number is not there, or stands last. Here it stands at place 2.