Browse papers
LevelMaster in Data Science (SMS, TU)
SubjectData Structures and Algorithms
Year2080 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 big-oh (O) notation with example. (1 + 2)

asymptotic-notationbig-oh
2Short answer3 marks

How do you implement enqueue and dequeue operations in linear queue? (3)

queueoperations
3Short answer3 marks

What is precondition for binary search? Explain binary search algorithm. (1 + 2)

binary-searchalgorithm
4Short answer3 marks

Explain preorder traversal with example. (3)

tree-traversalpreorder
5Short answer3 marks

What is spanning tree? Explain minimum spanning tree in brief. (1 + 2)

spanning-treegraph
B

Group B

5 questions·6 marks each
6Long answer6 marks

Explain algorithm for converting an infix expression to postfix using stack. Use this algorithm to convert (A+BC)D(A + B - C) * D to postfix. (4 + 2)

OR

List some applications of stack. Explain algorithm for evaluating a postfix expression using stack with suitable example. (1.5 + 4.5)

stackinfix-postfix
7Long answer6 marks

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)

linked-listarray
8Long answer6 marks

Explain quick sort along with its time complexity. Trace the execution of quick sort algorithm with the array of numbers 30, 20, 15, 37, 45, 9, 23, 15, and 3. (2 + 4)

quick-sortsorting
9Long answer6 marks

Define AVL tree. Construct AVL tree for the sequence 27, 66, 80, 9, 4, 14, 28, 8, and 6. (1 + 5)

avl-treebalanced-tree
10Long answer6 marks

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.

dijkstrashortest-pathgraph

Frequently asked questions

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