guess the next step: Selection sort
Before each step plays, guess what it does. The page then shows the step as the run takes it and says why, the same sentence the watch page says there.
Step 49 of 61
Question 31 of 35
Step 49 of 61
Step 50 of 61
Step 51 of 61
Step 52 of 61
Step 53 of 61
Step 55 of 61
Step 56 of 61
Step 57 of 61
Step 58 of 61
Question 31 of 35
Question 31 of 35
Right.
You guessed: 42 is smaller than 56, so 42 is the smallest so far.
What the run did:
42 is smaller than 56.
Question 31 of 35
Not this time.
You guessed: 42 is not smaller than 56, so 56 stays the smallest so far.
What the run did:
42 is smaller than 56.
Question 32 of 35
Question 32 of 35
Not this time.
You guessed: 49 is smaller than 42, so 49 is the smallest so far.
What the run did:
49 is not smaller than 42, so 42 is still the smallest so far.
Question 32 of 35
Right.
You guessed: 49 is not smaller than 42, so 42 stays the smallest so far.
What the run did:
49 is not smaller than 42, so 42 is still the smallest so far.
Question 33 of 35
Question 33 of 35
Right.
You guessed: The smallest left swaps into this place.
What the run did:
Swap 42 into the place, and 56 goes where 42 was.
Question 33 of 35
Not this time.
You guessed: The smallest left is already in this place, so nothing moves.
What the run did:
Swap 42 into the place, and 56 goes where 42 was.
Question 34 of 35
Question 34 of 35
Right.
You guessed: 49 is smaller than 56, so 49 is the smallest so far.
What the run did:
49 is smaller than 56.
Question 34 of 35
Not this time.
You guessed: 49 is not smaller than 56, so 56 stays the smallest so far.
What the run did:
49 is smaller than 56.
Question 35 of 35
Question 35 of 35
Right.
You guessed: The smallest left swaps into this place.
What the run did:
Swap 49 into the place, and 56 goes where 49 was.
That is every question on this run: 1 of 35 right.
Question 35 of 35
Not this time.
You guessed: The smallest left is already in this place, so nothing moves.
What the run did:
Swap 49 into the place, and 56 goes where 49 was.
That is every question on this run: 0 of 35 right.