Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is sorting?
Think about the order of numbers.
Name a simple sorting algorithm.
Consider the algorithm we discussed that selects the smallest value.
What is the primary purpose of sorting?
Think about how we discussed searching efficiency.
True or False: Selection sort runs in linear time.
Recall our discussion on selection sort's efficiency.
Analyze the selection sort's efficiency compared to bubble sort in terms of best and worst-case scenarios. Discuss your findings.
Consider their scanning methods and how they might handle ordered data.
Create an example where sorting using selection sort would be inefficient. Describe the initial conditions and the output after sorting.
Think about what types of data might not be conducive to this approach.
5 more questions in this section. Enroll free to practise them all.
Enroll free