MODULE I : INTRODUCTION
1. Write a C++ program to display “HELLO WORLD”.
2. Write a C++ program that will ask the temperature in Fahrenheit and display in Celsius
3. Write a C++ program to print the following output using for loop.
1
2 2
3 3 3
4 4 4 4
4. Write a C++ program to reverse a number using do-while loop
5 Write a C++ program to find out the factorial of a number using while loop
6. Write a C++ program to read an integer array and display it.
7. Write a C++ program to read a character array and display it.
8. Write a C++ program to find out the maximum of three number using if-else statement
1. Write a C++ program to implement the concept of static data member in class.
2. Write a C++ program to implement the concept of static function in class.
3. Write a C++ program using function with default argument.
4. Write a C++ program to illustrate the use of objects as function arguments (which performs the addition of time in the hour and minutes format)
5. Write a C++ program to illustrate the use of friend function.
6. Write a C++ program to illustrate how an object can be created (within a function) and returned to another function
7. Write a C++ program to illustrate the use of constructors and destructors.
8. Write a C++ program to illustrate the use of copy constructor.
1. Write a C++ program to implement single inheritance (private/public)
2. Write a C++ program to implement multilevel inheritance
3. Write a C++ program to implement multiple inheritances.
4. Write a C++ program to illustrate the use of virtual base class.
1. Write a C++ program to overload unary minus operator
2. Write a C++ program to overload binary „+‟ operator
3. Write a C++ program to illustrate how an operator can be overloaded using friend function.
4. Write a C++ program to illustrate the use of run time polymorphism.
1. Write a C++ program to swap two variable using function template
1. Write a C++ program to implement try(), catch(), throw() function.
1. Write a C++ program to implement this pointer
2. Write a C++ program to illustrate the use of pointers to derived objects
3. Write a C++ program to illustrate the use of virtual function
4. Write a C++ program to open and close a file using open(), close() function
5. Write a C++ program to illustrate the use of read(), write() function
5 Write a C++ program to find out the factorial of a number using while loop
6. Write a C++ program to read an integer array and display it.
7. Write a C++ program to read a character array and display it.
8. Write a C++ program to find out the maximum of three number using if-else statement
MODULE II: CLASSES AND OBJECTS
1. Write a C++ program to implement the concept of static data member in class.
2. Write a C++ program to implement the concept of static function in class.
3. Write a C++ program using function with default argument.
4. Write a C++ program to illustrate the use of objects as function arguments (which performs the addition of time in the hour and minutes format)
5. Write a C++ program to illustrate the use of friend function.
6. Write a C++ program to illustrate how an object can be created (within a function) and returned to another function
7. Write a C++ program to illustrate the use of constructors and destructors.
8. Write a C++ program to illustrate the use of copy constructor.
MODULE III : INHERITANCE
1. Write a C++ program to implement single inheritance (private/public)
2. Write a C++ program to implement multilevel inheritance
3. Write a C++ program to implement multiple inheritances.
4. Write a C++ program to illustrate the use of virtual base class.
MODULE IV : POLYMORPHISM
1. Write a C++ program to overload unary minus operator
2. Write a C++ program to overload binary „+‟ operator
3. Write a C++ program to illustrate how an operator can be overloaded using friend function.
4. Write a C++ program to illustrate the use of run time polymorphism.
MODULE V : TEMPLATES
1. Write a C++ program to swap two variable using function template
MODULE VI : EXCEPTION HANDLING AND MANIPULATORS
1. Write a C++ program to implement try(), catch(), throw() function.
MODULE VII: POINTERS AND FILES
1. Write a C++ program to implement this pointer
2. Write a C++ program to illustrate the use of pointers to derived objects
3. Write a C++ program to illustrate the use of virtual function
4. Write a C++ program to open and close a file using open(), close() function
5. Write a C++ program to illustrate the use of read(), write() function
No comments:
Post a Comment