Data Structures and Algorithms: what's likely to come
Every real question from 13 past papers across 5 years (board + internal assessments each year) mapped to its official syllabus unit. Each prediction shows its receipt: the actual years it appeared.
13 papers across 5 years
This program sits several exams each year: one official board exam plus internal assessments. Every sitting is analysed.
Topic predictions, ordered by what to study first
Every syllabus unit scored by how often it appears, its mark-weight, and its trend. See the exact questions behind each unit in the Explore-by-unit section below.
| # | Syllabus unit | Probability | Appeared | Avg marks | Syllabus weight | Exam vs syllabus | Trend | Questions |
|---|---|---|---|---|---|---|---|---|
| 1 | U2Stack | Very likely100% | 18.6 | 12%6 lecture hrs | Balancedexam 16% · syllabus 12% | Steady | 4 recurring6 total | |
| 2 | U5Lists | Very likely100% | 18.6 | 17%8 lecture hrs | Balancedexam 16% · syllabus 17% | Steady | 4 recurring10 total | |
| 3 | U8Trees and Graphs | Very likely80% | 25.5 | 17%8 lecture hrs | Balancedexam 17% · syllabus 17% | Rising | 5 recurring12 total | |
| 4 | U7Searching and Hashing | Very likely100% | 15 | 15%7 lecture hrs | Balancedexam 13% · syllabus 15% | Steady | 5 recurring6 total | |
| 5 | U3Queue | Very likely100% | 11.4 | 8%4 lecture hrs | Balancedexam 10% · syllabus 8% | Steady | 2 recurring10 total | |
| 6 | U4Recursion | Very likely100% | 11.4 | 8%4 lecture hrs | Balancedexam 10% · syllabus 8% | Steady | 3 recurring6 total | |
| 7 | U1Introduction to Data Structures & Algorithms | Very likely100% | 10.8 | 6%3 lecture hrs | Balancedexam 9% · syllabus 6% | Steady | 4 recurring7 total | |
| 8 | U6Sorting | Very likely80% | 13.5 | 17%8 lecture hrs | Under-examinedexam 9% · syllabus 17% | Rising | 3 recurring5 total |
Explore by unit: every question, ranked
Pick a syllabus unit and walk its questions from most-important to asked-once. The fastest way to revise one topic end to end.
What are different applications of stack? Convert to postfix using stack. (2 + 4)
OR
Compare linear queue with circular queue. How do you implement circular queue? (2 + 4)
How do you implement push and pop operations of stack?
Convert ((A-B)\C - (D - E))$(F+G)$ to prefix and postfix. (1.5 + 1.5)
Explain algorithm for evaluating postfix expression using suitable example. (6)
Explain algorithm to convert an infix expression to postfix using stack. Use this algorithm to convert into postfix. (3 + 3)
OR
List some applications of stack. How do you implement stack using linked list? (1 + 5)
Explain algorithm to evaluate the value of postfix expression using stack with suitable example. (6)
OR
Compare linear queue with circular queue. How do you implement enqueue and dequeue operations in queue? Explain. (2 + 4)
Most-asked questions across all years
The questions that come back exam after exam, grouped across years and ranked by how often they're asked. Open one to read its real past answer.
How do you insert and remove nodes in a singly linked list? (6)
What are different applications of stack? Convert to postfix using stack. (2 + 4)
OR
Compare linear queue with circular queue. How do you implement circular queue? (2 + 4)
What is AVL tree. Construct AVL tree for the sequence 21, 26, 30, 9, 4, 14, 28, and 18. (1 + 5)
Define collision in hashing. Suppose, the set of keys is , , and . Show the effect of successively inserting these keys using quadratic probing. (2 + 4)
Explain binary search in brief. What is its time complexity? (2 + 1)
Compare big-oh (), omega (), and theta () notations.
What is divide-and-conquer strategy. Trace the execution of quick sort algorithm with the array of numbers 35, 27, 71, 31, 55, 17, 26, 15, 81, and 11. (2 + 4)
OR
Trace the execution of heap sort algorithm with the array of numbers 35, 27, 71, 31, 55, 17, 26, 15, 81, and 11. (6)
What is graph traversal? Explain depth first search (DFS) algorithm for traversing graphs with example. (1 + 5)
Lowest priority: asked only once (32)
- U22082
Explain algorithm to convert an infix expression to postfix using stack. Use this algorithm to convert into postfix. (3 + 3)
OR
List some applications of stack. How do you implement stack using linked list? (1 + 5)
- U72082
What is double hashing? Suppose, the set of keys is , , and . Show the effect of successively inserting these keys using linear probing. (2 + 4)
- U32081
Define queue. How do you implement circular queue using array data structure? (1 + 5)
OR
What is priority queue? Explain tail recursion with suitable example. (1.5 + 4.5)
- U32081
Explain priority queue in detail. What are different ways to implement priority queue? (2 + 4)
OR
Define queue. How do you implement queue operations using in array structure? Explain. (1 + 5)
- U32081
Explain priority queue in detail. What are different ways to implement priority queue? (2 + 4)
OR
What do you mean by overflow and underflow? Explain algorithm to evaluate postfix expression using stack. (2 + 4)
- U42081
Define tail recursion. Explain recursive algorithm to solve Tower of Hanoi problem. (2 + 4)
- U52081
How can you insert and remove elements in singly linked list? Explain. (6)
- U62081
What is external sorting? Trace the execution of quick sort algorithm with the array of numbers 34, 23, 17, 31, 45, 7, 21, 15, 8, and 3. (1 + 5)
- U82081
What is graph traversal? Explain breadth first search (BFS) algorithm for traversing graphs with example. (1 + 5)
- U52080
Compare linked list with array. How do you insert and remove nodes in singly linked list? (2 + 4)
OR
What is circular linked list? How do you implement stack using linked list? (1.5 + 4.5)
- U82080
Use Dijkstra's shortest path algorithm to find the shortest path between the vertices a and z in the graph given below. (6)
Graph (undirected, weighted) with vertices a, b, c, d, e, z and edges: a–b = 2, a–c = 3, b–d = 5, b–e = 2, c–e = 5, d–e = 1, d–z = 2, e–z = 4.
- U22079
Explain algorithm to evaluate the value of postfix expression using stack with suitable example. (6)
OR
Compare linear queue with circular queue. How do you implement enqueue and dequeue operations in queue? Explain. (2 + 4)
Study smart and sit a probable paper
How far a few high-priority topics take you, and a full mock paper built from the most likely questions, mirroring the real exam structure.
Study smart, not hard
Study the units in priority order. Each bar shows the share of total marks you'd have covered by then. The top 6 units alone cover ~80% of marks.
Most Probable Paper
Mirrors the real structure · 45 marks · based on 5 past papers
- 1.[3 marks]
Explain binary search in brief. What is its time complexity? (2 + 1)
This question has recurred in 4 of 5 years; including the board exam 4× (2078 to 2082); and its topic (Searching and Hashing) appears in 100% of years.
- 2.[3 marks]
Compare singly linked list with doubly linked list. What is header node? (2 + 1)
This question has recurred in 3 of 5 years; including the board exam 2× (2078 to 2082); and its topic (Lists) appears in 100% of years.
- 3.[3 marks]
Define ADT. Why do you need dynamic memory allocation? (1 + 2)
This question has recurred in 3 of 5 years; including the board exam 2× (2079 to 2080); and its topic (Introduction to Data Structures & Algorithms) appears in 100% of years.
- 4.[3 marks]
How do you implement push and pop operations of stack?
This question has recurred in 3 of 5 years; including the board exam 1× (2081); and its topic (Stack) appears in 100% of years.
- 5.[3 marks]
Compare linear search with binary search? What are their time complexities? (2 + 1)
This question has recurred in 3 of 5 years; including the board exam 1× (2078); and its topic (Searching and Hashing) appears in 100% of years.
- 1.[6 marks]
What is AVL tree. Construct AVL tree for the sequence 21, 26, 30, 9, 4, 14, 28, and 18. (1 + 5)
This question has recurred in 3 of 5 years; including the board exam 3× (2080 to 2082); and its topic (Trees and Graphs) appears in 80% of years.
- 2.[6 marks]
How do you insert and remove nodes in a singly linked list? (6)
This question has recurred in 4 of 5 years; including the board exam 2× (2078 to 2082); and its topic (Lists) appears in 100% of years.
- 3.[6 marks]
What are different applications of stack? Convert to postfix using stack. (2 + 4)
OR
Compare linear queue with circular queue. How do you implement circular queue? (2 + 4)
This question has recurred in 3 of 5 years; including the board exam 2× (2080 to 2082); and its topic (Stack) appears in 100% of years.
- 4.[6 marks]
Explain linear probing. Suppose, the set of keys is , , and . Show the effect of successively inserting these keys using linear probing. (2 + 4)
This question has recurred in 3 of 5 years; including the board exam 2× (2078 to 2081); and its topic (Searching and Hashing) appears in 100% of years.
- 5.[6 marks]
How linked list differs from array? How do you insert nodes in doubly linked list? (2 + 4)
OR
What is header node in linked list? How do you implement queue using linked list? (1.5 + 4.5)
This question has recurred in 2 of 5 years; including the board exam 2× (2079 to 2081); and its topic (Lists) appears in 100% of years.