0% found this document useful (0 votes)
4 views

pop 2

The document outlines topics and questions for the IAT-2 exam in the course POPUC-BPOPS203 for the 2nd semester BE students. It includes programming tasks in C, such as calculating the area of a triangle, implementing sorting algorithms, and working with arrays and matrices. Additionally, it covers theoretical concepts like storage classes, recursion, and function types.

Uploaded by

dopiv89307
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

pop 2

The document outlines topics and questions for the IAT-2 exam in the course POPUC-BPOPS203 for the 2nd semester BE students. It includes programming tasks in C, such as calculating the area of a triangle, implementing sorting algorithms, and working with arrays and matrices. Additionally, it covers theoretical concepts like storage classes, recursion, and function types.

Uploaded by

dopiv89307
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Covered topics/questions for IAT-2

POPUC-BPOPS203
2nd Sem, BE, I,J,K,L

1. Write C programs for the followings:


a. Area of a triangle by given 3 sides (Sum of two sides must be > 3rd side)
b. Simple calculator using switch statement
2.
a. Demonstrate the working of break and continue statement with a suitable
example.
b. Compare the working of for, while and do…while along with their syntax and
flowchart.
3. Write C programs for the followings:
a. To plot Pascal’s Triangle up to 9 rows
b. To check whether a number is prime or not.
4. a. Write C Program To find reverse of a number ?
b.Explain static and auto storage class with example?
5.
a. Explain declaration and initialization of 1-dimensional arrays
b. Explain declaration and initialization of 2-dimensional arrays
6.
a. Write a C Program to find smallest and largest in integer array of n elements
b. Write a C Program to add 2 matrices
7. Write a C program to implement bubble Sort technique (ascending order). Trace the
steps for the input: 9, 1, 6, 3, 2, 0, 5
8. Write a C program to put even and odd elements of an array in two separate arrays.
Take the size of the array and array elements as user input.
9. Internal Assessment Tests (IATs) are conducted in 5 subjects for 60 students. Write a C
Program using 2-D array to read marks for each students in 5 subjects and to compute
their sum and average of marks. (Sum and average of row elements)
10. What is Recursive function? Write C program to find factorial of a number with
recursion?
11. Explain difference between call by value and call by reference with example programs?
12. Explain storage classes with examples?
13. What is a function? Write a c program to find the factorial with function?
14. Write C program to display Fibonacci series using function?
15. Write C program to Multiply Two matrices and print resultant matrix?

You might also like