Consider the array [5, 1, 4, 2, 8]. After the first pass of Bubble Sort to sort array elements in ascending order, what is the state of the array?
Show answerHide answer
Correct answer: (B) [1, 4, 2, 5, 8]
Correct answer: (B) [1, 4, 2, 5, 8]
This is question 77 of BEL PE Computer Science PYQ, 20 Dec 2025 (5:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.