Question
Easy

........... Sorting compares two adjoining values and exchange them if they are not in proper order.

1
Selection
2
Heap
3
Bubble
4
Insertion
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter:
Topic:
Correct Answer
Option C
Explanation

The correct option is (3): The sorting algorithm defined by the rule of comparing two adjoining values and exchanging them if they are not in the proper order is Bubble Sort. This algorithm repeatedly makes passes over the entire list. In each pass, it compares every pair of adjacent items, and if the element on the left is greater than the element on the right (for ascending order), they are…Read More