II - IA-DS - Scheme and Solution
II - IA-DS - Scheme and Solution
Q. No Questions Marks
Writing any four difference between ordinary queue and circular queue.
Writing c function to implement following 4M
6M
1 a)
Page 1 of 3
USN 1 R L Subject Code BCS304
5M
b)
4M
b)
PART B
Definition of Double linked list
1M
3 a) C funtion to insert node at rear end deleted node at font end in Double linked list
4M
Page 2 of 3
USN 1 R L Subject Code BCS304
2M
3M
b)
OR
Inorder - I-D-J-B-F-A-G-K-C-H
preorder - A-B-D-I-J-F-C-G-K-H
a) 5M
postorder - I-J-D-F-B-K-G-H-C-A
Binary tree is a special type of tree data structure in which every node can have a maximum of 2 children. 1M
4 • One is known as left child and
• The other is known as right child
b) 4M
Depth- In a tree data structure, the total number of edges from root node to a particular node.
Height- In a tree data structure, the total number of edges from leaf node to a particular node in the longest
path.
Degree of a node- In a tree data structure, the total number of children of a node. With examples.
Page 3 of 3