Engineering FE Engineering Common Sem 2 C Programming May 2019 CBSGS Question Paper - Mumbai University | munotes
Loading PDF...
Older exam
May 2019 - R16
Semester-end · C Programming
→
Newer exam
Dec 2019
Semester-end · C Programming
→
Questions asked in this paper
-
Q1 a. Attempt multiple choice questions. 10 marks
- i. Which of the following is valid variable name?
- (a) case (b) int_rate2 (c) 2sum (d) for
- ii. The operator -- is a
- iii. Control automatically passes to the beginning of loop by using
- (a) break statement (b) goto statement (c) continue statement (d) none of these
- iv. ‘&’ is a ----------- operator
- (a) Unary operator (b) Value operator (c) Address operator (d) none of these
- v. do.while is control loop
- (a) exit (b)entry (c) count (d)all of these
- vi. Which is the correct way to declare a pointer?
- vii. Which of the following belongs to derived data type
- (a) structures (b)union (c)pointers (d) all of the above
- viii. Which function used to write a character to.a file
- ix. Each case statement in switch () is separated by
- (a) break (b) continue (c) goto (d) none of these
- x. Which of the following #define statement is valid?
- (a) #define x=10 (b) #define x 10; (c) #define x 10 (d) # Define x 10
- b. a. Convert the mathematical expression into equivalent C expression 03
- ii. 2v+6.22(c+d) 3 [hint: use function from math library]
- c. If x ,y and z are int variable then evaluate the following expression and give final 02 value of x,y ,z and p
- ii. *z--;
- d. Compare structure and union with proper example. 02
- e. pointers with example. How array is related with pointers? 03
-
Q2 a. What is function? What do mean by calling function and called function? What are function parameters? Using return statement can we return multiple values to calling function? If no then what solution is available? Explain with example 12 marks
- b. Explain break and continue statements with suitable example. 08
-
Q3 a. WAP to sort the array in ascending order. 10 marks
- b. WAP to accept a string and count no. of vowels and consonants, spaces, digits and 06 special characters in it
- C. to find maximum of three numbers using conditional operator. 04
-
Q4 Patient having ID, patient_name and datamembers. WAP to read details of 10 patients and print details of those patients having ‘diabetes’ 12 marks
- b. What is a file?) What are different types of files? Explain the following file 08
-
Q5 a. WAP to check whether entered matrix is symmetric or not. 10 marks
- b. Explain difference between auto and static storage class with suitable example. 05
- c. printa pattern 05
-
Q6 a. What is recursion? How it is different from iteration? WAP to compute factorial of a 12 marks
- b. WAP to print Fibonacci series upto n. [Note: n entered by user, use iterative stmt] 08
Read from the scan above, so a character or two may differ. The scan is the original.
What should we fix or add?
Something wrong on this page? Report it and we will check it against the scan.
Quick Help
No. The full paper opens straight away, with no login and nothing to pay.
Related Resources
Something wrong with this paper? Report it.
Connected Papers
Engineering / HAS · 231 papers
May 2026
May 2026
May 2026
May 2026
May 2026
May 2026
May 2026 - R19
May 2026 - R19
May 2026 - R19
May 2026 - R19
Dec 2025
Dec 2025
Dec 2025
Dec 2025
Dec 2025
Dec 2025
Dec 2025 - R19
Dec 2025 - R19
Dec 2025 - R19
Dec 2025 - R19
Dec 2025 - R19
May 2025
May 2025
May 2025
May 2025
May 2025
May 2025
May 2025 - R19
May 2025 - R19
May 2025 - R19
May 2025 - R19
May 2025 - R19
Dec 2024
Dec 2024
Dec 2024
Dec 2024
Dec 2024
Dec 2024
Dec 2024 - R19
Dec 2024 - R19
Dec 2024 - R19
Dec 2024 - R19
Dec 2024 - R19
May 2024
May 2024
May 2024
May 2024
May 2024
Dec 2023
Dec 2023
Dec 2023
Dec 2023
Dec 2023
May 2023
May 2023
May 2023
May 2023
May 2023 - R16
May 2023 - R19
Dec 2022 - Copy 2
Dec 2022 - R16
Dec 2022 - R16
Dec 2022 - R16
Dec 2022 - R16
Dec 2022 - R16
Dec 2022 - R19
Dec 2022 - R19
Dec 2022 - R19
Dec 2022 - R19
2022 - Summer
2022 - Summer
2022 - Summer R16
2022 - Summer R16
2022 - Summer R16
2022 - Summer R16
2022 - Summer R16
2022 - Summer R16 Set 2
2022 - Summer R19
2022 - Summer R19
2022 - Summer R19
2022 - Summer R19
2022 - Summer R19
Dec 2019 - CBSGS
Dec 2019 - CBSGS
Dec 2019 - CBSGS
Dec 2019 - CBSGS
Dec 2019 - CBSGS
Dec 2019 - CBSGS
Dec 2019 - R16
Dec 2019 - R16
Dec 2019 - R16
Dec 2019 - R16
Dec 2019 - R16
Dec 2019 - R16
Dec 2019 - R19
Dec 2019 - R19
Dec 2019 - R19
Dec 2019 - R19
May 2019 - CBSGS
May 2019 - CBSGS
May 2019 - CBSGS
May 2019 - CBSGS
May 2019 - CBSGS
May 2019 - CBSGS
May 2019 - R16
May 2019 - R16
May 2019 - R16
May 2019 - R16
May 2019 - R16
May 2019 - R16
Dec 2018 - CBSGS
Dec 2018 - CBSGS
Dec 2018 - CBSGS
Dec 2018 - CBSGS
Dec 2018 - CBSGS
Dec 2018 - CBSGS
Dec 2018 - R16
Dec 2018 - R16
Dec 2018 - R16
Dec 2018 - R16
Dec 2018 - R16
Dec 2018 - R16
May 2026
May 2026
May 2026
May 2026
Dec 2025
Dec 2025
Dec 2025
Dec 2025
Dec 2025
Dec 2025
Dec 2025
Dec 2025
Dec 2025
Dec 2025
Dec 2025
Dec 2025 - R19
Dec 2025 - R19
May 2025
May 2025
May 2025
May 2025
May 2025
May 2025
May 2025
May 2025
May 2025
May 2025
May 2025
May 2025
May 2025
May 2025 - R19
May 2025 - R19
Dec 2024
Dec 2024
Dec 2024
Dec 2024
Dec 2024
Dec 2024
May 2024
May 2024
May 2024
May 2024
May 2024
May 2024
May 2023 - R16
May 2023 - R16
May 2023 - R16
May 2023 - R16
May 2023 - R16
May 2023 - R16
May 2023 - R19
May 2023 - R19
May 2023 - R19
May 2023 - R19
May 2023 - R19
May 2023 - R19
Dec 2022
Dec 2022
Dec 2022
Dec 2022 - R16
Dec 2022 - R16
Dec 2022 - R16
Dec 2022 - R19
Dec 2022 - R19
Dec 2022 - R19
2022 - Summer
2022 - Summer
2022 - Summer
2022 - Summer R16
2022 - Summer R16
2022 - Summer R16
2022 - Summer R16 Set 2
2022 - Summer R19
2022 - Summer R19
2022 - Summer R19
2022 - Summer R19 Set 2
Dec 2019
Dec 2019
Dec 2019 - CBSGS
Dec 2019 - CBSGS
Dec 2019 - CBSGS
Dec 2019 - CBSGS
Dec 2019 - R16
Dec 2019 - R16
Dec 2019 - R16
Dec 2019 - R16
May 2019 - CBSGS
May 2019 - CBSGS
May 2019 - CBSGS
May 2019 - CBSGS
May 2019 - CBSGS
May 2019 - CBSGS Open
May 2019 - R16
May 2019 - R16
May 2019 - R16
May 2019 - R16
May 2019 - R16
May 2019 - R16
Dec 2018
Dec 2018 - CBSGS
Dec 2018 - CBSGS
Dec 2018 - CBSGS
Dec 2018 - CBSGS
Dec 2018 - CBSGS
Dec 2018 - R16
Dec 2018 - R16
Dec 2018 - R16
Dec 2018 - R16
Dec 2018 - R16
Questions? Email contact@munotes.in
Done!