MSC 2 Sem Cs Data Structures and Algorithms Using C 8118 Dec 2018
MSC 2 Sem Cs Data Structures and Algorithms Using C 8118 Dec 2018
(73) 8118
Printed Pages—4] 2M.Sc.(CS)1
Instructions :
1. The Question Paper is divided in five Units. Each unit carries an internal
choice.
2. Attempt one question from each Unit. Thus attempt five questions in all.
translation.
6. Candidate should write his/her Roll Number at the prescribed space on the
question paper.
8118 1 P.T.O.
http://www.mcubhopal.com
I (Unit I)
(b) Write ‘C’ programs to perform PUSH and POP operations in STACK.
(Or)
4×4=16
II (Unit II)
(b) Explain circular doubly linked list with all the operations.
(Or)
C 8
(a) Write a ‘C’ program to insert or delete the nodes from a circular linked
list.
8118 2
http://www.mcubhopal.com
III (Unit III)
expression conversion 8
trees.
(Or)
4×4=16
Write notes on :
(d) B-Tree.
(Unit IV)
Insertion sort C 8
(b) Write a C program to implement the insertion sort. Analyse its timing
requirements.
8118 3 P.T.O.
http://www.mcubhopal.com
(Or)
Quick Sort C 8
(Unit V)
Path matrix 8
(Or)
(b) Write and compare depth first and breadth first search.
8118 4
http://www.mcubhopal.com