BSc IT Sem I ATKT IMPERATIVE PROGRAMMING Question Paper - Mumbai University | munotes
Loading PDF...
Older exam
OPERATING SYSTEMS
Semester-end · ATKT
→
Newer exam
DISCRETE MATHEMATICS
Semester-end · ATKT
→
Questions asked in this paper
-
Q1 Attempt of the following: 15 marks
- a. Discuss any two of the following
-
Q2 Assembly Language
-
Q3 Procedural Language
- b. What do you understand from simple program logic? Discuss with suitable example
- c. is program development life cycle? Explain its various stages
- d. Define keywords and identifiers in C language? What are the rules for writing identifiers?
- e. What are desirable characteristics required for writing a program?
- f. | What are constants in c? Discuss various types of constants used in c
-
Q2 Attempt of the following: 15 marks
- a. Evaluate the following
- b. do you understand from precedence/hierarchy of operators in c? Write down the precedence of operators in c
- c. What do you understand from library functions? Discuss the use of following functions
- d. What is printf Q? Discuss various format strings which can be used with printfQ) giving
- e. What will be the output from following statements where an interactive C program to accept three numbers from user and find their sum and
-
Q3 Attempt any three of the following: 15 marks
- a. What are control statements? Explain branching, selection and looping Explain the use of while loop with programming example
- c. is a switch case statement? Write a program to input number of the day and it should print name of the day.(eg. Input 1 and program should print Monday) What is.a function? Discuss difference between function prototype and function definition
- e. What is recursion? Write a program to find factorial of a number using recursion
- f. ac program to print following pattern any three of the following: 15 a What do you understand from storage classes? Discuss the use of auto and static storage b following statements will do if and Also write the output c What are preprocessors in c language? List various preprocessors and explain any two of d is a macro? Write a small program to show the use of a macro e is an array? What are advantages of using arrays? Discuss one-dimensional array f Write ac program to swap two numbers using value method
-
Q5 Attempt any three of the following: 15 marks
- a. What is a pointer? How a pointer can be declared and assigned address? Also explain use of
- b. Consider the following code snippets and write their output Assume that address of x is 110 Write are pointer arrays? How data can be read and written using a pointer array? Explain with suitable example
- d. is a structure? How can we pass a structure to a function? Explain with example
- e. What is a union? Discuss its advantages and disadvantages over structure Write ac program to demonstrate the use of union
Read from the scan above, so a character or two may differ. The scan is the original.
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
BSc IT / Sem I · 57 papers
Questions? Email contact@munotes.in
Done!