Browse papers
LevelMaster in Data Science (SMS, TU)
SubjectData Structures and Algorithms
Year2079 BS
Exam sessionBoard
Full marks45
Time allowed120 minutes
Questions10, all with step-by-step solutions
A

Group A

5 questions·3 marks each
1Short answer3 marks

Define asymptotic notation. Explain theta (θ\theta) notation with example. (1 + 2)

asymptotic-notationtheta-notation
2Short answer3 marks

Explain circular queue. What are the benefits of using circular queue over linear queue? (1 + 2)

circular-queuelinear-queue
3Short answer3 marks

Explain tail recursion with suitable example. (3)

tail-recursion
4Short answer3 marks

How do you implement queue using linked list? (3)

queuelinked-list
5Short answer3 marks

Explain binary search algorithm with example. (3)

binary-search
B

Group B

5 questions·6 marks each
6Long answer6 marks

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)

postfix-expressionstackqueue
7Long answer6 marks

Compare singly linked list with doubly linked list. How do you insert and remove nodes in a doubly linked list? (2 + 4)

OR

Explain shell sort. Trace the shell sort algorithm with the array of numbers 34, 13, 16, 13, 45, 71, 21, 15, 8, and 1. (2 + 4)

linked-listshell-sort
8Long answer6 marks

Starting with empty binary search tree, show the effect of successively adding the following numbers as keys: 20, 23, 10, 21, 30, 15, 5, 22 and 40. Also, traverse this tree in preorder and postorder. (4 + 2)

binary-search-treetree-traversal
9Long answer6 marks

Explain quadratic 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 quadratic probing. (2 + 4)

quadratic-probinghashing
10Long answer6 marks

Define spanning tree and minimum spanning tree. Explain Kruskal's algorithm to find minimum spanning tree with suitable example. (2 + 4)

spanning-treekruskal-algorithm

Frequently asked questions

Where can I find the Master in Data Science (SMS, TU) Data Structures and Algorithms question paper 2079?
The full Master in Data Science (SMS, TU) Data Structures and Algorithms 2079 (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 2079 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 2079 paper?
The Master in Data Science (SMS, TU) Data Structures and Algorithms 2079 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.