OOAD and UML Interview Questions
- Can method be overloaded based on different return type but same argument type?
- Describe some techniques for expressing business rules/constraints either in UML or via other means.
- Describe the use of UML stereotypes in one of your recent projects (you used stereotypes to express what?). Feel free to include small example.
- 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?)
- Differentiate Aggregation and containment?
- Differentiate between template class and class template.
- Differentiate between the message and method.
- Differentiate persistent & non-persistent objects?
- Differentiate the class representation of Booch, Rumbaugh and UML?
- Do you feel UML (or other types of) models have any value once the implementation code has been generated? Why?
- Explain the difference between composition and aggregation.
- Explain the difference between design model and an implementation model.
- Explain the different relationship notations in UML that you have used (e.g., generalization, association, and so on.)
- If familiar with it, describe how you used any one of the “gang of four” design patterns in recent model you produced.
- If familiar with it, describe the “design by contract” approach.
- If familiar with it, describe the concept of UML profile.
- In RUP business modeling, what is the difference between Business Actor and Business Worker?
- In the past, have you ever traced design and/or implementation artifacts back to the user requirements? If yes, how?
- Is object persistence expressed in the analysis model, the design model or both? Explain.
- 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?
- List out some of the object-oriented methodologies
- Object Oriented: Essentials and History
- What do u meant by “SBI” of an object?
- What is dangling pointer?
- What is down casting?
- What is meant by “method-wars”?
- What is modifier?
- What is the difference between business use case and system use case?
- What is the difference between cohesion and coupling? Why are “strong cohesion” and “loose coupling” patterns generally recommended in OOAD?
- What is the format in which model can be saved inventor/tool neutral way?
- When does name clash occur?
- Whether unified method and unified modeling language are same or different?
- Which UML diagrams have you used? Explain when to use one or the other. Use Case Diagram, Class Diagram, Sequence Diagram, Activity Diagram
- Who were the three famous amigos and what was their contribution to the object community?
- Why generalization is very strong?
- Would you use sequence diagram or an activity diagram to model process flow that has lot of conditional flows and concurrent processing?
OOAD and UML Interview Questions