Data Structures Using C May 2016 (2009 Scheme)
Data Structures Using C May 2016 (2009 Scheme)
com
Code : 9CS32
Register
Number
m
DATA STRUCTURBS USING C
co
Time:3Hoursl I Max. Marks : 100
g.
(ii) Answer any two full questions each from the remaining Sections.
lo
SECTION.I
l. (a) Fill in the blanks with suitable words : 5x1=5
(i)
ib
is a pointer indirection operator.
ik
(iii) In traversal ofa binary tree, root is processed at last.
(iv) The process of function calling itself is called
w
(v) is an example of nonJinear data structure.
(b) Define data structure. Give the classification of data structures. I
ia
- II
ed
SECTION
2. (a) Explain how to declare and initialize a pointer with an example.
(b) Differentiate call-by-value and call-by-reference parameter passing methods
.p
with an example. 6
(c) Explain pointer to structure with an example. 4
w
(i) malloc( )
(ii) calloc( )
(iii) free( )
eCSi!2 2 of 2 1399
m
(c) Explain different file opening modes.
co
SECTION - III
5. (a) Define stack. Explain the operations that can be performed on stack. 6
(b) Convert the following expression to its prefix and postfix forms : 4
g.
a$b*c-D+E(F+G)
(c) Write a program to find the factorial of a given number using recursion.
lo
6. (a) Write an algorithm to evaluate a postfix expression. 5
o) Explain the properties of a recursive algorithm. 5
(c)
ib
Define queue. Write its representation in C. 5
ik
7. (a) Explain the advantages of circular queue over queue with an example. 5
O) Write a note on dequeue. 5
(c)
w
Write an algorithm to insert a node at the end of a linked list. 5
SECTION - IV
ia
-'::., .. .:
For More Question Papers Visit - www.pediawikiblog.com
i-:-.-.-