Count the passes
Exercise and reference answers
- Questions
- Answer
- 9
- Question
- A selection sort on 10 elements makes how many passes?
- Answer
- 5
- Question
- A bubble sort on 6 elements makes how many passes?
- Answer
- 3
- Question
- How many sorting methods does this material cover?
- Instructions
- Type the number only.
Explanation
_Source: syllabus Computer Science, Ch 5 'Sorting' and Ch 6 'Searching'_