Start learning →

Match bubble passes: 1. Pass 1: p. Move max 2. Flag: q. Early exit 3. Adapt: r. Fast sort

A1-p, 2-q, 3-r
B1-p, 2-r, 3-q
C1-q, 2-p, 3-r
D1-r, 2-p, 3-q
Answer & Solution
Correct answer: A. 1-p, 2-q, 3-r
The first pass places the maximum element at the end, tracking swaps allows early completion, and nearly sorted lists finish rapidly.
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 →