Jawaharlal Nehru Technological University Kakinada 2010 B.Tech Computer Science and Engineering C programming and data structures setno:2 (regular) - Question Paper
Friday, 09 August 2013 11:25Web
Code No: Z0121/R07 Set No:2
Time :3 hours Max Marks:80
I B.Tech Regular Examinations, May 2010.
C PROGRAMMING AND DATA STRUCTURES
ans any 5 ques.
All ques. carry equal marks
1 (a) describe Algorithm.
(b) What is the use of flowchart?
(c) elaborate the various steps followed in the program development? [3+3+10]
2. (a) discuss about call by value with an example.
(b) Write a program to generate Fibonacci series using with argument and return kind.[8+8]
3. describe an array. elaborate the various kinds of arrays. discuss.[16]
4. (a) Write short notes on array of structure.
(b) Write a program for passing a copy of entire structure to function [8+8]
5. (a) Write the syntax for opening a file with different modes and closing a file.
(b) discuss about file handling functions.
6. Write a program to sort the elements whose worst case is O(n^2) and avg. case is O(n log n). [16]
7. elaborate the advantages and disadvantages of stack? Write a program to illustrate stack operation ? [16]
8. Write an algorithm to perform deletion operation in a Binary Search Tree. [16]
------- ********** ---------
Earning: Approval pending. |