Computer science · Class 9 to 12 · virtual lab
Sorting algorithms
Goal: Watch bubble, selection and insertion sort work and compare how many steps each needs.
Six steps: predict, try, observe, record, explain and check. The Record step adds a row to your observation table, and the Check step scores your quick quiz.
Loading the lab…
What this lab simplifies
- Items are distinct whole numbers.
- Comparisons and swaps are counted exactly; time on a real computer also depends on the machine.
- Only three simple methods are shown.