






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
This lecture handout was provided by Sir Aabher Dutt at Indian Institute of Space Science and Technology for Enterprise Application Development course. It includes: GDN, TDN, Class, Diagram, Member, Interface, Module, Library, Management, System, Sequence
Typology: Exercises
1 / 12
This page cannot be seen from the preview
Don't miss anything!
GDN for Member Interface Module
Now we write the TDN for the Member Interface Module
TDN for Member Interface Module
module MemberInterface
uses SearchBook, Register, Login, BorrowBook, ReturnBook
exports
procedure ShowGUI_Interface();
This module does all the member management. It shows a GUI with all the options for a registered member.
end MemberInterface
Member
Interface
Register
Login
Borrow
Book
Return
Book
Search
Book
There are total 5 classes in our library Management System.
To enter a new member of the system, first all information like name, id, address of the new member is entered to the form and then the function ValidateUser() is called. If all the information is correct and the member is not already present in our database, then a success message is returned otherwise the request is rejected.
Suppose that the library buys some new books. Now to enter these books in the database the user will have to log-in as an administrator. Then he will use the function AddBook(). This function will first check whether the book is already present in the database or not. If the book is not present in the database then it will be added in our database.
This is the sequence diagram for adding a new book to the database. First the user uses the LMS interface and enters as a Librarian. Then the librarian uses the function AddBook() of the database to make entry of a new book. When the entry is made the control is transferred back to the librarian. Now he can enter more books or he logs out.
Now, when a members borrows a books , he asks the librarian to issue the book. The librarian issues the book to the member using the issueBook() function.
This diagram shows the control sequence of returning a book. The member returns the book to librarian.