How To Exam?

a knowledge trading engine...


Rajiv Gandhi Proudyogiki Vishwavidyalaya 2007-2nd Sem M.C.A Computer Aplications .(ester) , e, - Question Paper

Monday, 28 January 2013 10:55Web

MCA-103
M.C.A.(Second Semester) EXAMINATION, June,2007
PROGRAMMING AND issue SOLVING IN C
(MCA-103)
Time : 3 Hours
Maximum Marks : 100
Minimum Pass Marks : 40

Note : Attempt any 1 ques. for every Unit. In total 5 ques. are to attempted.
The programs must be well documented and indented.

Unit -I
1.(a) explain the subsequent kinds of errors that may be encountered in a program :
(i) Syntax fault
(ii) Linker fault
(iii) Run time fault
(iv) Logical fault
Briefly tell the way to handle these errors.
(b) explain different phases of program execution :
(i) Preprocessing
(ii) Compilation
(iii)Linking and loading
(iv) Execution

2.(a) explain in detail about top-down and bottom-up design techniques.
(b) define the subsequent phases of software development process :
(i) Analysis
(ii) Coding
(iii)Testing
(iv) Modification and Maintenance

Unit -II
3.(a) explain the swith....case structure with a brief example. What is 'default' in this situation.
(b) explain the difference ranging from while and do....while loops.
(c) Design a program to learn n various numbers form keyboard and display the largest of all
the odd numbers.
4.(a) provide a detailed study of operators available in C language clearly specifiying their
precedence and associativity.
(b) Design aprogram that :
(i) reads an array on integers
(ii) reverses it in its place
(iii) displays the reversed array
The program must be well documented and indented.

Unit - III
5.(a) What is the visibility and life time of a variable ? explain the visibility and life time
of local, global and static variables.
(b) What is recursion ? provide a comparative study of recursion and iteration.
(c) Design a function that returns the rounded integer of a float variable. The prototype may
be :
int round(float x);
No standard library function is to be used.
(d) Design a recursive function of finding factorial of a number. The prototype of the function
may be :
long factorial(int n);
6.(a) Why is it necessary to pass the maximum column size of a 2 dimensional array to the called
function ?
(b) Design a recursive function for finding power xn. The prototype of the function may be :



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Rajiv Gandhi Proudyogiki Vishwavidyalaya 2007-2nd Sem M.C.A Computer Aplications .(ester) , e, - Question Paper