Bca - DS Nov 2020
Bca - DS Nov 2020
Reg. No.......,...
BCA
BCA 3B O4-DATA STRUCTURES USING C
leetbox.in
5. Write formula to calqulate address of elements in hv6r.di4qpngional array, Explain with exaql. ple.
6. What will happen in a C program when you assign a value to an array element whose subscripts
exceed the size of array ? Explain with example.
7. Write an algorithm to perform pop operation
8. List the different applications of tree,
9. Write the following prefix notation to expression tree in step by step.
+, *,2,6, 1,3, 8.
leetbox.in
(iv) Sequentialsearching.
21. (a) Write a program to sort a list ofnumber using Exchange sort, use user defined functions and
pass paramet€rs.
(6 marks)
(!) Explain depth-first and brea611, *i1h sx"mple. (5 marks)
[1 x 11 = 11 marks]