Get Instant Help From 5000+ Experts For
question

Writing: Get your essay and assignment written from scratch by PhD expert

Rewriting: Paraphrase or rewrite your friend's essay with similar meaning at reduced cost

Editing:Proofread your work by experts and improve grade at Lowest cost

And Improve Your Grades
myassignmenthelp.com
loader
Phone no. Missing!

Enter phone no. to receive critical updates and urgent messages !

Attach file

Error goes here

Files Missing!

Please upload all relevant files for quick & complete assistance.

Guaranteed Higher Grade!
Free Quote
wave

Write a requirement, in plain English, for the scenario “Pay Fine”. You may need to make creative assumptions for assignment purposes, and pretend you have conducted requirements elicitation with the client.

Your requirements will be assessed based on whether they:
• are verifiable, non-ambiguous, modifiable, traceable, consistent, and complete
• form a set of conditions, not only a series of operations / process descriptions
• relate to system requirements, not only business process

Task 2: - requirements documentation

  1. Where and how to pay fine: - when you want to pay fine then provide user information to librarian. Then librarian searches your details and view fine details. Then you pay your fine. After that librarian update your fine records.
  2. Fine transaction requirements: - you must keep your fine under $25 so that administrator not restricted you borrow books. Transaction must be $25 or more. Your fine is calculated according to fine.
  3. Fine rates: - fine rates are calculated by the library system automatically.

use case textual description

This use case textual description is related to the search book, borrow book and return book. But for this process borrowers need to log in or system validation or add their barcode card to access the system. Systems verify their log in request or match barcode, after that borrower able to access information related to books.

  1. Login/ system validation
  • Name: - Login/system validation
  • Version: - Login/system validation
  • Goal: - borrowers login on the library system
  • Summary: - Firstly borrowers (staff, students and others) log in on the library system if their have no card with barcode.
  • Actors:- borrowers, staff
  • Pre- condition: - registration or add borrower’s account by librarian
  • Trigger: - enter user name and password in login form and click on login button.
  • Basic course of events: - no need basic course of events for this use case.
  • Alternative Paths: - if borrowers have card with barcode then they also access library system. Firstly insert the barcode card in machine if borrower’s information matches with borrower’s database then them able to access library system.
  • Post- condition: - borrowers able to view their fine detail and view and search books form library database.
  • Business rules: - borrowers have library account or card with barcode.
  • Notes: - Firstly borrowers (staff, students and others) log in on the library system if their have no card with barcode.
  1. Card with barcode
  • Name: - Card with barcode
  • Version: - Card with barcode
  • Goal: - to access library database
  • Summary: - Borrowers (staff, students and others) log in by scanning with their library barcode.
  • Actors: - borrowers and staff.
  • Pre- condition: - have library account. This account created by the librarian and library provided card with barcode.
  • Trigger: - just insert barcode in library scan barcode machine.
  • Basic course of events: - no need basic course of events for this use case.
  • Alternative Paths: - login on library system by using user name and password.
  • Post- condition: - borrowers and staff members able to view their fine detail and view and search books from library database.
  • Business rules: - borrowers and staff members must have library account or barcode.
  • Notes: - Borrowers (staff, students and others) log in by scanning with their library barcode.
  1. View/ search books
  • Name: - View/ search books
  • Version: - View/ search books
  • Goal: - view list of books those present in library database and also search book by name.
  • Summary: - After log in borrowers can view or search books details.
  • Actors: - borrowers and staff members.
  • Pre- condition: - firstly borrowers and staff members need to login on library system or validate their account by using their library barcode.
  • Trigger: - enter any book name in search book for access the book information from library database.
  • Basic course of events: - firstly login on the library system or validate their library account by using their library’s barcode. Then view list books and also able to search books.
  • Alternative Paths: - no alternative paths to access the books information from library system.
  • Post- condition: - after view or search the books borrowers just select the books and also able to request to borrow books.
  • Business rules: - borrowers and staff members must have library account or barcode.
  • Notes: - After log in borrowers can view or search books details.
  1. Request to borrow books
  • Name: - Request to borrow books
  • Version: - request to borrow books
  • Goal: - borrowers or staff members generate a request to borrow books.
  • Summary: - If borrowers want to borrow books then select books from view/ search books and click on request to borrow books.
  • Actors: - borrows and staff members.
  • Pre- condition: - firstly login to the library system or validate their account by using barcode. Then view the list of books or account search books. After that select books and generate request to borrow books.
  • Trigger: - select the books and generate the request to borrow books.
  • Basic course of events: - firstly login on the library system or validate their library account by using their library’s barcode. After that view list of books and also able to search books. Then select books and generate request to borrow books.
  • Alternative Paths: - no any alternative paths to generate request to borrow books.
  • Post- condition: - there are three post condition. Request accepted if borrower’s fine is less than $25, request rejected of borrower’s fine greater than $25 or display message reserve if those books reserve by someone else.
  • Business rules: - borrowers and staff members must have library account or barcode card.
  • Notes: - If borrowers want to borrow books then select books from view/ search books and click on request to borrow books. 
  1. Request accepted if borrower fine less than $ 25
  • Name: - request accepted if borrower fine less than $25
  • Version: - request accepted if borrower fine less than $25
  • Goal: - to display the conformation message for borrowers the request is accepted or not.
  • Summary: - After borrower request system match the books status and borrower’s details if borrower’s  fine less than $25 and books status are not reserved then  display message request accepted and also add request in borrows book details
  • Actors: - borrowers and staff members.
  • Pre- condition: - the request is generated by the borrowers or any staff members.
  • Trigger: - generate request to borrow books by borrowers or staff members.
  • Basic course of events: - firstly login on the library system or validate their library account by using their library’s barcode. After that view list of books and also able to search books. Then select books and generate request to borrow books. If borrower’s fine id less than $25 then display message request accepted.
  • Alternative Paths: - no any alternative paths to get this message.
  • Post- condition: - add borrowers request in borrowers books details.
  • Business rules: - borrowers and staff members must login on the system or have barcode.
  • Notes: - After borrower request system match the books status and borrower’s details if borrower’s  fine less than $25 and books status are not reserved then  display message request accepted and also add request in borrows book details 
  1. Request rejected if borrower fine greater than $25
  • Name: - request rejected if borrowers fine greater than $ 25
  • Version: - request rejected if borrowers fine greater than $ 25
  • Goal: - display message when borrow books request is generate and borrower’s fine is greater than $25.
  • Summary: - After borrower request system match the books status and borrower’s detail if borrower’s fine is greater than $25 then display message request rejected and books status are not reserved then display message request rejected.
  • Actors: - borrowers and staff members
  • Pre- condition: - generate request to borrow books by borrowers or any staff members
  • Trigger: - generate request to borrow books by borrowers or any staff members
  • Basic course of events: - firstly login on the library system or validate their library account by using their library’s barcode. After that view list of books and also able to search books. Then select books and generate request to borrow books. If borrower’s fine is greater than $25 then display message request accepted.
  • Alternative Paths: - no any alternative paths for this.
  • Post- condition: - no post condition for this use case.
  • Business rules: - borrowers and staff members must login on the system or have barcode.
  • Notes: - After borrower request system match the books status and borrower’s detail if borrower’s fine is greater than $25 then display message request rejected and books status are not reserved then display message request rejected. 
  1. Reserve
  • Name: - Reserve
  • Version:- reserve
  • Goal: - to display the message reserve if requested borrowers books are reserve by someone else.
  • Summary: - After borrower request system match books status and borrower’s detail if borrower’s fine is less than $25 and book’s status is reserved then display message reserve.
  • Actors: - borrowers and staff members.
  • Pre- condition: - request generated by borrowers or staff members to borrow books.
  • Trigger: - generate request to borrow books by borrowers or any staff members
  • Basic course of events: - firstly login on the library system or validate their library account by using their library’s barcode. After that view list of books and also able to search books. Then select books and generate request to borrow books. If requested books are reserve by someone else then display message reserve.
  • Alternative Paths: - no alternative path for this use case.
  • Post- condition: - no any post condition for this use case.
  • Business rules: - borrowers and staff members must login on the system or have barcode.
  • Notes: - After borrower request system match books status and borrower’s detail if borrower’s fine is less than $25 and book’s status is reserved then display message reserve. 
  1. View/update borrower books details
  • Name: - View/update borrower books details
  • Version: - view/update borrower books details
  • Goal: - add the requested books information in borrower books details.
  • Summary: - When borrow books request is accepted and add in borrower’s books detail then then librarian update the fine and books
  • Actors: - borrowers. Staff members and librarian
  • Pre- condition: - request generated by the borrower or staff members to borrow books and borrower’s fine is less than $25
  • Trigger: - borrower’s fine id less than $25
  • Basic course of events: - firstly login on the library system or validate their library account by using their library’s barcode. After that view list of books and also able to search books. Then select books and generate request to borrow books. If borrower’s fine is less than $25 then display message request accepted and add the information in borrower’s book details.
  • Alternative Paths: - librarian view and update the borrower’s books details.
  • Post- condition: - no any post condition for this use case.
  • Business rules: - borrowers and staff members must login on the system or have barcode.
  • Notes: - When borrow books request is accepted and add in borrower’s books detail then then librarian update the fine and books 
  1. View any recodes in system
  • Name: - view any recodes in system
  • Version: - view any recodes in system
  • Goal: - view any information of library system by librarian.
  • Summary: - For updating borrower’s books detail firstly librarian view recodes
  • Actors: - librarian, staff members and borrowers.
  • Pre- condition: - accepted request to borrow books and add data in borrower’s books detail.
  • Trigger: - add data in borrower’s books detail
  • Basic course of events: - firstly login on the library system or validate their library account by using their library’s barcode. After that view list of books and also able to search books. Then select books and generate request to borrow books. If borrower’s fine is less than $25 then display message request accepted and add the information in borrower’s book details. Then librarian verifies the request and gives the books to borrowers.
  • Alternative Paths: - no alternative path.
  • Post- condition: - borrowers recodes
  • Business rules: - borrowers and staff members must login on the system or have barcode.
  • Notes: - For updating borrower’s books detail firstly librarian view recodes 
  1. Borrowers recodes
  • Name: - borrowers records
  • Version: - borrowers records
  • Goal: - view borrower’s records by librarian.
  • Summary: - Then view borrower’s recodes
  • Actors: - librarian, borrowers and staff members
  • Pre- condition: - view any records by librarian
  • Trigger: - view borrower information.
  • Basic course of events: - librarian views the information of borrowers.
  • Alternative Paths: - no alternative path
  • Post- condition: - view/updated borrowers books details and view/ update “pay fine detail”
  • Business rules: - borrowers and staff members must login on the system or have barcode.
  • Notes:- Then view borrower’s recodes 
  1. View/ update “pay fine” details
  • Name:- view/update “pay fine” details
  • Version:- view/update “pay fine” details
  • Goal: - view or update borrower’s fine details.
  • Summary: - Then view/ update pay fine detail according to borrower’s borrow books request.
  • Actors: - librarian, borrowers or staff members.
  • Pre- condition: - view records, borrower’s records.
  • Trigger: - update borrower’s fine
  • Basic course of events: - view all information then view borrower’s information after that view or update borrower’s fine details.
  • Alternative Paths: - no alternative paths
  • Post- condition: - no post condition.
  • Business rules: - borrowers and staff members must login on the system or have barcode.
  • Notes: - Then view/ update pay fine detail according to borrower’s borrow books request.

Task 5: - sequence diagram

This sequences diagram show this scenario: - Lee is a current student with active borrowing privileges. At a desk physically located in the library, Lee searches for the book named “UML Distilled”. Viewing the results, Lee notes it is currently on loan and places a hold on the item.

  • In this sequences diagram lee log in on the library system if their have no card with barcode. Then library system authenticated lee’s login request. Then system matches lee’s detail with borrower’s database and send acknowledgement. If lee’s detail matched with borrower’s database then lee successfully logged in other wise send message wrong password.
  • If the lee’s have card with barcode then no need fill login detail just enter barcode card into the library system. Then system matches lee’s detail with borrower’s database and send acknowledgement. If lee’s detail matched with borrower’s database then lee able to access books database otherwise display message insert properly.

Now lee search book with book name “UML distilled”. Then book database match the requirements and send acknowledge to lee. In book database this book take by someone else and book status is reserve so send message to lee “reserve”.

Task 9: - test case generation

Number

Test name

description

scenario

Precondition

input

Expected output

1

Login test

Try to login with invalid details

Login screen appears again saying login details are wrong

NA

User name password

Login screen appears again saying login details are wrong

2.

Login test

Try to login with valid details

Login successful

NA

User name password

Login success and search book screen appear

1. 

Search book test

Search a book that do not exist

Display message no book

Authenticated user

Book  name

Display message “no book”

2. 

Search book test

Search a book that is reserve or taken by someone else

Display message reserve

Authenticated user

Book name

Display message reserve

3. 

Search book test

Search a book that is available

Display book details

Authenticated user

Book name

Display book detail

References

Alhir, S. (2003). Learning UML. Sebastopol, Calif.: O'Reilly.

Ambler, S. (2003). The elements of UML style. Cambridge: Cambridge U.P.

Arrington, C. (2001). Enterprise Java with UML. New York: J. Wiley & Sons.

Bennett, S., Lunn, K. and Skelton, J. (2005). Schaum's outline of UML. New York: McGraw Hill.

Evitts, P. (1999). A UML pattern language. Indianopolis, IN: Macmillan Publishing.

Favre, L. (2003). UML and the unified process. Hershey, Pa.: IRM Press.

Fontoura, M., Pree, W. and Rumpe, B. (2002). The UML profile for framework architectures. Boston [Mass.]: Addison-Wesley.

Helmers, S. (2015). Microsoft Visio 2013. [Redmond (WA)]: Microsoft Press.

Henderson-Sellers, B. and Unhelkar, B. (2000). Open modeling with UML. Harlow, England: Addison-Wesley.

  1. Parker, D. (2013). Microsoft Visio 2013 Business Process Diagramming and Validation. Packt Publishing.

Kimmel, P. (2005). UML demystified. Emeryville, Calif.: McGraw-Hill/Osborne.

Knottingham, E. (2001). How to do everything with Microsoft Visio 2002. Berkeley, Calif.: Osborne/McGraw-Hill.

Microsoft Visio version 2002 step by step. (2001). Redmond (WA): Microsoft Press.

Miles, R. and Hamilton, K. (2006). Learning UML 2.0. Sebastopol, CA: O'Reilly.

Naiburg, E. and Maksimchuck, R. (2002). UML for database design. Boston: Addison-Wesley.

Parker, D. (2007). Visualizing information with Microsoft Office Visio 2007. New York: McGraw Hill.

Pilone, D. and Pitman, N. (2005). UML 2.0 in a nutshell. New York: O'Reilly.

Rittgen, P. (2007). Enterprise modeling and computing with UML. Hershey, PA: Idea Group Pub.

Walker, M. and Eaton, N. (2004). Microsoft Office Visio 2003 inside out. Redmond, Wash.: Microsoft Press.

Weilkiens, T. and Oestereich, B. (n.d.). UML 2 Certification Guide.

Wright, A. and Roth, C. (2014). Visio 2013. Indianapolis (IN): Que.

Cite This Work

To export a reference to this article please select a referencing stye below:

My Assignment Help. (2020). Task Documentation - Use Case Description, Sequence Diagram, And Test Cases. Retrieved from https://myassignmenthelp.com/free-samples/nit5120-library-system/search-book.html.

"Task Documentation - Use Case Description, Sequence Diagram, And Test Cases." My Assignment Help, 2020, https://myassignmenthelp.com/free-samples/nit5120-library-system/search-book.html.

My Assignment Help (2020) Task Documentation - Use Case Description, Sequence Diagram, And Test Cases [Online]. Available from: https://myassignmenthelp.com/free-samples/nit5120-library-system/search-book.html
[Accessed 28 March 2024].

My Assignment Help. 'Task Documentation - Use Case Description, Sequence Diagram, And Test Cases' (My Assignment Help, 2020) <https://myassignmenthelp.com/free-samples/nit5120-library-system/search-book.html> accessed 28 March 2024.

My Assignment Help. Task Documentation - Use Case Description, Sequence Diagram, And Test Cases [Internet]. My Assignment Help. 2020 [cited 28 March 2024]. Available from: https://myassignmenthelp.com/free-samples/nit5120-library-system/search-book.html.

Get instant help from 5000+ experts for
question

Writing: Get your essay and assignment written from scratch by PhD expert

Rewriting: Paraphrase or rewrite your friend's essay with similar meaning at reduced cost

Editing: Proofread your work by experts and improve grade at Lowest cost

loader
250 words
Phone no. Missing!

Enter phone no. to receive critical updates and urgent messages !

Attach file

Error goes here

Files Missing!

Please upload all relevant files for quick & complete assistance.

Plagiarism checker
Verify originality of an essay
essay
Generate unique essays in a jiffy
Plagiarism checker
Cite sources with ease
support
Whatsapp
callback
sales
sales chat
Whatsapp
callback
sales chat
close