Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Consider the scenario description given below and draw a Sequence Diagram for the following scenario. To borrow a book, a borrower must have an

image text in transcribed

1. Consider the scenario description given below and draw a Sequence Diagram for the following scenario. To borrow a book, a borrower must have an account with the library and present their library card together with the book(s) to the librarian on duty at the counter. Then, the librarian will start a transaction to record a book loan by entering the borrower's library card number into the system. The system will check whether the borrower has an overdue fine to be paid before the borrower can borrow new book(s). If the borrower does not have an overdue fine, the system will prompt a message asking the librarian to enter the identification number of the book(s) that the borrower wants to borrow, one by one. Each time the librarian enters the identification number of a book, the system will record the book loan, before asking the librarian to enter the identification number of the next book, if any. The librarian will end the transaction by clicking a button. Then, the system will print a receipt showing the information about the book(s) and the due return date of the book(s). The librarian will give the library card, the book(s) and the receipt to the borrower. If the borrower has an overdue fine, the system will not proceed with the book loan, and prompt a message asking for the fine to be paid first

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Structure Of The Relational Database Model

Authors: Jan Paredaens ,Paul De Bra ,Marc Gyssens ,Dirk Van Gucht

1st Edition

3642699588, 978-3642699580

More Books

Students also viewed these Databases questions

Question

Is the person willing to deal with the consequences?

Answered: 1 week ago