Veer Narmad South Gujarat University 2010-1st Sem M.C.A Computer Programming and Programming Methodology : (A.T.K.T), , - - Question Paper
RF-4795
M. C. A. (Sem. I) (ATKT) Examination April/May - 2010 Paper - 103 : Computer Programming & Programming Methodology
Time : 3 Hours]
[Total Marks : 70
Instruction :
N Seat No.:
6silq<3i Puunki(l faaim SuwiA u* <KH=fl. Fillup strictly the details of signs on your answer book.
Name of the Examination :
M. C. A. (Sem. 1) (ATKT)
Name of the Subject:
103 : Computer Prog. & Prog. Methodology
-Section No. (1,2......): Nil
Student's Signature
-Subject Code No.:
Do as Directed: 14
(a) Write a note on call-by-value.
(b) List out the data types available in C with its range and size.
(c) Explain the concept of type-casting and type-promotion in C.
(c) Explain nested if-else statement with proper example.
Attempt any two from the following: 14
(a) Describe usage of switch-case statement in C programming.
(b) Explain the concept of recursion using proper example.
(c) Describe nested-for loop with proper example. Compare it with while loop.
3 Do as directed : (any three) 21
(a) Explain one-dimension and two-dimension array in C with proper example.
(b) Describe getch ( ), getch e ( ) and getchar ( ) function with proper example.
(c) Explain, giving example, break and continue statement.
(d) Explain the following built-in functions with example.
(1) strcmp ( )
(2) strcat ( )
(3) strlen ( )
(4) strncat :
4 Do as directed:- (any three) 21
(a) Describe storage classes in C.
(b) Define : Function Prototype. Discuss: user-defined-function. Differentiate between the formal and actual parameters.
(c) Write the syntax of structure and union. Compare structure and union with proper example.
(d) Compare the following :
(i) Call-by-value and Call-by-reference.
(ii) Array and Structure.
RF-4795] 2 [ 500 ]
Attachment: |
Earning: Approval pending. |