The steps for analysis and design of object oriented system. (A) Draw…

2023

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

Choose the correct answer from the options given below :

  1. A.

    (E) → (B)  (A)  (C)  (D)

  2. B.

    (B) → (A)  (E)  (D)  (C)

  3. C.

    (E) → (C)  (B)  (D)  (A)

  4. D.

    (C) → (A)  (E)  (B)  (D)

Attempted by 207 students.

Show answer & explanation

Correct answer: D

Correct sequence for analysis and design of an object-oriented system:

  1. Draw use case and activity diagrams to capture requirements and the main workflows.

  2. Draw interaction diagrams (sequence/collaboration) to model object interactions for key scenarios derived from use cases.

  3. Draw class diagram to define the static structure (classes, attributes, operations, and relationships) informed by interactions and responsibilities.

  4. Draw state chart and object diagram to refine dynamic behavior of important classes and illustrate concrete instance snapshots.

  5. Draw component and deployment diagrams to map the design to physical architecture and deployment units.

Why this order works:

  • Starting with requirements (use cases/activity diagrams) ensures the design addresses real functionality.

  • Interaction diagrams reveal collaborations and responsibilities that inform class design.

  • Class diagrams provide the static blueprint once responsibilities are identified.

  • State charts and object diagrams refine behavior and exemplify runtime situations for important classes.

  • Component and deployment diagrams translate the design to implementation and physical infrastructure concerns.

Explore the full course: Mppsc Assistant Professor