QB U2 (Notes) (Bhartimumbai)
QB U2 (Notes) (Bhartimumbai)
QB U2 (Notes) (Bhartimumbai)
TECHNOLOGY
Question Bank (K – Scheme)
Unit Test-II
Program: - CM/IF3K
Semester: - III
Course and code: - Data Structure Using C (313301)
Chapter no 4: Stack
(2 Marks)
(4 Marks)
(2 Marks)
(4 Marks)
6) Show the effect of INSERT and DELETE operation onto the linear queue of size 10. The
linear queue sequential contains 10,20,30,40 and 50 where 10 is at front queue. Show
diagrammatically the effect of (CO5)
ii) INSERT 75
iii) INSERT 85
iv) DELETE
v) INSERT 60
vi) DELETE
vii) INSERT 90
7) Differentiate between Stack and Queue with respect to any four parameters. (CO5)
8) Write a neat sketch explain working of priority queue. (CO5)
9) Write a program for insert and delete operation to be performed on queue. (CO5)
10) Draw and explain construction of circular queue. (CO5)
11) Describe queue full and queue empty operation conditions on linear queue with suitable
diagram.. (CO5)
Chapter no 6: Tree
(2 Marks)
(4 Marks)
i) Degree of tree:
ii) Degree of node B:
iii) Level of node H:
iv) Indegree of node C:
v) Outdegree of node B:
vi) Height of the degree:
9) Write algorithm for preorder traversal of binary tree. (CO6)
10) Explain Binary Search Tree with example. (CO6)
11) Draw tree for given expression. (CO6)
(a-2b+5c)^2 * (4d-6e)^5
12) Traverse the following tree by the in-order, pre-order and post-order methods. (CO6)