Architettura Software

UML LAB – Exercises and Case Studies in Analysis and Design

UML LAB: practical exercises on Use Case, Activity, Sequence, Deployment and Class Diagrams with a complete case study.

Course description

UML LAB: Learn Software Analysis and Design with Real Exercises

Knowing UML theory is one thing; being able to apply it to a concrete case is another. In this lab we practice UML analysis and design on a complete case study — the Library system — working through all the main diagrams from requirements gathering to the final Class Diagram. A path designed for those who want to consolidate UML skills through practice.

What You'll Learn

  • Use Case Diagram: actor identification, guided analysis and refinement
  • Activity Diagram with the «extend» relationship
  • Sequence Diagram: simple and advanced scenarios with «extend»
  • Deployment Diagram: physical nodes and system distribution
  • Class Diagram: enums, actor classes, relationships and aggregation
  • Associations vs aggregation and relationship navigability

A Single Case Study from Start to Finish

The entire series is built around the Library system, a familiar domain but rich enough to explore all facets of UML analysis. Each video adds a new level of detail to the model, showing how design decisions connect to each other. These are not isolated exercises — it is a coherent and complete analysis journey.

Who This Course Is For

Ideal for computer science students, junior developers, and anyone who wants to improve their software analysis and design skills. If you have already seen UML theory and want to understand how to apply it to a real project, this lab is the right choice for you.

Lessons list

I'll show you how to start designing the Class Diagram for the Library system, beginning with enums and the actor classes identified in previous diagrams. Let's see how to translate UML actors into concrete classes with well-defined attributes and responsibilities.

Guarda lezione

Let's complete the Class Diagram for the Library system, focusing on association navigability and the meaning of arrows in the model. I'll explain how to formalize the direction of relationships to make the diagram readable and semantically correct.

Guarda lezione

Let's explore the conceptual and structural difference between association and aggregation in the Library system's Class Diagram. I'll show you how to choose the right relationship type based on object dependency and domain ownership rules.

Guarda lezione

Let's continue designing the Library system's Class Diagram by going deeper into class relationships and the concept of logical aggregation. I'll explain how to correctly model composition between entities that belong to a whole without being physically contained within it.

Guarda lezione

I'll show you how to build the Deployment Diagram for the Library system, representing physical nodes and distributed components across the infrastructure. Let's see how to read and draw an architectural view that describes where each part of the system resides.

Guarda lezione

Let's go deeper into the Library system's Sequence Diagram by introducing scenarios with the extend relationship and alternative conditions. I'll explain how to manage the responsibility of the involved objects and represent exceptional flows in an orderly, readable way.

Guarda lezione

Let's build a Sequence Diagram starting from the previously analyzed Activity Diagram, focusing on a scenario that includes the extend relationship. I'll show you how to translate the activity flow into the temporal order of interactions between actors and objects.

Guarda lezione

I'll show you how to analyze and draw an Activity Diagram based on a use case with the extend relationship, representing the main flow and optional behaviors. Let's see how to read the textual description and transform it into a correct activity diagram.

Guarda lezione

Let's complete the Library system's Use Case Diagram with model validation: we'll verify that use cases are complete, consistent, and aligned with the requirements. I'll show you how to do a final refinement to spot missing details and sharpen the relationships.

Guarda lezione

Let's continue analyzing the Library system's Use Case Diagram by going deeper into the use cases identified in part one and their correct level of abstraction. I'll explain how to disambiguate relationships between actors and use cases and avoid common modeling mistakes.

Guarda lezione

Let's tackle the Use Case Diagram analysis applied to the Library case study, starting from the textual requirements. I'll show you how to identify actors, extract relevant use cases, and set up the structure of the diagram.

Guarda lezione
Giovanni Pace

Giovanni Pace

Ingegnere Informatico · Pratola Peligna

  • 107 Courses
About the teacher

Sono un ingegnere informatico con oltre 15 anni di esperienza nel settore ICT. Mi occupo di sviluppo software, cybersecurity, data science e intelligenza artificiale, con particolare attenzione all’innovazione e all’automazione dei processi aziendali. Da anni svolgo anche attività di docenza e formazione, creando percorsi pratici e coinvolgenti su programmazione, DevOps, AI e sicurezza informatica.

This course includes

  • Lessons 11
  • Duration 1h 54m
  • Difficulty intermedio
  • Language it
  • Certificate No

Recently viewed