munotes® Sign in

Engineering FE Engineering Common Sem 2 C Programming May 2024 Question Paper - Mumbai University | munotes

C Programming Question Paper, May 2024.pdf
HAS · 1.3 MB · 5 Nov 2026

Loading PDF...

Questions asked in this paper

Solved paper All 19 questions answered in full Exam-ready answers, the reasoning behind each one, and what the examiner is looking for. Open the solutions

Q1 Q1 (Solve any three out of the following.) 15 Marks

  1. A Write a C program to get age and vaccination details as input. Print “senior citizen and eligible for booster” if age > 60 and vaccination input as ‘2’, otherwise print “below 60 and eligible for vaccination”. Use conditional operator. 5 marks
    Read the model answer
  2. B Write string handling functions in C used to do following task: If first-name, middle name, last name given as an input display it as a full name. / Display number of characters in full name. / Convert first name into capital letters and last name into small letters. / print the full name in reverse order 5 marks
    Read the model answer
  3. C Write a program to print following pattern for given number of rows. 1 / 2 2 / 3 3 3 / 4 4 4 4 / 5 5 5 5 5 5 marks
    Read the model answer
  4. D Differentiate between Structure and Union. 5 marks
    Read the model answer
  5. E Explain formal parameters and actual parameters with an example. 5 marks
    Read the model answer

Q2 Q2 15 Marks

  1. A What is the purpose of switch statement and write a C program to input an alphabet and check whether it is vowel or consonant using switch case. 5 marks
    Read the model answer
  2. B Write a C program using function to check if the entered number is prime number or not. 5 marks
    Read the model answer
  3. C What is an identifier (variable)? What are the rules to construct identifier (Variable)? Classify the following as valid/invalid Identifiers. i) num2 ii) $num1 iii) +add iv) a_2 5 marks
    Read the model answer

Q3 Q3 15 Marks

  1. A Write a C program that takes three coefficients (a, b and c) of a quadratic Equation; (ax^2+bx+c=0) as input and compute all possible roots and print them with appropriate messages. 10 marks
    Read the model answer
  2. B Define array. Write a C program to find the sum and average of n integer numbers using array. 5 marks
    Read the model answer

Q4 Q4 15 Marks

  1. A What is nested Structure? Explain with proper example. 5 marks
    Read the model answer
  2. B Explain pointer operators with proper example. 5 marks
    Read the model answer
  3. C Write a C program to replace all occurrences of a character with another in a string. 5 marks
    Read the model answer

Q5 Q5 15 Marks

  1. A Write a program to calculate power of a number(x raised to n), accept value of x and n from the user. 5 marks
    Read the model answer
  2. B What is the necessity of parameter passing to function? What are the two ways of parameters passing to function? Explain any one in detail. 5 marks
    Read the model answer
  3. C Give the difference between break and continue with an example. 5 marks
    Read the model answer

Q6 Q6 15 Marks

  1. A Write a C program to find sum of principal diagonal elements of a given square matrix. 5 marks
    Read the model answer
  2. B Define Recursive function. Write a Program to find GCD of two numbers using Recursive function. 5 marks
    Read the model answer
  3. C Define pseudocode. Draw flowchart and write a pseudocode to find whether given number is palindrome or not 5 marks
    Read the model answer

Read from the scan above, so a character or two may differ. The scan is the original.

Issue

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.

Something wrong with this paper? Report it.

Connected Papers
Engineering / HAS · 250 papers
Browse all →
May 2026 - R19 Dec 2023 Dec 2023 - R16 Dec 2023 - R16 Dec 2023 - R16 Dec 2023 - R16 Mar 2022 - Online Mar 2022 - Online Mar 2022 - Online Mar 2022 - R16 Online Mar 2022 - R16 Online Mar 2022 - R19 Online Mar 2022 - R19 Online Apr 2021 - Online Apr 2021 - Online Apr 2021 - Online Apr 2021 - Online Apr 2021 - Online Mar 2021 - Online Mar 2021 - Online Mar 2021 - Online Mar 2021 - Online Mar 2021 - R16 Online Mar 2021 - R16 Online Mar 2021 - R16 Online Mar 2021 - R16 Online Mar 2021 - R16 Online Mar 2021 - R19 Online Mar 2021 - R19 Online Mar 2021 - R19 Online Mar 2021 - R19 Online Dec 2019 - R16 May 2018 - CBSGS May 2018 - CBSGS May 2018 - R16 May 2018 - R16 Dec 2017 - CBSGS Dec 2017 - CBSGS Dec 2017 - R16 Dec 2017 - R16 May 2017 - CBSGS May 2017 - CBSGS May 2017 - R16 May 2017 - R16 Dec 2016 - CBSGS Dec 2016 - CBSGS Dec 2016 - CBSGS Dec 2016 - R16 Dec 2016 - R16 May 2016 May 2016 Dec 2015 Dec 2015 Dec 2015 May 2015 May 2015 May 2015 Dec 2014 Dec 2014 Dec 2014 May 2014 May 2014 May 2014 May 2014 - REV-2007 May 2014 - REV-2007 May 2014 - REV-2007 May 2014 - REV-2007 May 2014 - REV-2007 May 2014 - REV-2007 Dec 2013 Dec 2013 Dec 2013 Dec 2013 - REV-2007 Dec 2013 - REV-2007 Dec 2013 - REV-2007 Dec 2013 - REV-2007 Dec 2013 - REV-2007 May 2013 May 2013 May 2013 May 2013 - REV-2007 May 2013 - REV-2007 May 2013 - REV-2007 May 2013 - REV-2007 May 2013 - Retyped May 2013 - Retyped Dec 2012 Dec 2012 Dec 2012 Dec 2012 - REV-2007 Dec 2012 - REV-2007 Dec 2012 - REV-2007 Dec 2012 - REV-2007 Dec 2012 - REV-2007 Dec 2012 - REV-2007 May 2012 - REV-2007 May 2012 - REV-2007 Dec 2011 - REV-2007 Dec 2011 - REV-2007 Dec 2011 - REV-2007 Dec 2011 - REV-2007 Dec 2011 - REV-2007 May 2011 - REV-2007 May 2011 - REV-2007 May 2011 - REV-2007 May 2011 - REV-2007 May 2011 - REV-2007 May 2011 - REV-2007 Dec 2010 - REV-2007 Dec 2010 - REV-2007 Dec 2010 - REV-2007 Dec 2010 - REV-2007 Dec 2010 - REV-2007 Dec 2010 - REV-2007 May 2010 - REV-2007 May 2010 - REV-2007 May 2010 - REV-2007 May 2010 - REV-2007 May 2010 - REV-2007
May 2026 May 2026 May 2026 May 2025 Dec 2023 - R16 Dec 2023 - R16 Dec 2023 - R16 Dec 2023 - R16 Dec 2023 - R16 Dec 2023 - R16 Dec 2022 - R16 Mar 2022 - Online Mar 2022 - Online Mar 2022 - Online Mar 2022 - R16 Online Mar 2022 - R16 Online Mar 2022 - R19 Online Mar 2022 - R19 Online 2022 - Summer R16 Aug 2021 - Online Aug 2021 - Online Aug 2021 - Online Aug 2021 - Online Aug 2021 - Online Aug 2021 - Online Mar 2021 - Online Mar 2021 - Online Mar 2021 - Online Mar 2021 - Online Mar 2021 - Online Mar 2021 - Online Mar 2021 - R16 Online Mar 2021 - R16 Online Mar 2021 - R16 Online Mar 2021 - R16 Online Mar 2021 - R16 Online Mar 2021 - R19 Online Mar 2021 - R19 Online Mar 2021 - R19 Online Mar 2021 - R19 Online Mar 2021 - R19 Online Dec 2018 - R16 May 2018 - CBSGS May 2018 - CBSGS May 2018 - CBSGS May 2018 - R16 May 2018 - R16 May 2018 - R16 Dec 2017 - CBSGS Dec 2017 - CBSGS Dec 2017 - CBSGS Dec 2017 - R16 Dec 2017 - R16 Dec 2017 - R16 May 2017 - CBSGS May 2017 - CBSGS May 2017 - CBSGS May 2017 - R16 May 2017 - R16 May 2017 - R16 May 2017 - REV-2007 May 2017 - REV-2007 May 2017 - REV-2007 May 2017 - REV-2007 Dec 2016 Dec 2016 Dec 2016 Dec 2016 - REV-2007 May 2016 May 2016 May 2016 Dec 2015 Dec 2015 Dec 2015 May 2015 May 2015 May 2015 May 2015 - REV-2007 May 2015 - REV-2007 May 2015 - REV-2007 May 2015 - REV-2007 May 2015 - REV-2007 Dec 2014 Dec 2014 Dec 2014 May 2014 May 2014 May 2014 Dec 2013 Dec 2013 Dec 2013 Dec 2013 - REV-2007 Dec 2013 - REV-2007 Dec 2013 - REV-2007 Dec 2013 - REV-2007 May 2013 May 2013 May 2013 May 2013 - REV-2007 May 2013 - REV-2007 May 2013 - REV-2007 Dec 2012 - REV-2007 Dec 2012 - REV-2007 Dec 2012 - REV-2007 Dec 2012 - REV-2007 Dec 2012 - REV-2007 May 2012 - REV-2007 May 2012 - REV-2007 May 2012 - REV-2007 Dec 2011 - REV-2007 Dec 2011 - REV-2007 May 2011 - REV-2007 May 2011 - REV-2007 May 2011 - REV-2007 May 2011 - REV-2007 May 2011 - REV-2007 Dec 2010 - REV-2007 Dec 2010 - REV-2007 Dec 2010 - REV-2007 Dec 2010 - REV-2007 May 2010 - REV-2007 May 2010 - REV-2007 May 2010 - REV-2007 May 2010 - REV-2007 May 2009 - REV-2007 May 2009 - REV-2007 Dec 2008 - REV-2007 Dec 2008 - REV-2007 Dec 2008 - REV-2007 Dec 2008 - REV-2007 Dec 2008 - REV-2007
Questions? Email contact@munotes.in
Done!
Done!