CUET-UG SERIES
Computer-science

Sorting

10 previous year questions.

Volume: 10 Ques
Yield: Medium

High-Yield Trend

3
2024
7
2023

Chapter Questions
10 MCQs

01
PYQ 2023
medium
computer-science ID: cuet-ug-
Yash wrote a program for inserting and deleting data in a file, using Python, One of the functions, he used is incorrect. identify the incorrect function.
1
2
3
4
02
PYQ 2023
medium
computer-science ID: cuet-ug-
Sorting a large number of items can take a substantial amount of time is called ______.
1
Head
2
Overhead
3
Overflow
4
Outer flow
03
PYQ 2023
medium
computer-science ID: cuet-ug-
Consider a list [8, 7, 13, 1, -5, 4]
After 3rd pass of Bubble Sort, we get
1
[1, -5, 4, 7, 8, 13]
2
[1, -5, 7, 4, 8, 13]
3
[1, 7, -5, 4, 8, 13]
4
[7, 1, -5, 4, 8, 13]
04
PYQ 2023
medium
computer-science ID: cuet-ug-
In which of the following sorting, the smallest element is selected from the unsorted array and swapped with the leftmost element and that element becomes a part of sorted array ?
1
Bubble Sort
2
Selection Sort
3
Quick Sort
4
Merge Sort
05
PYQ 2023
medium
computer-science ID: cuet-ug-
Which statement is incorrect in relation to searching an element in a list :
1
Linear search checks the elements of a list, one at a time, without skipping any element
2
Binary search divides the list into two and check the element accordingly
3
Binary search always works on sorted list either ascending or descending
4
Linear search can be performed only if the list is sorted either ascending or descending
06
PYQ 2023
medium
computer-science ID: cuet-ug-
Consider the following number list [8, 7, 13, 1, -9, 4] After applying selection sort, which of the list is correct after Pass 3 ?
1
[-9, 8, 7, 13, 1, 4]
2
[-9, 1, 4, 13, 8, 7]
3
[-9, 1, 7, 13, 8, 4]
4
[-9, 1, 4, 7, 8, 13]
07
PYQ 2023
medium
computer-science ID: cuet-ug-
What is the number of passes made by bubble sort for a list containing n elements ?
1
n
2
10000 (n-1)
3
(n+1)
4
(n+2)
08
PYQ 2024
medium
computer-science ID: cuet-ug-
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
1
7, 18, 19, 9, 23, 12, 51, 54, 73
2
7, 9, 18, 19, 23, 51, 12, 54, 73
3
7, 9, 19, 18, 12, 23, 51, 54, 73
4
7, 9, 18, 19, 12, 23, 51, 54, 73
09
PYQ 2024
medium
computer-science ID: cuet-ug-
__________ compares neighboring elements only and swaps them when necessary?
1
Selection Sort
2
Bubble Sort
3
Insertion Sort
4
Quick Sort
10
PYQ 2024
medium
computer-science ID: cuet-ug-
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 1st pass of bubble sort to arrange the list in ascending order?
1
0
2
1
3
n - 1
4
n

About Sorting - CUET-UG

Sorting is a vital chapter for CUET-UG aspirants. Mastering the concepts covered in this chapter is essential for securing a top rank.

By rigorously practicing the previous year questions associated with this chapter, you can identify high-yield topics, understand the examiner's perspective, and boost your confidence during the actual exam.

Frequently Asked Questions

Why focus on Sorting PYQs?

Analyzing PYQs for this specific chapter reveals the most frequently tested concepts and the typical complexity of questions, allowing you to tailor your study plan efficiently.

How to best use this analysis?

Review the topic breakdown to see which sub-topics within Sorting carry the most weight. Then, tackle the questions iteratively to solidify your understanding.