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 merge sort's own run on the numbers shown.
choose one
1question 1
Merge sort works on 8, 1, 6, 7, 9, 5. What is the row just after its fourth merge?
the answer, and why
the answer is C
Round 1 merges three pairs, giving 1, 8, 6, 7, 5, 9. Merge 4 joins the first two pairs while the last pair waits: 1, 6, 7, 8, 5, 9.
if you chose another
AThat is after merge 3, the end of round 1.
BThat is the end, after merge 5.
DRound 1 merges the last pair too, so 9, 5 becomes 5, 9.