Pps Paper
Pps Paper
Pps Paper
___________
Marks
Q.1 (a) Define following terms: 04
1) Application Software 2) System Software
3) Algorithm 4) Flowchart.
(b) Draw the flow chart to find the largest of the given three numbers – 03
A ,B and C
Q.2 (a) Discuss use of break and continue statement in C with example. 03
(b) Compare and contrast while and do while loop with example. 04
(c) Write a C program to print following pattern. 07
1
2 2
3 3 3
OR
(c) Write a C program to print following pattern. 07
1
2 3
4 5 6
Q.4 (a) What is structure? Explain with example how to declare a structure 03
and how to initialize it.
(b) Explain following string manipulation function. 04
strcat( ), strcpy( ) ,strcmp( ) and strlen( )
(c) Write a program in c for multiply two matrices A and B of dimensions 07
pXq and qXr respectively and store the result in third matrix C.
OR
1
Q.4 (a) Demonstrate declaration and initialization of two dimensional 03
array with suitable example.
(b) Explain nested if else ladder with suitable example. 04
(c) Write a program in c using structure to enter rollno, marks of the three 07
subject for 3 student and find total obtained by each student
Q.5 (a) What do you mean by recursive function? What care must be taken 03
while writing a program with recursive function?
(b) Explain fopen() and its mode with example. 04
(c) Describe different categories of user-defined functions. 07
OR
Q.5 (a) What is pointer? Explain how pointers are declared and 03
initialized. .
(b) Compare malloc() and calloc() functions for dynamic memory 04
allocation.
(c) Develope a program in C to check the entered number is prime or not 07
by creating a user-defined function named check_prime().
********