Engineering FE Engineering Common Sem 2 C Programming May 2016 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) What is a relation between ARRAYS and pointers ? Explain with example 4 marksRead the model answer
-
(c) Explain ? operator in C. Write a program to determine maximum of 3 numbers using it. 4 marksRead the model answer
-
(d) What do you mean by extern and static storage class Explain with example. 4 marksRead the model answer
-
(e) Difference between break and continue along with example. 4 marksRead the model answer
Q2 Q2 20 Marks
-
(a) Write a program in C to accept an ARRAY A with n elements and Separate it into two different arrays B and C in such a way that B contains Odd numbers and C contains Even numbers . i.e. if ARRAY A contains A= { 3,2,4,2,5,7,8} then B={ 3,5,7, , and C={2,4,2,8} 10 marksRead the model answer
-
(b) Write a program to generate Pascal triangle upto n rows. 10 marksRead the model answer
Q3 Q3 20 Marks
-
(a) What do you mean by Recursion ? write a program to reverse a number using recursion. 10 marksRead the model answer
-
(b) Write a program to calculate compound interest and amount Using formulae A = P ( 1 + R/100)^n where P = Principal Amt , R is Rate of interest , n = number of Years . Your program should make use of user defined function to calculate power. Program should accept P , R and n ,Display interest earned for each year . 10 marksRead the model answer
Q4 Q4 20 Marks
-
(a) Explain structures in C ? What do you mean by nested structure ? A company needs to maintain data about their employees. Details to be maintained are Employee name , Department , Date of joining , Salary. Write a program which will store these details and list the employees whose salary is greater than Rs. 50000.00 10 marksRead the model answer
-
(b) Write a program to perform matrix multiplication using user defined functions Assume first matrix is of size M x N , second matrix of size N x P and third matrix ( Result matrix ) is of size M x P Program should include following user defined functions i. read_matrix ii. Display_matrix iii. Multiply_matrix 10 marksRead the model answer
Q5 Q5 20 Marks
-
(a) Write a program to generate following patterns. i. A / C B / F E D / J I H G / O N M L K ii. 1 / 2 1 / 1 2 3 / 4 3 2 1 / 1 2 3 4 5 10 marksRead the model answer
-
(b) Write a program to calculate summation of series. 1 - x^2/2! + x^4/4! - x^6/6! + x^8/8! - .upto n terms 10 marksRead the model answer
Q6 Q6 20 Marks
-
(a) Write user defined functions to implement following string operations i. strcat ii. strlen 10 marksRead the model answer
-
(b) What do you mean by FILE ? Write a program to copy text from one file to other after converting Lower case letters to Upper case and vice versa. Keep other characters as it is 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.