LIST OF QUESTION For PPS PRACTICAL EXAMINATION
LIST OF QUESTION For PPS PRACTICAL EXAMINATION
1. Write a C program to calculate the area of a circle and a rectangle using appropriate variables
and formulas.
2. Develop a C program to swap the values of two variables using a temporary variable.
3. Write a C program to calculate simple interest and compound interest using the formula.
4. Write a C program to perform addition, subtraction, multiplication, and division based on the
user's choice using a menu-driven approach.
5. Write a C program to read two integers and display their sum, difference, product, and quotient.
6. Write a C program to demonstrate the use of the ternary operator for finding the largest of two
numbers.
7. Write a C program to compare three numbers and display the largest using the ternary operator.
8. Write a C program to check if a number is positive, negative, or zero using if-else statements.
9. Write a C program to generate the first N terms of the Fibonacci series
10. Write a C program to find the factorial of a number.
11. Write a C program to find whether a given year is a leap year using if-else.
12. Write a C program to find the largest and smallest elements in an array.
13. Create a C program to perform the addition of two matrices.
14. Write a C program to multiply two matrix
15. Write a C program to reverse the elements of an array.
16. Create a C program to count the number of vowels, consonants, digits, and special characters in a
string.
17. Write a C program to concatenate two strings without using the built-in strcat() function.
18. Develop a program to find the first occurrence of a substring within a string using strstr().
19. Write a C program to find the sum of elements in an array using pointers.
20. Write a C program to demonstrate call by value and call by reference.
21. Write a C program to find the GCD of two numbers using a function.
22. Write a python program to remove duplicate elements from a list while maintaining the original
order.
23. Develop a python program to perform set operations like union, intersection, and difference.
24. Write a python program to sort a dictionary by its keys or values.
25. Create a python program to merge two dictionaries and update the values of common keys.
26. Write a python program to find the largest and smallest elements in a given array.
27. Create a python program to calculate the sum of all elements in an array using a loop.
28. Create a python program to calculate the dot product of two 1D arrays.
29. Write a python program to transpose a 2D array using nested loops.
30. Develop a python program to sort a 2D array row-wise or column-wise.
31. Create a python program to perform element-wise addition, subtraction, multiplication, and
division on two NumPy arrays.
32. Write a python program to find the maximum, minimum, and mean values of a NumPy array.
Mark Split Up
Viva
Aim & Algorithm Program Output Result Total
10
15 Marks 40 Marks 25 Marks 10 Marks 100 Marks
Marks