Cochin University of Science and Techology (CUST) 2006 B.Tech computer programming - Question Paper
Saturday, 25 May 2013 09:00Web
1st TERM exam DECEMBER 2006
COMPUTER PROGRAMMING
Time: 2Hrs Max marks:50
1) a) What is the difference b/w recursion& iteration?
b) discuss control structures in C with eg
c) Write a program to discuss recursion
2) a) describe storage class. discuss the various storage classes with eg
b) Write a program to obtain the nature & value of the roots of a quadratic eqn
3) a) Write a program to learn N numbers iteratively & print the biggest & smallest of
these no.s
b) discuss the various categories of user described functions.
4) a) discuss the subsequent terms with eg
(i) Formal parameter
(ii) true parameter
(iii) Global prototype
(iv) Local prototype
b) Write a program to generate Floyd’s triangle
c) discuss kind conversion in C with eg
5) a) describe functions.Explain the methods to invoke functions in C
b) Which are the fundamental data kinds used in C
c) Which are the formatted I/O functions in C?
-------------------------------------
Earning: Approval pending. |