1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 11
  4. Bubble sort works by:

Added 16 Nov 2026

Bubble sort works by:

  1. Dividing the list
  2. Swapping adjacent elements Correct answer
  3. Searching for a value
  4. Merging lists

Correct answer

B. Swapping adjacent elements

11 views

MCQSEXAM

Explanation

Bubble sort repeatedly compares adjacent elements and swaps them if they are in the wrong order. Larger elements “bubble” to the end.

Reference

Asked in: Matric,FBISE

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Science FBISE Class 11 MCQs

Practise all Computer Science FBISE Class 11 MCQs

Similar MCQs