Vous êtes sur la page 1sur 3

INDEX

S. Program Description Page T.


No No. Sign.
1 Program that find the prime numbers from 1 to 100.
2 Program that swap two number without third variable.
3 Program that check given letter is vowel or consonant using (if/else)
Program that to convert lower case letter to upper case and upper case to
4
lower case without using any pre-defined functions of C++.
5 Program that calculate factorial of a given number. (use for loop)
Write a Program that Print following Patterns:
* ****** *
6 *** ***** * *
***** *** * *
******* * *******
Write a program that check given Number is palindrome or not (While loop
7
or For loop)
Program to Print the Fibonacci Series as show below:
8
0 1 1 2 3 5 8 13 21 34
9 Program to search an element of an array using Linear search method.
10 Program to search an element of an array using Binary search method.
11 Program to sort an array in ascending order using Selection Sorting.
12 Program to sort an array in ascending order using Bubble Sorting.
13 Program to sort an array in ascending order using Insertion Sorting.
Program that insert an element in given sorted array at position as per the
order of values.
Example: Given Array
14
2 3 4 6 7 8 9 10 12 15
After inserting an element „5‟ as per the order, the array will be as follows:
2 3 4 5 6 7 8 9 10 12 15
Program that delete element in given array and rearrange the array.
Example: Given Array
15 2 3 4 5 6 7 8 9 10 12 15
After deleting element „5‟ as per the order, the array will be as follows:
2 3 4 6 7 8 9 10 12 15
Program that to merges array A[ 8] and B[6 ] into array C[14] in assending
16 oredr. Consider array A and B are already given in sorted form (ascending
order).
Program to check whether a given string is Palindrome or not.
17
Example: NITIN, KATAK
Program to find the sum of Diagonal and non-Diagonal elements of given
18
2D array of size [5][5].
Program to find the row wise sum of elements of given 2D array of size
19
[3][5].
Program to find the column wise sum of elements of given 2D array of size
20
[3][5].
Program to create a text file and find the average word size using the concept
21
of data file handling.
Program to transpose of Square Matrix. (Interchanging Row elements with
22
Column elements) .
Program using multiple inheritances for the classes Student, Game and
23
Person.
Program using pointers to find the length of a string and print the reversed
24
string.
Program to create a text file “STUDENT.TXT” to input Roll Number and
25 Marks of ten students and display them on screen after reading from the text
file using data file handling.
Program to create a binary file and write objects of class WORKER to it and
26
display worker details on screen after reading from the binary file.
Program using function overloading to calculate area of circle, square,
rectangle, right triangle and triangle using heron‟s formulae.
Hint: Choose from the following :
27 1. Area of square 2. Area of circle
3. Area of rectangle 4. Area of right triangle
5. Area of triangle
Enter your choice :
Program in C++ to define a class BANK and to perform its basic functions.
28 1. Add balance. 2. Withdraw balance.
3. Display account details and its status. 4. Exit
Program to create a text file (.txt) and display number of words, alphabets,
29 vowels and consonants and number of lowercase and uppercase letters using
the concept of DATA FILE HANDLING.
Program in C++ to read file “SPORTS.DAT” and copy only those records to
30 the file “ATHLETICS.DAT”, where event name is ATHLETIC using the
concept of Data file handling.
Write a menu driven program which allows the user to perform the following
operations on a Static Queue (Array implementation):
31
1. Push 2. Pop
3. Traverse 4. Exit
Write a menu driven program which allows the user to perform the following
operations on a Dynamic Queue (Linked Implementation):
1. Push
32
2. Pop
3. Traverse
4. Exit
Write a menu driven program which allows the user to perform the following
operations on a Static Stack (Array implementation):
1. Push
33
2. Pop
3. Traverse
4. Exit
Write a menu driven program which allows the user to perform the following
operations on a Dynamic Stack (Linked implementation):
1. Push
34
2. Pop
3. Traverse
4. Exit
Write a menu driven program which allows the user to perform the following
operations on a Static Circular Queue (Array implementation):
1. Push
35
2. Pop
3. Traverse
4. Exit

Vous aimerez peut-être aussi