C and CPP programs for external exam
C++ Lab Questions
- WAP in C++ in which you should create the complex class and overload the ‘+’ and ‘-‘operators.
- WAP in C++ in which you should create the complex class and overload the ‘++’ operator( both the post and pre increment operators).
- WAP in C++ in which you should create the rational class and overload the ‘+’ and ‘-‘operators.
- Write a C++ program to overload the + operator with string class
- Write C++ program to implement matrix class.
- Write a C++ program to overload + operator with matrix class
- WAP in C++ to illustrate run time polymorphism using virtual functions.
- WAP in C++ in which you should create template functions for Min( ) and Max( ) for finding minimum and maximum in a list.
- WAP in C++ in which you should create a class to represent a Bank account.
- WAP in C++ to illustrate the order of execution of constructors and destructors.
- WAP in C++ to illustrate the use of protected members in a base class.
- WAP in C++ to illustrate the parameter passing mechanisms in C++.
- WAP in C++ to illustrate the use of static members in a class.
- WAP in C++ to illustrate function overloading.
- WAP in C++ to illustrate friend functions.
- WAP in C++ to illustrate multiple inheritance.
- WAP in C++ to illustrate the use of default arguments.
- WAP in C++ to illustrate constant member functions.
- WAP in C++ to illustrate the use of new and delete operators.
- Write a C++ program to count the no. of words, sentences and lines from given line of text.
C Lab Questions
- WAP in C to find the sine of an angle given in degrees.
- WAP in C to find the cosine of an angle given in degrees.
- WAP in C to find the frequency of different vowels and special characters such as n, t and white spaces in a paragraph
- WAP in C to carry out 2-D matrix addition. Use pointer notation
- WAP in C to carry out 2-D matrix multiplication.
- WAP in C to carry out bubble sort on integers.
- WAP in C to carry out bubble sort on strings.
- WAP in C to carry out binary search.
- WAP in C to carry out linear search.
- WAP in C to generate address labels. Use structures and array of structures.
- WAP in C to find the midpoint of a line, given the two end points. Use structures.
- WAP in C to copy a file into another file. Use command line arguments.
- WAP in C to compare two strings. Write your own version of the strcmp() function and name it as mystrcmp()
- WAP in C to concatenate two strings. Write your own version of the strcat() function and name it as mystrcat()
- WAP in C to find whether a given integer number is a palindrome or not.
- WAP in C to find all the perfect numbers within the range 2-10000.
- WAP in C to find all the prime numbers within the range 5000-12000
- WAP in C to find the minimum, maximum and sum of a given set of numbers using an array.
- WAP in C to find the factorial of a given number. Use recursion.
- Write a program to generate Fibonacci numbers. Use recursion.
C++ Questions
- WAP in C++ in which you should create the complex class and overload the ‘+’ and ‘-‘operators.
- WAP in C++ in which you should create the complex class and overload the ‘++’ operator( both the post and pre increment operators).
- WAP in C++ in which you should create the rational class and overload the ‘+’ and ‘-‘operators.
- WAP in C++ to illustrate run time polymorphism using virtual functions.
- WAP in C++ in which you should create template functions for Min( ) and Max( ) for finding minimum and maximum in a list.
- WAP in C++ in which you should create a class to represent a Bank account.
- WAP in C++ to illustrate the order of execution of constructors and destructors.
- WAP in C++ to illustrate the use of protected members in a base class.
- WAP in C++ to illustrate the use of reference arguments.
- WAP in C++ to illustrate the use of static members in a class.
- WAP in C++ to illustrate function overloading.
- WAP in C++ to illustrate friend functions.
- WAP in C++ to illustrate multiple inheritance.
- WAP in C++ to illustrate the use of default arguments.
- WAP in C++ to illustrate constant member functions.
- WAP in C++ to illustrate the use of new and delete operators.
By PRATHIMA , faculty IT department, programming
alpesh said,
September 16, 2008 at 8:30 pm
plz send
aush said,
May 26, 2009 at 12:45 pm
sale kutte tere kuch nahin atta kamene
hanuman said,
November 12, 2008 at 1:28 pm
df
hanuman said,
November 12, 2008 at 1:29 pm
pls send