Professional Documents
Culture Documents
Imdad SDA Assignment
Imdad SDA Assignment
Scenario: Imagine developing a library management system that allows users (librarians and patrons) to
interact with the library's collection.
Conceptual View:
Classes:
o Member: Represents a library member (patron) with attributes like name, ID, contact
information, and borrowing history.
o Book: Represents a book in the library with attributes like title, author, ISBN, publication
date, and availability status (available, borrowed, overdue).
o Loan: Represents a loan of a book to a member, with attributes like due date, date
borrowed, and references to the Member and Book involved.
Relationships:
o Member - Association relationship with Loan (a member can have multiple loans)
o Book - Association relationship with Loan (a book can be involved in multiple loans)
Technical View:
Objects:
Messages:
1. Member -> Library System: Requests to borrow a specific book (identified by title or
ISBN).
2. Library System -> Book: Checks book availability in the system database.
3. (If available) Library System -> Librarian: Requests confirmation for loan from librarian
(optional step for certain book categories).
5. (If approved) Library System -> Book: Updates book status to borrowed and assigns it to
the Member.
6. (If approved) Library System -> Member: Provides confirmation and loan details (due
date etc.)
Conceptual View: Provides a clear understanding of the system's entities (classes) and their
relationships. This helps in defining functionalities and data structures.
Technical View: Illustrates the interaction flow between objects during specific actions
(borrowing a book in this case). This aids in developing the system logic and user interface.
OR
This case study explores how UML can be used to design an Automated Parking Management System
(APMS).
Conceptual View:
Actors:
o Drivers: Interact with the system to enter, pay for, and exit the parking facility.
o System Administrator: Manages parking rates, tracks system health, and generates
reports.
Use Cases:
o Driver Enters Parking Lot: Identifies license plate, checks for available space, opens gate.
o Driver Pays for Parking: Chooses payment method, confirms payment details.
o Driver Exits Parking Lot: Scans license plate or ticket, verifies payment, opens gate.
o System Administrator Manages Rates: Sets parking fees for different durations and
vehicle types.
o System Administrator Monitors System Health: Tracks sensor data (parking space
availability, gate functionality) and generates alerts for malfunctions.
Technical View:
Classes:
o EntryExitStation: Handles license plate scanning, payment processing, and gate control.
Relationships:
o EntryExitStation interacts with Vehicle (scans license plate) and Payment (processes
payment).
o SystemMonitor interacts with EntryExitStation (receives sensor data) and triggers alerts.
Clear Communication: UML diagrams provide a visual language for developers, stakeholders,
and system administrators to understand the system's functionality and interactions between
components.
Early Design Decisions: Identifying use cases and classes helps define the system's scope and
functionalities early in the development phase.
Improved Maintainability: Well-documented UML diagrams can make future modifications and
maintenance of the system easier.
2. Class Diagram:
This diagram would show the main classes (Vehicle, ParkingSpace, Payment, etc.), their attributes, and
relationships (associations) between them.
The conceptual view focuses on the functionalities and interactions from the user's perspective
(drivers, administrator) without delving into technical details.
The technical view dives deeper into the system's internal structure, representing classes, their
attributes, and how they interact with each other to realize the functionalities defined in the
conceptual view.