To sort in ascending order, bubble sort places at the end of each pass the element that is:
ALeftmost
BLast read
CLargest
DLightest
Answer & Solution
Correct answer: C. Largest
1. Bigger values keep being swapped rightwards.
2. The biggest travels all the way to the end.
3. So the largest element is placed each pass.
_Source: syllabus Computer Science Class XII, Chapter 5, Sorting._
Keep practising Sorting Algorithms
Browse all Sorting Algorithms questions for Engineering — Tanzania, or explore more Computer Science topics.