Saturday, February 16, 2008

OOAD and UML Interview Questions

  1. Can method be overloaded based on different return type but same argument type?
  2. Describe some techniques for expressing business rules/constraints either in UML or via other means.
  3. Describe the use of UML stereotypes in one of your recent projects (you used stereotypes to express what?). Feel free to include small example.
  4. Describe useful application of an “extends” use case (in what situations would you use an “extends” use case instead of any of the other kind of use case relationships?)
  5. Differentiate Aggregation and containment?
  6. Differentiate between template class and class template.
  7. Differentiate between the message and method.
  8. Differentiate persistent & non-persistent objects?
  9. Differentiate the class representation of Booch, Rumbaugh and UML?
  10. Do you feel UML (or other types of) models have any value once the implementation code has been generated? Why?
  11. Explain the difference between composition and aggregation.
  12. Explain the difference between design model and an implementation model.
  13. Explain the different relationship notations in UML that you have used (e.g., generalization, association, and so on.)
  14. If familiar with it, describe how you used any one of the “gang of four” design patterns in recent model you produced.
  15. If familiar with it, describe the “design by contract” approach.
  16. If familiar with it, describe the concept of UML profile.
  17. In RUP business modeling, what is the difference between Business Actor and Business Worker?
  18. In the past, have you ever traced design and/or implementation artifacts back to the user requirements? If yes, how?
  19. Is object persistence expressed in the analysis model, the design model or both? Explain.
  20. Is there anything in RUP that you would change in order to improve the efficiency of the development process. Fit in an analysis or design model?
  21. List out some of the object-oriented methodologies
  22. Object Oriented: Essentials and History
  23. What do u meant by “SBI” of an object?
  24. What is dangling pointer?
  25. What is down casting?
  26. What is meant by “method-wars”?
  27. What is modifier?
  28. What is the difference between business use case and system use case?
  29. What is the difference between cohesion and coupling? Why are “strong cohesion” and “loose coupling” patterns generally recommended in OOAD?
  30. What is the format in which model can be saved inventor/tool neutral way?
  31. When does name clash occur?
  32. Whether unified method and unified modeling language are same or different?
  33. Which UML diagrams have you used? Explain when to use one or the other. Use Case Diagram, Class Diagram, Sequence Diagram, Activity Diagram
  34. Who were the three famous amigos and what was their contribution to the object community?
  35. Why generalization is very strong?
  36. Would you use sequence diagram or an activity diagram to model process flow that has lot of conditional flows and concurrent processing?
Source : http://www.sharpprogrammer.com/interview-questions/ooad-and-uml-interview-questions/

No comments: