All mock tests are FREE till 31 December — register to save your progress

The steps for analysis and design of object oriented system:
(A) Draw interaction diagrams
(B) Draw state chart and object diagram
(C) Draw use case and activity diagram
(D) Draw component and deployment diagram
(E) Draw class diagram

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. (C) → (A) → (E) → (B) → (D)

Explanation

Object-oriented analysis starts from the user's viewpoint, so the first artefacts are the use case and activity diagrams (C) that capture required behaviour and workflow. The scenarios inside those use cases are then realised as interaction diagrams (A) — sequence or collaboration diagrams — which reveal the objects and the messages they exchange. Those objects are generalised into the static class diagram (E), after which the dynamics of individual objects are captured in the state chart and object diagram (B). Only at the implementation stage are the component and deployment diagrams (D) drawn, so the correct order is (C) → (A) → (E) → (B) → (D).

More Programming Languages and Computer Graphics questions