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 quickselect's own run on the numbers shown.
choose one
1question 1
Quickselect looks for place 2 in 38, 61, 14, 52, 27, 45. What is the row just after its first pivot is placed?
the answer, and why
the answer is C
The pivot is 45. 38 stays, 14 swaps with the 61, then 27 swaps with the 61. 45 swaps with the 52 just after them, to place 4.
The first split, a row for each step, the pivot 45.
if you chose another
AThat is the whole row in order. Quickselect never sorts it.