3 Hours / 70 Marks: Seat No
3 Hours / 70 Marks: Seat No
22317
3 Hours / 70 Marks Seat No.
Marks
[1 of 4] P.T.O.
22317 [2 of 4]
2. Attempt any THREE of the following : 12
(b) Describe queue full and queue empty condition on linear queue with suitable
diagram.
(i) Indegree
(ii) Outdegree
(iii) Successor
(iv) Predecessor
(d) Explain node structure for singly linked list. Also write any two advantages of
singly list over array.
(c) Sort the following numbers in ascending order using Insertion sort :
{25, 15, 40, 3, 99, 29, 6, 55, 13, 2} and write output after each iteration.
(a) Find the position of element 15 using Binary search method in Array X given
below :
(d) Create a singly linked list using data fields 15, 20, 22, 40, 59 and show
procedure step-by-step with the help of diagram from start to end.
(e) Convert following expression into postfix form. Give stepwise procedure :
A + B C (D / E) – F/G
(c) Show the effect of INSERT and DELETE operation onto a linear queue of
size 10. The linear queue sequentially contains 10, 20, 30, 40, 50, where 10 is
at front of the queue. Show diagrammatically the effect of (i) Insert (75)
(ii) Insert (85) (iii) Delete (iv) Insert (60) (v) Delete (vi) Insert (90).
(a) Describe the working of radix sort method. Sort the following elements using
radix sort method :
P.T.O.
22317 [4 of 4]
(b) Evaluate the following expression :
4 6 24 + 6 3 / –
(c) Describe circular linked list with suitable diagram. State advantages of
circular linked list over linear linked list.
_______________