Browse papers
LevelMaster in Data Science (SMS, TU)
SubjectData Structures and Algorithms
Year2078 BS
Exam sessionPre Board · Set Pre-board Examination, p8 (typed; same paper repeated on p10)
Full marks45
Time allowed120 minutes
Questions10, all with step-by-step solutions
A

Group A

5 questions·3 marks each
1Short answer3 marks

What is linked list? Compare singly linked list with double linked list. (1 + 2)

linked-list
2Short answer3 marks

Why do we need header node in linked list? Explain circular linked list. (1.5 + 1.5)

linked-listcircular-linked-list
3Short answer3 marks

Explain importance of sorting. Explain insertion sort. (1.5 + 1.5)

sortinginsertion-sort
4Short answer3 marks

Compare linear search with binary search? What are their time complexities? (2 + 1)

searchingcomplexity
5Short answer3 marks

What is hashing? Explain open hashing. (1 + 2)

hashingopen-hashing
B

Group B

5 questions·6 marks each
6Long answer6 marks

How can you implement stack using linked list? Explain using suitable program. (6)

OR

How can you implement queue using linked list? Explain using suitable program. (6)

stacklinked-list
7Long answer6 marks

What is singly linked list? How can you insert and remove nodes in a singly linked list? Explain. (2 + 4)

OR

What is doubly linked list? How can you insert and remove nodes in a doubly singly linked list? Explain. (2 + 4)

singly-linked-listdoubly-linked-list
8Long answer6 marks

Explain bubble sort. Hand test bubble sort algorithm with the array of numbers 34, 23, 17, 31, 45, 7, 21, 15, 8, and 1. (2 + 4)

bubble-sortsorting
9Long answer6 marks

Define searching. Explain binary search algorithm with suitable example. (1 + 5)

searchingbinary-search
10Long answer6 marks

Explain linear probing. Suppose, the set of keys is {7,12,14,10,49,58,9,50}\{7, 12, 14, 10, 49, 58, 9, 50\}, m=10m = 10, and h(x)=xmod10h(x) = x \bmod 10. Show the effect of successively inserting these keys using linear probing.

hashinglinear-probing

Frequently asked questions

Where can I find the Master in Data Science (SMS, TU) Data Structures and Algorithms question paper 2078?
The full Master in Data Science (SMS, TU) Data Structures and Algorithms 2078 (Pre Board) question paper is available free on Kekkei. You can read every question online and attempt the paper under timed exam conditions.
Does the Data Structures and Algorithms 2078 paper come with solutions?
Yes. Every question on this Data Structures and Algorithms past paper includes a step-by-step solution, plus instant AI feedback when you attempt it on Kekkei.
How many marks is the Master in Data Science (SMS, TU) Data Structures and Algorithms 2078 paper?
The Master in Data Science (SMS, TU) Data Structures and Algorithms 2078 paper carries 45 full marks and is meant to be completed in 120 minutes, across 10 questions.
Is practising this Data Structures and Algorithms past paper free?
Yes — reading and attempting this Data Structures and Algorithms past paper on Kekkei is completely free.