Bubble Sort (Flowchart)

The flowchart depicts the algorithm for the bubble sort.

Flowchart for Bubble Sort

The flowchart shows the steps of bubble sort algorithm.

Bubble Sort (Flowchart)
Bubble Sort (Flowchart)

Bubble Sort algorithm includes the following steps:

1. Set N = Length of Array

2. Array[j] > Array[j + 1] (Decision)

  • if no - continue with the step 4

3. Swap Array[j] and Array[j+1]

4. Increment j (j++)

5. j < N - i - 1 (Decision)

  • if yes - continue with the step 2

6. Clear j (j = 0)

7. Increment i (i++)

8. i < N - 1 (Decision)

  • if yes continue with the step 2

9. Ordered Array

Download Bubble Sort Flowchart

The project file with the bubble sort flowchart can be download here. After downloading you can edit it using Software Ideas Modeler diagramming editor - you can download it here.

Bubble Sort (Flowchart)

New Comment