Browse papers
LevelMaster in Data Science (SMS, TU)
SubjectData Structures and Algorithms
Year2082 BS
Exam sessionBoard · Set page 21; 2082 board/final exam (IOST,TU)
Full marks45
Time allowed120 minutes
Questions10, all with step-by-step solutions
A

Group A

5 questions·3 marks each
1Short answer3 marks

Compare data type with abstract data type. What are the benefits of using abstract data types? (1.5 + 1.5)

adt
2Short answer3 marks

Define tail recursion. Write a recursive function for Tower of Hanoi problem. (1 + 2)

recursiontower-of-hanoi
3Short answer3 marks

Compare singly linked list with doubly linked list. What is header node? (2 + 1)

linked-listheader-node
4Short answer3 marks

Explain binary search in brief. What is its time complexity? (2 + 1)

binary-search
5Short answer3 marks

Explain almost complete binary tree with example. (3)

binary-tree
B

Group B

5 questions·6 marks each
6Long answer6 marks

What are different applications of stack? Convert A+(BC+D)E/FA + (B - C + D) * E / F to postfix using stack. (2 + 4)

OR

Compare linear queue with circular queue. How do you implement circular queue? (2 + 4)

stackinfix-postfixcircular-queue
7Long answer6 marks

How do you insert and remove nodes in a singly linked list? (6)

linked-list
8Long answer6 marks

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)

divide-and-conquerquick-sortheap-sort
9Long answer6 marks

What is double hashing? Suppose, the set of keys is {18,22,14,20,99,48,19,50}\{18, 22, 14, 20, 99, 48, 19, 50\}, m=10m = 10, and h(x)=xmod10h(x) = x \bmod 10. Show the effect of successively inserting these keys using linear probing. (2 + 4)

double-hashinglinear-probing
10Long answer6 marks

What is AVL tree. Construct AVL tree for the sequence 23, 30, 39, 11, 7, 17, 28, and 18. (1 + 5)

avl-tree

Frequently asked questions

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