Object Oriented Programming Using C++ Practical Questions

List Of Practicals

  1. Write programs to evaluate any expression using Input / Output functions.
  2. Write programs using-    • Scope resolution operator     • Memory management operator       • Manipulators .
  3. Write programs to demonstrate use of-     • Implicit type casting                • Explicit type casting.
  4. Write programs to show use of classes and objects to define the function inside the class .
  5. Write programs to define the function outside the class.
  6. Write programs to implement inline function.
  7. Write programs to implement friend function using-        • Two different classes          • External function.
  8. Write programs to implement-    • Static data member          • Static member function.
  9. Write programs to create array of objects.
  10. Write programs for-       • Default constructor            • Parameterized constructor          • Copy constructor                  • Multiple constructor in one class.
  11. Write programs using-      • Single level inheritance          • Multilevel inheritance.
  12. Write programs to implement multiple inheritance.
  13. Write programs to implement hierarchical inheritance.
  14. Write programs to implement virtual base class.
  15. Write programs which show the use of constructors in derived class.
  16. Write programs to implement-   • Pointer to object             • ‘this’ pointer.
  17. Write programs for-        • Pointer to derived class in single inheritance         • Pointer to derived class in multilevel inheritance.
  18. Write programs which show the use of function overloading.
  19. Write prorams to overload unary operator using-       • Member function     • Friend function.
  20. Write programs to overload binary operator using-      • Member function     • Friend function.
  21. Write programs to implement virtual function.
  22. Write programs to implement pure virtual function.
  23. Write programs to read and write from/to file using-    • Constructor           • open()
  24. Write programs to copy the content of one file into another file using formatted input/output functions.
  25. Write file programs to implement sequential input and output operations on file.
  26. Write programs to perform input / output operations on binary files.