Data-Structure-using-C
Data-Structure-using-C
SECTION - A
Answer the following sub-questions, each sub-question carries one mark. 10x1=10
1. (a) Define data structure.
(b) What is Recursion ?
(c) Write any two dynamic memory allocation methods.
(d) Define Array. Write the classifications of array.
(e) What is Stack ?
(f) Expand LIFO and FIFO.
(g) Define queue.
(h) What is a root node ?
(i) Write any two types of sorting techniques.
(j) Define Binary Tree.
SECTION - B
Answer any four of the following questions, each question carries
five marks. 4x5=20
2. Write the differences between static memory allocation and dynamic memory
allocation.
!21BSC2C2CSL! P.T.O.
21BSC2C2CSL 2
SECTION - C
Answer any three of the following questions. Each question carries ten marks.
3x10=30
8. Explain the classification of data structures with a neat diagram.
11. Write an algorithm to add a new node at the beginning of a singly linked list.
12. Write preorder, in order and post order traversal for the following binary tree.
-o0o-
!21BSC2C2CSL!