Wednesday, April 8, 2020

Question Paper( Question Bank-1)

                    Question Paper to solve
Sub:  Programming in C
 Date of Checking: 17 April 2020
___________________________________________________________

1. Attempt  FIVE of the following : 10 Marks
(a) Define type casting. Give any one example.
(b) Declare a structure student with element roll-no and name. (c) Distinguish between call by value and call by reference.
(d) State difference between array and string.
 (e) Declare a structure student with element roll-no and name.
2. Attempt  THREE of the following : 12 Marks
 (a) Develop a simple ‘C’ program for addition and multiplication of two integer numbers.
 (b)  State four arithmetic operations perform on pointer with example.
 (c) Draw flowchart for checking weather given number is prime or not.
3. Attempt  THREE of the following : 12 marks
(a )Explain function with example
(b)Explain structure with example
(c) What is String explain its function
4. Attempt  THREE of the following : 12 Marks
(a) Write a program to swap the values of variables a = 10, b = 5 using function.
(b) Develop a program using structure to print data of three students having data members name, class, percentage.
(c) Design a program to print a message 10 times.
5. Attempt TWO of the following : 12 Marks
(a) Develop a program to find diameter, circumference and area of circle using function.
(b) Write a program to perform addition, subtraction, multiplication and division of two integer number using function.
6. Attempt  TWO of the following : 12 Marks
(a) Enlist different format specifiers with its use.

(b) Explain any four library functions under conio.h header file.

No comments:

Post a Comment