Sunday, November 21, 2010

50 OOPS interview questions

OOPS Interview Questions
1. Explain the different forms of Polymorphism.

2. What is the race condition?

3. Why C?

4. What is OOPS?

5. What are enumerators? and what are in-line functions? giv ans with eg.

6. what is the use of procedure overriding

7. What are the major considerations related to well-written multi-threaded applications?

8. Void pointer

9. Array Address

10. What is global constructor?
11. What is the difference between ++*p and (*p)++

12. Which languages are included in object based languages other than VB and java script

13. difference between data abstraction & encapsulation.

14. What is the difference between implicit function & explicit function.

15. Explain the Polymorphism principle.

16. What is the use/advantage of function overloading

17. why friend function cannot be used to overload the assignment operator?

18. how to convert roman number into decimal number

19. is it ternary operator in c++?
20. What is the difference between docking container and splitter container?What is tree display?Explain with sample prgms.

21. what is the difference between encapsulation and datahiding.explain with example

22. What are data model and class model in Object Oriented Approach specially in C++?

23. difference between object-oriented programming and procedure oriented programming

24. what is the memory allocation for pointer?

25. Explain the Inheritance Principle

26. what is factory class?

27. Describe the principles of OOPS

28. Why do you need abstraction?

29. Can we inherit private members of class ?

30. what is size of class having no variable & 1 function which returns int
31. how macro execution is faster than function ?

32. while copying the objects if you say X a = b and asssume that '=' operator is overloaded then what it will call, a copy constructor or operator overloading function

33. What is VOLATILE/Mutable in c++

34. How do you differentiate between a constructor and normal function?

35. Which languages are included in object based laguages other than VB and java script

36. What are the advantages of Object Oriented Modeling?

37. what are the differences between class anad object?

38. Does C also supports abstraction

39. Explain the Encapsulation principle

40. Why C or C++ Stack index starts from 0.
41. what is difference between void and null pointer. is it same?

42. How do you differentiate a constructor from a ordinary function?

43. What is linked list? Explain with example program

44. What are these three elements typing, persistence, and concurrency in oop approach while studying system analysis and design?

45. what is ASSERT STATEMENTS?
46. Define Inteface , Implement a class , method , clearly with simple examples , Instance class

47. what is dangling pointer?where it is used ? what are the advantages?

48. what is the difference between dos & windows?what is the use of overloading?

49. what is the similarities between macro and function?

50. What is the difference between instance and object?

1 comment:

  1. Hi Diptendra,

    I`ve read the questions provided by u. These are very helpful. But you can make it more helpful by adding the answers with them. I hope I`ll get it next time.

    Thanks,
    Ashok Kumar.

    ReplyDelete