click below
click below
Normal Size Small Size show me how
Chapter 9
Advanced Array Concepts
Term | Definition |
---|---|
Sorting | The process of arranging a series of objects in some logical order |
Sorting in Ascending Order | When you place objects in order beginning with the object that has the lowest value |
Sorting in Descending Order | When you place objects in order beginning with the object that has the largest value |
Algorithm | A process or set of steps that solve a problem |
Bubble Sort Algorithm | In this algorithm, you continue to compare pairs of items, swapping them if they are out or order, so that the smallest items "bubble" to the top of the list, eventually creating a sorted list |