Solution for Drawing Use Case Diagrams
Autor: Joshua • March 1, 2018 • 1,157 Words (5 Pages) • 520 Views
...
Pre condition Borrower presented books to borrow and requested loan
- Swipe card
- If card cannot be read then the barcode number under the barcode will be entered
- Check validity
- If card is not valid for fines to pay then the borrower need to pay fine
- else exit
- for all books to borrow
- Read barcode of books to borrow
- If barcode of books to borrow cannot be read by the barcode reader the barcode number under the barcode will be entered
- Stamp return date
End for
Post condition Return books and card to borrower
---------------------------------------------------------------
---------------------------------------------------------------
Solution for question (b)
Use case modeling helps the requirements analysis activity by ; (ref lecture ppt)
- Considering user requirement in relation to the system, it is user-oriented
- Easily understanding the models, it is a graphical technique
- Documenting the behaviour of the system, it documents from user perspective
- Helping with three difficult aspects of systems development
- Requirement
- Planning/prioritizing of development
- Validation of systems
- Providing a structured approach toward dealing with user-centered requirements definition and modeling
- Identifying information about the actors such as
- What they need from the system
- Expected interactions with the system
- Important job/task related to the user
- Illustrating behavior of the system , shows functionality of the system.
Solution for question (c)
When Use case describes the functionality of a system, it considered systems functionality from the perspective of users or actors. A use case describes as a high-level function of a system. It does not depict the internal processes or workings of the system. To describe full detail of a system working, it is needed to add a use case textual description.
(ref: Text page 282-283)
To elicit the user’s requirements we can use a number of ways; Interview, Focus group discussion, Questionnaires, Observation, Investigation, Prototyping and Document analysis.
To support our investigation, we may use “use case modeling” to model the functional requirement of the users.
------------------------------------------------- End of solution ----------------------------------------------------------------
Sample ;
A textual description for “Highbrow University library, loan control system ” Use case,
- Library assistant Issues library card to a borrower (staff, students).
- The borrower will access to the catalogue to search the information of a required book.
- The borrower can use library card to swipe at the system to check own status for current loan and outstanding debt.
- By extracting the books to borrow and presenting to the library assistant, the borrower borrows books.
- The Library assistant does swipe card to check outstanding loan and overdue books to validate for new loan.
- If valid the library assistant reads barcode of books to borrow and stamps return date and returns card and books to the borrower ( issue loan ).
- When the borrower returns loan reads barcode of returned books and accept the return.
- If there exits fine for overdue the library assistant asks the borrower to clear fine.
...