Mic Solved Manual 1
Mic Solved Manual 1
Mic Solved Manual 1
22317
3 Hours / 70 Marks Seat No.
Marks
1. Attempt any FIVE of the following : 10
(a) State any two differences between linear search and binary search.
(b) Define term pointer and null pointer.
(c) Define the terms : linear data structure and non-linear data structure.
(d) List any four applications of queue.
(e) Write any four operations that can be performed on data structure.
(f) Convert the following infix expression to its postfix form using stack :
A + B – C * D/E + F
(g) Describe given two types of graphs : Directed graph and Undirected graph.
P.T.O.
22317 [4 of 4]
22232
22317
3 Hours / 70 Marks Seat No.
Marks
1. Attempt any FIVE of the following : 10
(a) Write any four operations performed on data structure.
(b) Draw the diagram of Linear Queue to represent front and rear pointers.
(c) State the following terms :
(i) Leaf node of a tree
(ii) Degree of a tree
(d) Write any two operations performed on the stack.
(e) What are directed and undirected graphs ?
(f) Explain linear and non-linear data structures.
(g) Define Searching. What are its types ?
[1 of 4] P.T.O.
22317 [2 of 4]
3. Attempt any THREE of the following : 12
(a) Differentiate between tree and graph with respect to any four parameters.
(b) Write an algorithm to delete an intermediate node in a singly linked list.
(c) Sort the following numbers in ascending order using Insertion sort :
{25, 15, 4, 103, 62, 9} and write the output after each iteration.
(d) Construct the Binary Search Tree using following elements :
{35, 15, 40, 7, 10, 100, 28, 82, 53, 25, 3}. Show diagrammatically each step
of construction of BST.
(a) Convert the infix expression to its postfix expression using stack ((A + B) *
D) ^ (E – F). Show diagrammatically each step of conversion.
(b) Show the effect of INSERT and DELETE operations onto the linear queue of
size 10. The linear queue sequentially contains 10,20, 30, 40 and 50 where 10
is at front of the queue. Show diagrammatically the effect of –
(iii) DELETE
(v) DELETE
(c)
_______________
21222
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]
11920
22317
3 Hours / 70 Marks Seat No.
Marks
(a) Write any four operations that can be performed on data structure.
(b) Define the terms ‘overflow’ and ‘underflow’ with respect to stack.
(c) Define the following terms w.r.t. tree : (i) In-degree, (2) Out-degree
P : 4, 2, ^, 3, *, 3, -, 8, 4, /, +
(g) Define queue. State any two applications where queue is used.
(a) Sort the given numbers in ascending order using Radix sort :
[1 of 4] P.T.O.
22317 [2 of 4]
(b) Write an algorithm to insert a new node at the beginning and end of the singly
linked list.
(c) Explain the concept of circular Queue along with its need.
(d) Draw a binary search tree for the given numbers :
50, 33, 44, 22, 77, 35, 60, 40.
P.T.O.
22317 [4 of 4]
21819
22317
3 Hours / 70 Marks Seat No.
Marks
(c) Define :
(d) Show the memory representation of stack using array with the help of a
diagram.
(f) Differentiate between linear and non-linear data structures on any two
parameters.
(g) Convert the following infix expression to its prefix form using stack
A+B–CD/E+F
[1 of 4] P.T.O.
22317 [2 of 4]
2. Attempt any THREE of the following : 12
(c) Sort the following numbers in ascending order using quick sort. Given
numbers 50, 2, 6, 22, 3, 39, 49, 25, 18, 5.
(iii) Path of 31
P.T.O.
22317 [4 of 4]
6. Attempt any TWO of the following : 12
(a) Sort the following numbers in ascending order using Bubble sort. Given
numbers : 29, 35, 3, 8, 11, 15, 56, 12, 1, 4, 85, 5 & write the output after each
interaction.
57 + 62 –
(c) Create a singly linked list using data fields 90, 25, 46, 39, 56. Search a node
40 from the SLL and show procedure step-by-step with the help of diagram
from start to end.
_______________
11819
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]
Scheme - I
Sample Question Paper
Program Name : Computer Engineering Program Group
Program Code : CO/CM/IF/CW
Semester : Third
22317
Course Title : Data Structures Using ‘C’
Marks : 70 Time: 3 Hrs.
Instructions:
(1) All questions are compulsory.
(2) Illustrate your answers with neat sketches wherever necessary.
(3) Figures to the right indicate full marks.
(4) Assume suitable data if necessary.
(5) Preferably, write the answers in sequential order.
1
c. Sort the following numbers in ascending order using Insertion sort. Given Numbers :
348, 14, 614, 5381, 47 and Write the output after each iteration .
d. For the following directed graph :
i) Give adjacency matrix representation.
ii) Give adjacency list representation.
2
4.POP
5.POP
Sketch the final structure of Stack after performing the above said operations.Sketch
the final structure of Stack after performing the above said operations.
b.
3
Scheme – I
Instructions:
(1) All questions are compulsory.
(2) Illustrate your answers with neat sketches wherever necessary.
(3) Figures to the right indicate full marks.
(4) Assume suitable data if necessary.
(5) Preferably, write the answers in sequential order.
4
Scheme – I
Instructions:
(1) All questions are compulsory.
(2) Illustrate your answers with neat sketches wherever necessary.
(3) Figures to the right indicate full marks.
(4) Assume suitable data if necessary.
(5) Preferably, write the answers in sequential order.