Question: Question 4 - 30marks Instruction Question 1 Question 2 Question 3 Question 4 Question 5 Question 6 The table below gives the informal requirements for


Question 4 - 30marks Instruction Question 1 Question 2 Question 3 Question 4 Question 5 Question 6 The table below gives the informal requirements for phase 3 of the library management system, in which reservation of titles by borrowers is to be supported. Inputs Processing Outputs Delete a book book If the title of this book has been reserved response by a borrower then the response is Borrowers waiting', and the book is not removed from the library system. Delete a borrower person Any reservations made by this borrower response are cancelled. Lend a book book, If the book is a reserved title, and this bor- response person rower is not the first borrower waiting for this title, then the response is Book reserved'. Question 7 Question 8 Question 9 Question 10 00 Question 4 Cont'd 9 Return a book CSCD 419 - Semester Assignment book response Instruction If the book is a title that has borrowers waiting, and there are fewer instances of this title waiting for their borrowers than there are borrowers, then the response is 'Book reserved'. Question 1 Question 2 Question 3 Reserve a title 6 Question 4 Question 5 response title, person Question 6 Question 7 Question 8 Question 9 If the title is not one owned by the library, then the response is 'Title not available'. If the person is not a borrower, then the response is 'Not a borrower'. If this bor- rower already has a reservation for this title, then the response is Book already reserved by this borrower'. Otherwise the title is reserved to the borrower, and the response is Book reserved'. Question 10 Write a specification of phase 3 of the library management system reusing as much as possible of the phase 2 specification. Question 4 - 30marks Instruction Question 1 Question 2 Question 3 Question 4 Question 5 Question 6 The table below gives the informal requirements for phase 3 of the library management system, in which reservation of titles by borrowers is to be supported. Inputs Processing Outputs Delete a book book If the title of this book has been reserved response by a borrower then the response is Borrowers waiting', and the book is not removed from the library system. Delete a borrower person Any reservations made by this borrower response are cancelled. Lend a book book, If the book is a reserved title, and this bor- response person rower is not the first borrower waiting for this title, then the response is Book reserved'. Question 7 Question 8 Question 9 Question 10 00 Question 4 Cont'd 9 Return a book CSCD 419 - Semester Assignment book response Instruction If the book is a title that has borrowers waiting, and there are fewer instances of this title waiting for their borrowers than there are borrowers, then the response is 'Book reserved'. Question 1 Question 2 Question 3 Reserve a title 6 Question 4 Question 5 response title, person Question 6 Question 7 Question 8 Question 9 If the title is not one owned by the library, then the response is 'Title not available'. If the person is not a borrower, then the response is 'Not a borrower'. If this bor- rower already has a reservation for this title, then the response is Book already reserved by this borrower'. Otherwise the title is reserved to the borrower, and the response is Book reserved'. Question 10 Write a specification of phase 3 of the library management system reusing as much as possible of the phase 2 specification
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
