2018 Winter Question Paper (Msbte Study Resources)
2018 Winter Question Paper (Msbte Study Resources)
2018 Winter Question Paper (Msbte Study Resources)
22317
3 Hours / 70 Marks Seat No.
Marks
1. Attempt any FIVE of the following : 10
(a) Define the term algorithm.
(b) List any 4 applications of queue.
(c) Describe following terms w.r.to tree :
(i) leaf node
(ii) level of node
(d) Differentiate between stack and queue. (any two points)
(e) Describe undirected graph with suitable example.
(f) Define the terms : linear data structure and non-linear data structure.
(g) Convert infix expression into prefix expression : (A + B)*(C / G) + F
[1 of 4] P.T.O.
22317 [2 of 4]
3. Attempt any THREE of the following : 12
(b) Convert following expression into postfix form. Give stepwise procedure.
A + B ↑ C * (D / E) – F / G
(c) Find the position of element 29 using binary search method in an array ‘A’
given below. Show each step.
(d) Give adjacency list and adjacency matrix for given graph :
30, 100, 90, 15, 2, 25, 36, 72, 78, 10 show each step of construction of BST.
(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 following : 12
(a) Write algorithm for performing push and pop operations on stack.
(b) For given binary tree write in-order, pre-order and post-order traversal.
(c) Write an algorithm to insert an element at the beginning and at end of linked
list.
(a) Describe working of selection sort method. Also sort given input list in
ascending order using selection sort input list – 55, 25, 5, 15, 35.
(c) Describe procedure to delete an element from singly linked list using diagram.
_______________
P.T.O.
22317 [4 of 4]