Barani Institute of Sciences-Arid Agriculture University,
Sahiwal Campus
Subject: Object Oriented Analysis and Design Course Code: CS-553
Assignment No.1 Marks: 40
Due Date: 05 November 2024
Note:
No plagiarism is allowed (if found with other students, both will be
marked zero).
Draw diagrams in Microsoft Visio or any other software and should be
editable.
Include a brief description for each diagram explaining its purpose and
key components.
Ensure your diagrams are well-organized and labeled appropriately.
---------------------------------------------------------------------------------------------------------------------
Assignment: Understanding and Applying UML in
Software Development
Objective
The aim of this assignment is to deepen your understanding of the Unified Modeling Language
(UML) and its application in software design and development. You will create various UML
diagrams based on a provided case study, demonstrating your ability to visualize and document
system architecture and behavior.
Case Study: Library Management System
You are tasked with designing a Library Management System (LMS) that allows users to
perform various functions such as borrowing books, returning books, and managing user
accounts. The system should include the following functionalities:
1. Users can search for books.
2. Users can borrow and return books.
3. Librarians can add, update, or remove books.
4. The system tracks due dates and sends reminders for overdue books.
5. Users can register and update their personal information.
Tasks
1. Use Case Diagram (10 points)
o Create a use case diagram that illustrates the interactions between users (students,
librarians) and the LMS.
o Identify at least five use cases and include actors and relationships.
2. Class Diagram (10 points)
o Develop a class diagram that represents the main classes in the LMS, including
attributes and methods.
o Include classes for User, Book, Librarian, and LibrarySystem.
o Show relationships, including associations and multiplicities.
3. Sequence Diagram (10 points)
o Create a sequence diagram for the process of borrowing a book.
o Illustrate the interaction between the User, LibrarySystem, and Book classes.
4. Activity Diagram (10 points)
o Design an activity diagram that represents the workflow of returning a book.
o Include decision points and parallel activities where applicable.