Simu-bubble --- Introduction ---

The bubble sort is the oldest and simplest sort in use. Unfortunately, it's also the slowest.

The bubble sort works by comparing each item in the list with the item next to it, and swapping them if required. The algorithm repeats this process until it makes a pass all the way through the list without swapping any items (in other words, all items are in the correct order). This causes larger values to "bubble" to the end of the list while smaller values "sink" towards the beginning of the list.

Simu-bubble is an interactive exercise designed to help you to understand how a bubble sort works. The computer presents a list of random order to you, and ask you to sort it step by step, until the required order, according to the bubble sort.

 Number N of elements to sort: 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Type of objects to sort: Numbers from 1 to N Random numbers First N alphabetic letters Random alphabetic letters
In order to access WIMS services, you need a browser supporting forms. In order to test the browser you are using, please type the word wims here: and press Enter''.