Start learning →

Count the passes

Exercise and reference answers

Questions
  1. Answer
    9
    Question
    A selection sort on 10 elements makes how many passes?
  2. Answer
    5
    Question
    A bubble sort on 6 elements makes how many passes?
  3. 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'_
Continue learning with Quill →

Browse more GATE CSE questions and exercises →