Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Question Paper Summer 2019

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

21819

22226
3 Hours / 70 Marks Seat No.

Instructions : (1) All Questions are compulsory.


(2) Answer each next main Question on a new page.
(3) Illustrate your answers with neat sketches wherever necessary.
(4) Figures to the right indicate full marks.
(5) Assume suitable data, if necessary.
(6) Use of Non-programmable Electronic Pocket Calculator is permissible.

Marks
1. Attempt any FIVE of the following : 10
(a) Draw flowchart for checking whether given number is even or odd.
(b) List any four keywords used in ‘C’ with their use.
(c) Write the syntax of switch case statement.
(d) State any two differences between while and do-while statement.
(e) State difference between array and string.
(f) Declare a structure student with element roll-no and name.
(g) Distinguish between call by value and call by reference.

2. Attempt any THREE of the following : 12


(a) State four arithmetic operations perform on pointer with example.
(b) Draw flowchart for checking weather given number is prime or not.
(c) Write a program to reverse the number 1234 (i.e. 4321) using function.
(d) Differentiate between character array and integer array with respect to size
and initialisation.

[1 of 2] P.T.O.
22226 [2 of 2]
3. Attempt any THREE of the following : 12
(a) Write a program to sum all the odd numbers between 1 to 20.
(b) Explain any four bit-wise operator used in ‘C’ with example.
(c) With suitable example, explain how two dimensional arrays can be created.
(d) Explain any two string functions with example.

4. Attempt any THREE of the following : 12


(a) Draw flowchart for finding largest number among three numbers.
(b) Describe generic structure of ‘C’ program.
(c) Write a program to take input as a number and reverse it by while loop.
(d) Write a program to accept 10 numbers in array and arrange them in ascending
order.
(e) Explain meaning of following statement with reference to pointers :
int *a, b;
b = 20;
*a = b;
A = &b;

5. Attempt any TWO of the following : 12


(a) Write a program to perform addition, subtraction, multiplication and division
of two integer number using function.
(b) Define Array. Write a program to accept ten numbers in array. Sort array
element and display.
(c) Write a program to print reverse of a entered string using pointer.

6. Attempt any TWO of the following : 12


(a) Explain recursion with suitable example. List any two advantages.
(b) Write a program to accept ten numbers and print average of it.
(c) Enlist different format specifiers with its use.
_______________

You might also like