Module 3

Object Oriented Programming

Unit 3

Unified Modelling Language (UML)

Learning Outcomes

  • Recognise the syntax used to design UML models.
  • Distinguish between the UML models which are applicable at various stages of the Software Development Life Cycle (SDLC).
  • Develop UML models using open-source tools.

e-Portfolio Component: Collaborative Discussion 1: Factors which Influence Reusability

  • A summary post was provided to the discussion forum. Link to the discussion forum's post: here

e-Portfolio Activities

Discuss which UML models are most applicable at different stages of the Software Development Life Cycle. Making reference to ‘The Unified Modeling Language Reference Manual Second Edition’, use the State Machine Diagram in Figures 3-7 in Chapter 21 to design a similar model for a washing machine.

Response:

Referring to Rumbaugh et al. (2004), I have created a state diagram of a manual washing machine that illustrates a well-defined sequence of states. The machine commences in an idle state. Once the user adds clothes, water, and detergent and initiates the timer, the machine transitions to a washing state. Upon completion of the washing cycle, the user rinses the clothes and activates the draining process, leading the machine into a draining state. Subsequently, the user initiates the spinning cycle, propelling the machine into a spinning state. The final stage involves a final draining cycle, after which the machine reverts to the idle state.

References:

Rumbaugh J. Jacobson J. & Booch G. (2004) Unified Modeling Language Reference Manual. 2nd ed. Boston: Addison-Wesley. Available from: https://learning.oreilly.com/library/view/unified-modeling-language/0321245628/ [Accessed 10 November 2024].

Reflection

  • The discussion forum was a highlight of Unit 3. Engaging with my peers' perspectives on factors influencing reusability in OOPS deepened my understanding of the topic. The lecturecast on UML diagrams will prove valuable when working on the module's assignments.

Phone

-

Address

Mumbai, India