Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
83 views1 page

C++ Programming Exam Tasks

The document lists 20 C++ programming questions that could be used for a practical exam. The questions cover a range of topics including checking if a year is a leap year, displaying the Fibonacci series, checking if a number is a palindrome, finding the transpose of a matrix, sorting an array, finding repeated elements in an array, reversing strings and numbers, counting vowels, and adding numbers using call by reference.

Uploaded by

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

C++ Programming Exam Tasks

The document lists 20 C++ programming questions that could be used for a practical exam. The questions cover a range of topics including checking if a year is a leap year, displaying the Fibonacci series, checking if a number is a palindrome, finding the transpose of a matrix, sorting an array, finding repeated elements in an array, reversing strings and numbers, counting vowels, and adding numbers using call by reference.

Uploaded by

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

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

You might also like