In: Computer Science
Every day at 10 am, the library system automatically checks if any item was not returned after 10 days of the due date. The system generates a list of such items and alerts the admin staff with the list. The staff then enters the call number of each item into the system which finds the loan details. It changes the status of the item as ‘lost’. The system deducts QR. 500 from the deposit money as a fine from the member account. It then requests FinSys with the Fin_Account of the applicant to transfer QR. 500 to the library. FinSys forwards the transfer information to the library that receives the advice and updates the member account with the deposit money. The member is informed about the lost item. The system should know which item was borrowed by which member, borrowing date, the return date, if the item was returned and when. It can also find out which item was lost and by which member, how many items were borrowed by one member, which item was borrowed by which members so far, etc...... Please the data flow diagram
Ans.)
The DFD for the above is -
The data flows like this-
First, the Library system checks if any item was not returned after
10 days of the due date. If that's the case then it generates a
list of all those books and alerts the admin about it and after
that admin informs about the list to the staff members.
Then staff members deduct the QR 500 from the owner member account
and then request the fine system to add QR 500 to the library. And
then it informs the library to update the member's account and
inform the member.
Here we have a database 'List' which contains the data of all the
books which have crossed the due date. And we have a database
'Library' which has the data of which item was borrowed by which
member, the borrowing date, the return date if the item was
returned and when. It also has the data on which item was lost and
by which member, how many items were borrowed by one member, which
item was borrowed by which members so far, etc.
We have a database 'Member Account' which has the data of the owner
that when he borrowed which book and at what date etc.