Start learning →

In bubble sort, which element moves to its sorted position in pass 1?

AThe largest element
BThe smallest element
CThe middle element
DThe second element
Answer & Solution
Correct answer: A. The largest element
The largest element wins every swap and reaches its final spot in pass 1.
Practise this question with Quill — ICSE Class 10 →

Keep practising Arrays in Java (Single and Double Dimensional)

Browse all Arrays in Java (Single and Double Dimensional) questions for ICSE Class 10, or explore more Computer Applications topics.

Start a Arrays in Java (Single and Double Dimensional) lesson →