Engineering FE Engineering Common Sem 2 C Programming Dec 2018 R16 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 solutions1 Q1 20 Marks
-
(a) What is recursion? Write a program to find x^y using recursion 4 marksRead the model answer
-
(b) State any two library functions string.h along with its syntax, use an example 4 marksRead the model answer
-
(c) What is a pointer? Explain how the pointer variable declared and initialized. 4 marksRead the model answer
-
(d) Write the output for following code #include<stdio.h> int main() { int val=1; do{ val++; ++val; }while(val++>25); printf("%d\n",val); return 0; } 4 marksRead the model answer
-
(e) Write a program to validate whether accepted string is palindrome or not. 4 marksRead the model answer
2 Q2 20 Marks
-
(a) Write a program to multiply two matrices after checking compatibility. 10 marksRead the model answer
-
(b) What is file? What are the different functions available to read data from file? Specify the different modes in which files can be opened along with syntax. 10 marksRead the model answer
3 Q3 20 Marks
-
(a) Write a program to find transpose of matrix without making use of another matrix. 10 marksRead the model answer
-
(b) Define a structure consisting of following elements 1. student roll_no 2. student name 3. student percentage Write a program to read records of 5 students and display same. 10 marksRead the model answer
4 Q4 20 Marks
-
(a) Write a program to calculate summation of series. 1/1! + 2/2! + 3/3! + . + n/n! 10 marksRead the model answer
-
(b) Draw the flowchart for finding the roots of quadratic equation. Write the program for same. 10 marksRead the model answer
5 Q5 20 Marks
-
(a) Write a program to implement calculator with following operations using switch case 1. add two numbers 2. Subtract two numbers 3. Multiply two numbers 4. Divide two numbers 10 marksRead the model answer
-
(b) What do you mean by FILE? What are the different functions available to read data from file? Specify the different modes in which file can be opened along with syntax. 10 marksRead the model answer
6 Q6 20 Marks
-
(a) Write a program to generate following patterns. 1. 1 / 1 2 / 1 2 3 / 1 2 3 4 / 1 2 3 4 5 2. 1 / 2 3 / 3 4 5 / 6 7 8 9 10 marksRead the model answer
-
(b) Explain call by value and call by reference with example. 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.