3 Hours / 70 Marks: Seat No
3 Hours / 70 Marks: Seat No
3 Hours / 70 Marks: Seat No
22317
3 Hours / 70 Marks Seat No.
15 minutes extra for each hour
Marks
1. Attempt any FIVE of the following : 10
(a) Define linear data structure and non-linear data structure.
(b) Enlist operations on stack.
(c) Define : (i) General tree (ii) Binary tree
(d) Draw the diagram of circular queue with front and rear pointers.
(e) Describe given two types of graphs : Directed and Undirected graph.
(f) Define Abstract Data Type.
(g) State any four applications of queue.
[1 of 4] P.T.O.
22317 [2 of 4]
3. Attempt any THREE of the following : 12
(c) Find the position of element 30 using Binary search method in array
(c) Write an algorithm to insert a new node at the beginning of a Singly linked
list. Give example.
(d) Write a ‘C’ program to calculate the factorial of number using recursion.
(e) Describe circular linked list with suitable diagram. Also state advantage of
circular linked list over linear linked list.
22317 [3 of 4]
5. Attempt any TWO of the following : 12
(a) Write a program to implement a stack with push, pop and display operations.
(b) Draw tree for given expression and find pre-order and post-order traversal.
(a) Describe the working of Selection Sort Method. Also sort given input list in
ascending order using selection sort.
(b) Convert the following Infix expression to its prefix form using stack. Show
the details of stack at each step of conversion.
Expression : P * Q R – S / T + (U/V)
(c) Create a Singly linked list using data fields 70, 50, 30, 40, 90. Search a node
40 from the singly linked list & show procedure step-by-step with the help of
diagram from start to end.
_______________
P.T.O.
22317 [4 of 4]