In ascending bubble sort, which element is placed correctly after each pass?
AThe latest
BThe largest
CThe lightest
DThe lowest
Answer & Solution
Correct answer: B. The largest
1. Each pass pushes one extreme value to one end.
2. Larger values keep moving right.
3. The largest element is identified after each pass and placed at its correct position.
4. So the answer is the largest.
_Source: syllabus Computer Science, Ch 5 'Sorting' and Ch 6 'Searching'_
Keep practising Sorting and Searching
Browse all Sorting and Searching questions for IGNOU MCA, or explore more Computer Science topics.