munotes®

BSc IT Sem I 2018 19 2018-19 Imperative Programming Question Paper - Mumbai University | munotes

Imperative Programming.pdf
SEM I · 2018-19 · 1 May 2025

Loading PDF...

Questions asked in this paper

  1. Q1 Attempt any three of the following: 15 marks
    • a. Explain the different types of programming language
    • b. Explain the different steps in the program development cycle
    • c. Draw the flowchart and pseudo code of program that doubles a number
    • d. Describe the structure of a C program
    • e. What are the various data types in C? Explain them
    • f. What is a statement in C? Explain the different classes of statement in C
  2. Q2 Attempt any three of the following: 15 marks
    • a. Write a program in C to swap two numbers without using third variable
    • b. Describe the five arithmetic operators in C
    • c. Explain the conditional operator in C
    • d. Explain the getchar and putchar functions C programming language
    • e. Write a short note on scanf function
    • f. Explain the gets and puts functions used in C programming language
  3. Q3 Attempt any three of the following: 15 marks
    • a. Explain if-else statement with an example
    • b. Write a program in C to find the sum of squares of digits of a number What is the difference between while and do-while loop in C?
    • d. Explain the function with an example
    • e. Write a program in C to find the factorial of a number using recursion
    • f. Explain call by value and call by reference
  4. Q4 Attempt any three of the following: a What is meant by the storage class of a variable? b Write a short note on Global variable c Write a program in C to calculate successive Fibonacci numbers d What are preprocessor directives in C? Explain #include and #define in C e Write a program in C to arrange the ‘n’ numbers stored in the array in ascending f What is a two dimensional array? How can they be declared and initialized in C? 15 marks
  5. Q5 Attempt any three of the following: 15 marks
    • a. Explain the term pointers with an example
    • b. Write a C program to perform addition of two pointer variable Write a short note on pointer arithmetic
    • d. Differentiate between structure and union
    • e. What is an array within the structure and array of structure?
    • f. Explain nested structure in C with an example

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

Report or request

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
BSc IT / Sem I · 57 papers
Browse all →
Questions? Email contact@munotes.in
Done!
Done!