Skip to main content

UML - Sequence Diagram for Library Management System

Hello Everyone!
Here is an example of an Sequence Diagram for Library Management System.


Problem Statement -

Following scenarios are identified -
1) Librarian issues a book to a member. (Whenever a member asks for a book the librarian checks the availability of the book. If the book is available then the rack number of that book will be returned to the librarian. Librarian then checks the validity of member by verifying library card. If member is valid and the number of books issued to him is less then maximum allowed book is issued to him and transaction is created. Librarian then updates the number of books issued to that member and status of book.)
2) Member returns the book. (Whenever member wants to return the book, librarian first checks the validity of member. If member is valid then due date of book is obtained from transaction details. Based upon this information fine is calculated, bill will be created and informed to the member. On receiving fine from member, librarian updates the number of books issued to member and status of book.)


Sequence Diagram for scenario 1 -


Sequence Diagram for scenario 2 -






Check out other UML (Unified Modeling Language) Diagrams -

Comments

Popular posts from this blog

Android Architecture Stack

Hello Everyone! In this article we are discussing about the android architecture. It is essential for all the android application developers to understand the android architecture to get a clearer idea about the structure on which the application is made. From the exam point of view, the android architecture stack question has been asked several times (sometimes along with the Dalvik Virtual Machine ). Android operating system is a stack of software components which is roughly divided into five sections and four layers. The five sections of android architecture are- Linux kernel Libraries Android Runtime Application Framework Applications This is a layered architecture with each section having a different functionality. A) Linux Kernel - It is the bottom most layer of the architecture. This is the kernel on which android is based. This layer provides a level of abstraction between the hardware devices. It also contains all the l...

UML - Use Case Diagram for Vending Machine

Hello Everyone! Here is an example of an Use case Diagram of a Vending Machine System. Problem Statement - A vending machine accepts coins for variety of products. The user selects the drinks from products available through selection panel. If the drink is available the price of the product is displayed. The user then deposits the coins depending on the price of the product. Coin collector collects coin after stipulated time the controller will compare the deposited coin with price. If amount deposited is less than price then error message will be displayed and all deposited coin will be dispensed by the coin dispenser else the drink will be dispensed by the product dispenser. Check out other UML (Unified Modeling Language) Diagrams - Class Diagram   Object Diagram   Sequence Diagram Collaboration Diagram   Activity Diagram   State Diagram   Component Diagram   Deployment Diagram  

MIS Social Computing MCQs

Hello everyone!  Here the MCQs are related to Social Computing and includes topics like E-commerce, Mobile Commerce, Social Networking sites and technology used in social computing. Also check out the first part of Social Computing MCQs . Q 1) The solution for all business needs is _______. a. ERP b. EDI c. SCM d. None of the above Solution: a) ERP Q 2) Unique value auction mainly applies to ______. a. New products b. Engineering products c. Second hand products d. None of the above Solution: c ) Second hand products Q 3) Which type of e-commerce focuses on consumers dealing with each other? a. B2C b. C2B c. B2B d. C2C Solution: d) C2C Q 4) Which type of product is lesser purchased using e-commerce? a. Software...