Thursday, May 21, 2009

Review Questions


OBJECT ORIENTED PROGRAMMING



Previous Next

1.Define the terms

a) Object

b) class

2. What do you meant by an abstraction ? Explain the five different types of abstraction.

3. Explain the concept of ploymorphism and inheritance.

4. What is the structure of C++ Program

5. When do you use the keyword return and not use the keyword return?

6. What is the use of header files in C++ Program?

7. What are the new operators available in C++

8. What is function? What the steps in using a function?

9. What is the difference between inline function and ordinary function.

10. What is meant virtual and pure virtual function?

11. What is a pointer? Explain the advantages of pointers.

12. What is a class?

13. How does a class accomplish encapsulation and data hiding.

14. How do you create an object.

15. What is constructor

16. What is Destructor

17. How do we invoke a constructor and destructor function

18. What is friend function

19. What are types of constructors

20. Define ploymorphism and explain with an example.

21. What is exception handling

22. How an exception handling is defined and invoked in a program

23. Explain the applications of object oriented programming

24. Explain the basic concepts of object oriented programming in details

25. Explain Object Oriented Languages

26. Explain Software evaluation

27. What is Copy Constructor ? Explain with an example?

28. Explain function overloading with example?

29. Explain operator overloading with example?

30. Which operators can't overload?

31. When do we use the protected visibility specifier to a class member?

32. What is abstract class?

33. What is virtual function? Write a program to explain virtual function.

34. What is virtual base class?

35. Explain file operation in details with example

36. What is file mode? List of file modes

37. How do you open and close a file in C++?

38. What is template? Write a program to explain function template

39. What are the input output stream class?

40. What is class template? explain with an example

41. Explain various type of inheritance

42. What is the use of Exception Handling and Templates?

No comments:

Post a Comment