CUET-UG SERIES Computer-science
Data Structures
12 previous year questions.
Volume: 12 Ques
Yield: Medium
High-Yield Trend
5
2025 7
2023 Chapter Questions 12 MCQs
01
PYQ 2023
medium
computer-science ID: cuet-ug-
Match List I with List II
| LIST I | LIST II |
|---|---|
| A. Stack | IV. LIFO |
| B. EOF | III. Exception |
| C. Tree | II. Non-linear Data Structure |
| D. Queue | I. FIFO |
1
A-IV, B-III, C-II, D-I
2
A-II, B-III, C-IV, D-I
3
A-I, B-II, C-III, D-IV
4
A-IV, B-III, C-I, D-II
02
PYQ 2023
medium
computer-science ID: cuet-ug-
What is the term for inserting into a full queue known as?
1
Overflow
2
Underflow
3
Null pointer exception
4
Program won't be compiled
03
PYQ 2023
medium
computer-science ID: cuet-ug-
Insertion and deletion in a queue takes place respectively at which end? A. Front
B. Rear
C. Middle
D. Second element from right end
E. Second element from left end
B. Rear
C. Middle
D. Second element from right end
E. Second element from left end
1
B and A only
2
A and B only
3
C and E only
4
D and E only
04
PYQ 2023
medium
computer-science ID: cuet-ug-
A class teacher wants to manage her class Result in her computer using Pandas. Help her to choose the data structure which is best suited for her to manage class result.
1
Series
2
Numpy Array
3
DataFrame
4
List
05
PYQ 2023
medium
computer-science ID: cuet-ug-
Which term is used to add an element into a stack?
1
PUSH
2
PULL
3
SEEK
4
POP
06
PYQ 2023
medium
computer-science ID: cuet-ug-
Which of the following is/are correct about double ended queue ?
A. Insertion and deletion operation perform only at rear side
B. Insertion and deletion operation perform only at front end
C. Insertion and deletion operation performs at both front and rear end
D. Vehicles in a high-way toll tax booth are served following the principles of deque
E. To implementation of deque used list data type in python
Choose the correct answer from the options given below :
A. Insertion and deletion operation perform only at rear side
B. Insertion and deletion operation perform only at front end
C. Insertion and deletion operation performs at both front and rear end
D. Vehicles in a high-way toll tax booth are served following the principles of deque
E. To implementation of deque used list data type in python
Choose the correct answer from the options given below :
1
A, B, C and D only
2
A, B, D and E only
3
C, D and E only
4
C and E only
07
PYQ 2023
medium
computer-science ID: cuet-ug-
A loop within a loop (nested loop) have time complexity ______.
1
n
2
n2
3
n+1
4
n3
08
PYQ 2025
medium
computer-science ID: cuet-ug-
What is the time complexity of a binary search algorithm on a sorted array?
1
O(n)
2
O(log n)
3
O(n log n)
4
O(n²)
09
PYQ 2025
easy
computer-science ID: cuet-ug-
Which data structure follows the Last-In-First-Out (LIFO) principle?
1
Queue
2
Stack
3
Linked List
4
Array
10
PYQ 2025
medium
computer-science ID: cuet-ug-
In the context of graph algorithms, what is the significance of Dijkstra’s algorithm?
1
It finds the shortest path in a weighted graph with non-negative weights
2
It detects cycles in a directed graph
3
It computes the minimum spanning tree
4
It performs topological sorting
11
PYQ 2025
medium
computer-science ID: cuet-ug-
Which sorting algorithm has the best average-case time complexity?
1
Bubble Sort
2
Selection Sort
3
Quick Sort
4
Insertion Sort
12
PYQ 2025
medium
computer-science ID: cuet-ug-
In a binary tree, what is the maximum number of nodes at level k?
1
2
3
4