Skip to content

Language

Sign in

← Back to the lesson

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.
Chapters that use this lab (3)

Printable activity sheet (paper version)

Ask Flint AI
Sorting algorithms · EduFlint