UML Interview Questions and Answers

By | May 21, 2014

      1.         What is UML?
Answer

2.                   What is modeling
Answer

3.                   What are the different views that are considered when building an object-oriented software system?
Answer

4.                   What are UML diagrams?
Answer

5.                   What are the major three types of modeling used?
Answer

6.                   Mention the different kinds of modeling diagrams used?
Answer

7.                   What is Architecture?
Answer

8.                   What is SDLC?
Answer

9.                   What are Relationships
Answer

10.               How are the diagrams divided?
The diagrams are divided into static diagrams and dynamic diagrams.
Answer

11.               Static Diagrams (Also called Structural Diagram):
Class diagram, Object diagram, Component Diagram, Deployment diagram.

12.               Dynamic Diagrams (Also called Behavioral Diagrams): Use Case Diagram, Sequence Diagram, Collaboration Diagram, Activity diagram, Statechart diagram.

13.               What are Messages?
Answer

14.               What is an Use Case?
Answer

15.               How do you represent static members and abstract classes in Class Diagram?
Answer

16.               Can we use UML for user interface (UI) design?
Answer

17.               Every object has : state, behavior and identity – explain
Answer

18.               How to reverse engineer C++ code in UML?
Answer

19.               What are the tools you used for OOAD?
Answer

20.               Difference: Object Oriented Analysis (OOA) and Object Oriented Design (OOD)?
Answer

21.               What are the four phases of the Unified Process ?
Answer

22.               How do you convert uses cases into test cases?
Answer

23.               Explain Class Diagram in Detail.
Answer

24.               What are the Design Patterns you know.
Answer

25.               When do you prefer to use composition than aggregation?
Answer

26.               UML: IS it a process, method or notation?
Notation

27.               Does a concept HAVE to become a class in Design?
Answer

28.               What are the good practices to use while designing for reuse?
Answer

29.               Can you think of some nice examples where *multiple* actors are associated with a use case ?
Answer

30.               How to use CRC Cards for Class Design?
Answer

Leave a Reply