Question 77Asked in Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 2 (2:00 PM)

…………..compares neighbouring elements only and swaps them when necessary.…………..केवल अगल-बगल के तत्वों की तुलना करता है और आवश्यकता पड़ने पर उन्हें बदल देता है।

…………..केवल अगल-बगल के तत्वों की तुलना करता है और आवश्यकता पड़ने पर उन्हें बदल देता है।
  1. ASelection SortSelection Sort
  2. BBubble SortBubble Sort
  3. CInsertion SortInsertion Sort
  4. DQuick SortQuick Sort
Show answerHide answer

Correct answer: (B) Bubble SortBubble Sort

Explanation

Bubble sort compares adjacent (neighbouring) elements and swaps them if they are in the wrong order. Selection and insertion sort compare across the list.Bubble sort आसन्न (पड़ोसी) तत्वों की तुलना करती है और क्रम गलत हो तो अदला-बदली करती है। Selection और insertion sort सूची में दूर तक तुलना करती हैं।

From Bihar STET 2025 Paper II Computer Science PYQ, 3 Nov 2025, Shift 2 (2:00 PM)

This is question 77 of Bihar STET 2025 Paper II Computer Science PYQ, 3 Nov 2025, Shift 2 (2: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.