Engineering FE Engineering Common Sem 2 C Programming Dec 2013 Question Paper - Mumbai University | munotes
This paper is solved: read the model answers.
Loading PDF...
Questions asked in this paper
Solved paper All 15 questions answered in full Exam-ready answers, the reasoning behind each one, and what the examiner is looking for. Open the solutionsQ1 Q1 20 Marks
-
(a) What do you mean by algorithm ? which points you should consider while developing the algorithm. 4 marksRead the model answer
-
(b) Find the roots of quadratic equation. Is the above problem definition is complete ? if not, make this problem definition complete. 4 marksRead the model answer
-
(c) State any 2 library functions in math.h along with its uses. 4 marksRead the model answer
-
(d) What do you mean by static and auto storage class. explain. 4 marksRead the model answer
-
(e) Difference between while and do. while loop. 4 marksRead the model answer
Q2 Q2 20 Marks
-
(a) Write a program in C to cyclically rotate the elements in array. Program should accept a choice in which direction to rotate i.e. left or right. Depending on choice it should perform cyclic rotation. Suppose array A contains elements {1, 2, 3, 4, 5} then if choice is rotate right o/p should be {5, 1, 2, 3, 4} and if choice is rotate left then o/p should be {2, 3, 4, 5, 1} 10 marksRead the model answer
-
(b) Write a program to generate prime nos between 1 to 100. 10 marksRead the model answer
Q3 Q3 20 Marks
-
(a) What do you mean by recursion ? Write a program, which will accept 2 nos from user say x and y. and calculate x^y. Program should make use of recursion. If x is 3 and y is 4 then output should by 3^4 i.e. 81. 10 marksRead the model answer
-
(b) Write a program to sort given nos in descending order. 10 marksRead the model answer
Q4 Q4 20 Marks
-
(a) What do you mean by struct ? What do you mean by nested structure ? A sport club of cricket needs to maintain data about players. Description of it is given below. Club want to maintain players name, age, no of matches played, no of runs, and average. For above description declare a structure and comment about size of structure of your declaration. 10 marksRead the model answer
-
(b) Write a program which will accept 2 dimensional square matrix and find out transpose of it. Program should not make use of another matrix. 10 marksRead the model answer
Q5 Q5 20 Marks
-
(a) Write a program to generate followig patterns. (1) 5 / 4 4 / 3 3 3 / 2 2 2 2 / 1 1 1 1 1 (2) 1 / 2 2 / 3 3 3 / 4 4 4 4 / 5 5 5 5 5 10 marksRead the model answer
-
(b) Write a program to check whether given string is palindrome or not. 10 marksRead the model answer
Q6 Q6 20 Marks
-
(a) What are the different ways for parameter passing to a function. Explain along with example. 10 marksRead the model answer
-
(b) What do you mean by FILE ? What are the different functions available to read data from the file ? Specify the different modes in which files can be opened along with syntax. 10 marksRead the model answer
Read from the scan above, so a character or two may differ. The scan is the original.
What do you need?
Tap one.
The answers are on this page
You can read the first answer here. The box further down shows how to read all of them.
Read it here, any time
We keep checking and updating our papers and notes, and adding more. A saved copy would be an old version. Reading on munotes.in always gives you the latest one.
I paid, but I can't open it
Please type an email, or a 10-digit phone number.
Done
If we find your payment, we send a link to the email you paid with. Open it to read.
Check your email in 2 minutes. Also check Spam.
No email after 10 minutes?
Something else
Please write a little more, so we can help.
Your email app opens with this. You can add more there. We reply by email.
Something wrong on this page? Report it and we will check it against the scan.
Quick Help
Related Resources
Something wrong with this paper? Report it.