22226 [2 of 2]
2. Attempt any THREE of the following : 12
(a) State the importance of flow chart.
(b) Write a program to declare structure student having rollno, name & marks.
Accept & display data for 3 students.
(c) Explain pointer arithmetic with example.
(d) Explain nested if-else with example.
3. Attempt any THREE of the following : 12
(a) Describe the following terms :
(i) Keyword
(ii) Identifier
(iii) Variable
(iv) Constant
(b) Differentiate between call by value and call by reference.
(c) Explain conditional operator with example.
(d) List the categories of functions and explain any one with example.
4. Attempt any THREE of the following : 12
(a) Write an algorithm to determine the given number is odd or even.
(b) Illustrate the use of break and continue statement with example.
(c) Write a program to add, subtract, multiply and divide two numbers, accepted
from user using switch case.
(d) Illustrate initialization of two dimensional array with example.
(e) Write a program to read two strings and find whether they are equal or not.
5. Attempt any TWO of the following : 12
(a) Write a program to calculate sum of all the odd numbers between 1 to 20.
(b) Write a program for addition of two 3 3 matrices.
(c) Write a program to compute the sum of all elements stored in an array using
pointers.
6. Attempt any TWO of the following : 12
(a) Write a program to sort elements of an array in ascending order.
(b) Write a function to print Fibonacci series starting from 0, 1.
(c) Calculate factorial of a number using recursion.
_______________