Engineering FE Engineering Common Sem 2 C Programming May 2013 Question Paper - Mumbai University | munotes
This paper is solved: read the model answers.
Loading PDF...
Questions asked in this paper
Solved paper All 22 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) Explain the purpose of following standard library functions - (i) Floor ( ) (ii) ceil ( ) (iii) sqrt ( ) 3 marksRead the model answer
-
(b) Explain how problem is defined with a help of suitable example. 4 marksRead the model answer
-
(c) Explain difference between for, while and do while loop. 3 marksRead the model answer
-
(d) Explain difference between call by value and call by reference. 4 marksRead the model answer
-
(e) Explain any three string standard library functions. 3 marksRead the model answer
-
(f) Explain reference and de-reference operators with example. 3 marksRead the model answer
Q2 Q2 20 Marks
-
(a) Explain various storage classes used in c with example. 5 marksRead the model answer
-
(b) Write a program to calculate sum of list by passing array to a function. 5 marksRead the model answer
-
(c) Write a c-program to create an array of structure to store the details of almost 100 employees. And sort it according to employee ID. Employee details are as follows: (i) Employee Name (ii) Employee ID (iii) Employee Salary. 10 marksRead the model answer
Q3 Q3 20 Marks
-
(a) Write an algorithm and draw flowchart to calculate roots of quadratic equation. 6 marksRead the model answer
-
(b) Write a program to display pascal triangle. A / A B / A B C / A B C D / A B C D E 6 marksRead the model answer
-
(c) Explain recursion concept. Write a program to display Fibonacci series using recursion. 8 marksRead the model answer
Q4 Q4 20 Marks
-
(a) Write an algorithm to sort set of numbers in ascending order. For above problem in which cases time complexity is calculated. 6 marksRead the model answer
-
(b) Write a program to display armstrong nos between 1 to 1000. 6 marksRead the model answer
-
(c) Write a program to calculate matrix multiplication and transpose for a matrix. 8 marksRead the model answer
Q5 Q5 20 Marks
-
(a) Write a output for following program: # include <stdio.h> Void main ( ) { int x = 10, y, z; z = y = x; y -= --x; z -= x--; x -= --x - x--; printf ("x = %d y = %d z = %d," x, y, z);p } 6 marksRead the model answer
-
(b) WAP to calculate sum of series 1/2 + 3/4 + 5/6 + . + n terms. 6 marksRead the model answer
-
(c) Write a program to sort list elements in descending order. 8 marksRead the model answer
Q6 Q6 20 Marks
-
(a) Explain difference between switch statement, ladder of if else and nested if else. 6 marksRead the model answer
-
(b) Write a recursive program to calculate factorial of accepted number. 6 marksRead the model answer
-
(c) Write a program to validate whether accepted string is palindrome or not. 5 marksRead the model answer
-
(d) Explain how to read the contents of file and write into the file with Syntax. 3 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.