>
Exams
>
Computer Science
>
Sorting
>
consider the following number list 8 7 13 1 9 4 af
Question:
Consider the following number list [8, 7, 13, 1, -9, 4] After applying selection sort, which of the list is correct after Pass 3 ?
CUET (UG) - 2023
CUET (UG)
Updated On:
Feb 18, 2026
[-9, 8, 7, 13, 1, 4]
[-9, 1, 4, 13, 8, 7]
[-9, 1, 7, 13, 8, 4]
[-9, 1, 4, 7, 8, 13]
Hide Solution
Verified By Collegedunia
The Correct Option is
B
Solution and Explanation
The correct option is (B) : [-9, 1, 4, 13, 8, 7]
Download Solution in PDF
Was this answer helpful?
0
0
Top Questions on Sorting
__________ compares neighboring elements only and swaps them when necessary?
CUET (UG) - 2024
Computer Science
Sorting
View Solution
What will be the result after pass 2 using Bubble Sort, if we are sorting elements in ascending order?
Initial List: 7 19 18 9 23 51 12 54 73
CUET (UG) - 2024
Computer Science
Sorting
View Solution
If a list contains ’n’ number of elements and all the elements are by default sorted in ascending order, how many comparisons will be required during 1
st
pass of bubble sort to arrange the list in ascending order?
CUET (UG) - 2024
Computer Science
Sorting
View Solution
Sorting a large number of items can take a substantial amount of time is called ______.
CUET (UG) - 2023
Computer Science
Sorting
View Solution
Consider a list [8, 7, 13, 1, -5, 4]
After 3rd pass of Bubble Sort, we get
CUET (UG) - 2023
Computer Science
Sorting
View Solution
View More Questions
Questions Asked in CUET exam
Find the ratio of de-Broglie wavelengths of deuteron having energy E and \(\alpha\)-particle having energy 2E :
CUET (UG) - 2026
Dual nature of radiation and matter
View Solution
If 36: 84 :: 42: X, then the value of X, is:
CUET (UG) - 2025
Ratio and Proportion
View Solution
5, 10, 17, 26, ?, 50 — Find the missing number.
CUET (UG) - 2025
Number Series
View Solution
The area (in sq. units) of the region bounded by the parabola y2 = 4x and the line x = 1 is
CUET (UG) - 2025
Application of Integrals
View Solution
Ram purchased a watch at a cost of \( \left(\frac{9}{10}\right)^{th} \) of the original cost and sold at 8% more than the original cost. His profit/loss is
CUET (UG) - 2025
Profit and Loss
View Solution
View More Questions