Research Area

Ashutosh Dubey

Wednesday, February 17, 2010

Important Questions for OOPM

1. What is object-oriented programmin? How it is different from POP. Benefits and Risk of OOPM.


2. Data Abstraction.Diffrent forms of abstraction.

3. What is meant by data encapsulation? What are their advantages?

4. Write a short note on object interactions (message passing).

5. What is class? How does it accomplish data hiding?

6. What are static data member? How are they declared? Write a program to display the use of static data members.

7. What is inline function? Explain by giving example.write pros and cons.

8. What is friend function? Explain with example. Write pros and cons.

9. What is constructor and destructor explain by example. Write pros and cons.

10. Is it mandatory to use constructors in a class?

11. What is the importance of copy constructor? Explain by proper example.

12. What are the different types of constructors available in C++?Write a program that includes all varities of constructors in it and also display the use of each one.

13. What is friend function? Explain by example. When is it compulsary?= operator cannot be overloaded by using friend function.

14. What is abstract class and why it is needed. What restrictions are there on these classes?

15. Discuss about method lookup.

16. What is inheritance? Explain about different forms of it by giving examples.

17. What do you mean by reusability? How it is useful? Discuss it in case of C++.

18. Explain inherited metod and overriding by example.

19. What are redefined methods? What are visibility modes?

20. Why are protected members said to be "inheritance ready".

21. What is an abstract base class? What is its use?

22. Explain virtual inheritance (Disinheritance) in C++.

23. What is a container? What are its diffrent types.

24. What is containership? How does it differ from inheritance?

25. Write short note on multiple and multilevel inheritance.

26. How the ambiguity arises in multiple inheritance.

27. What do you understand by aggregation?

28. Compare aggregation and inheritance. Explain the properties of aggregation. Types of aggregation.

29. Explain generalization and association. also types of association.

30. Discuss about polymorphism and how it is achieved at compile time and run time. What is function polymorphism. What is operator overloading? What are the rules for overloading operators?

31. Define and explain virtual function.What are rules for virtual function.

32. What do you mean by dynamic binding?how it is useful in OOP.

33. Explain the following (1) This pointer (2) copy constructor (3) mandatory profiles (4) message passing(5) Diffrence between C and C++(6) New and Delete(7) Function Template(8) Exception Handling

34. What is meant by default argument in c++? Write a small program to demonstrate their use.What is the limitation and advantages by example.

35. Define I/O system in brief.What are c++ streams.Explain the I/O stream classes.What are the two ways to formatting output information in c++.What is file mode.Describe the various file mode options available.

All The Best For Examination
Regards
Ashutosh Dubey

No comments: