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

Group A

5 questions·3 marks each
1Short answer3 marks

Why do you study efficiency of algorithms? What is big-oh (O) notation? (1.5 + 1.5)

efficiencybig-oh
2Short answer3 marks

What is priority queue? Why do we need this queue? (1.5 + 1.5)

priority-queue
3Short answer3 marks

Compare recursion with iteration. Write a recursive function to find greatest common divisor. (1.5 + 1.5)

recursioniterationgcd
4Short answer3 marks

What are the benefits of using linked list? Compare singly linked list with doubly linked list. (1.5 + 1.5)

linked-list
5Short answer3 marks

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

linear-searchbinary-searchtime-complexity
B

Group B

5 questions·6 marks each
6Long answer6 marks

Explain algorithm to convert an infix expression to postfix using stack. Use this algorithm to convert AB+C/DEA * B + C / D - E into postfix. (3 + 3)

OR

List some applications of stack. Explain algorithm to evaluate a postfix expression using stack with suitable example. (1 + 5)

stackinfix-postfix
7Long answer6 marks

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

OR

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

merge-sortshell-sort
8Long answer6 marks

Explain linear probing. Suppose, the set of keys is {17,12,14,10,49,58,9,50}\{17, 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)

hashinglinear-probingquadratic-probing
9Long answer6 marks

What is AVL tree. Construct AVL tree for the sequence 21, 26, 30, 9, 4, 14, 28, and 18. (1 + 5)

avl-tree
10Long answer6 marks

What is graph traversal? Explain breadth first search (BFS) algorithm for traversing graphs with example. (1 + 5)

graph-traversalbfs

Frequently asked questions

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