Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.
Fun, engaging games to boost memory, math fluency, typing speed, and English skills—perfect for learners of all ages.
Sorting is crucial for efficient searching and statistical analysis, where sorted data allows for fast retrieval of information and easier subsequent calculations. Selection sort is presented as a basic sorting algorithm that iteratively selects the smallest elements and organizes them in order, either through creating a new list or swapping elements in place. The algorithm has a time complexity of O(n²), making it less efficient for larger datasets.
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.
References
ch11.pdfClass Notes
Memorization
What we have learnt
Final Test
Revision Tests
Term: Selection Sort
Definition: A sorting algorithm that sorts an array by repeatedly selecting the minimum element from the unsorted segment and moving it to the sorted segment.
Term: Time Complexity
Definition: A computational complexity that describes the amount of time an algorithm takes to complete as a function of the length of the input.
Term: Linear Time and Logarithmic Time
Definition: Linear time refers to an algorithm's time that increases linearly with the input size, while logarithmic time increases logarithmically, making it faster for large datasets.