TES-38 : CPP PRACTICAL EXAM QUS
1. Check if a year is leap year or not.
2. C++ Program to Display Fibonacci Series.
3. C++ Program to Check Whether a Number is Palindrome or Not.
4. Example: Find Transpose of a Matrix.
5. Program to find sum of elements in a given array.
6. Program to Sort array in ascending order.
7. Program to find 10 x multiples of 2.
8. Program to taken name of student as input from user & store it in file. User should be able to
modify the name.
9. Program to find median of an array which is provided by user as input.
10. Program to find repeated element in an array.
11. Program to remove all duplicates in string.
12. Program to reverse a words in given string.
13. Program to count words in given string.
14. Program to print pascal triangle (1,11,121,1331).
15. Program to print Fibonacci series. (0, 1, 1, 2, 3, 5, 8, 13……)
16. Program to check whether given number is Armstrong or not i.e (371 i.e
sum ! of its digits raised to the third power is equal to the number).
17. Write a c++ program to reverse given number.
18. Write a c++ program to print alphabet triangle. (A, ABA,ABCBA).
19. Write a C++ program to count all the vowels in a given string.
20. Write a program in C to add numbers using call by reference. i.e using pointers