Trending ▼   ResFinder  

IGNOU UNIVERSITY MCA - I (SEM 1) DEC 2009 : Problem Solving and Programming

3 pages, 15 questions, 0 questions with responses, 0 total responses,    0    0
mca_india
  
+Fave Message
 Home > mca_india >

Formatting page ...

MCS-011 I MCA (Revised) Term-End Examination 7 . December, 2009 N MCS-011 : PROBLEM SOLVING AND PROGRAMMING Maximum Marks : 100 (Weightage 75%) Time : 3 hours Note : Question Number 1 is compulsory. Answer any three question from the rest. 1. (a) Develop an algorithm, and write a program 10 to print the Fibonacci series upto a given number using recursion. What do you understand by function 10 prototype ? Write a program in 'C' to calculate the GCD of three numbers using the function prototype. List and explain any 5 reserved words of 10 'C' language. Differentiate between call by value and call 5 by reference methods of parameters passing to a function giving an example of each. 5 What will be the output of following 'C' programme ? MCS-011 1 P.T.O. main 0 int i = 1, j = 1; for (;;) if (i > 5) break; else j + = 1; printf ("In %d", j) i + = j; } What do you mean by scope of a variable ? Differentiate between Global and Local variables giving an example of each. 5 Explain the syntax of switch case statement in 'C' language. Also compare the performance of switch case with if else statement. 5 (c) Draw a flowchart and write a program in 10 'C' to convert a decimal number to its octal equivalent. MCS-011 2 (a) What are the precautions that must be taken 10 care to use macros in 'C' ? Define a macro to find the factorial of a given number n ? (b) Write a program in 'C' to find whether a given number is Amstrong number or not. 10 (a) Write program in 'C' for the multiplication of two square matrices. 10 (b) What is pointer variable ? How is a pointer variable declared ? How is the address of a pointer variable determined ? How pointer can be used to pass an entire array to a function in C ? Explain with the help of an example. 10 5. (a) Explain fprintf ( ) and fscanf ( )statements with an example of each. 10 (b) Write a program in 'C' : To reverse a string To copy strl to str2 without the use of stropy function. -o0o- MCS-011 3 10

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

Additional Info : Mca - I(sem 1) December 2008 Question Paper - Problem Solving and Programming (Revised Course)
Tags : mca exam papers, mca question papers, ignou mca question papers, ptu mca question papers, mca sample question paper, mca mumbai university question papers, mca exam syllabus, mca exam question paper, online mca exam papers, online mca exam preparation, mumbai university mca question papers, ignou university mca question papers  


© 2010 - 2025 ResPaper. Terms of ServiceContact Us Advertise with us

 

mca_india chat