Question 1. (3 marks)

Brief explain the difference between the System Development Life Cycle (SDLC) and the System Development Methodology.

Question 2. (3 marks)

  • What is an event? (ii) Explain how the event decomposition technique helps identify use cases at the right level of analysis.

Question 3. (4 marks)

  • List and briefly describe four basic approaches to program development order. (ii) Why is use-case-driven development suitable for iterative development?

Question 4. (15 marks)

John Bishop owns a second hand book shop on the High Street of a busy town. The book shop buys and sells second-hand books, but also has a small private library of rare books which he loans to local people. He has to keep a careful record of each loan and return. Before anyone can borrow any books they must register with the book shop and pay a deposit. The deposit is repaid when a person wishes to cease membership of the library if all the borrowed books have been returned in good condition.

When someone offers a book for sale John searches his catalogue of books to see if he already has a copy either in the library or for sale. If so he checks how much he paid for the copy or copies he already has. If he has several copies of the book already he may decline to buy the book, or offer a reduced price. If John doesn’t already have a copy of the book he will offer to buy it, paying a reasonable price depending on its condition and rarity.

John has realised that the supply of second hand books locally has diminished and has decided to set up a website where people can offer their books to John to buy. He realises that the seller of a book would have to input the book condition as well as the title and publication date for each book that she/he wants to sell. The web application would have to decide what price to offer by retrieving the purchase and selling price of any previous copies of the book. If the potential seller agrees on the price, a transaction number will be displayed for the seller (which must be included when the seller sends the book to John, who will then send a cheque to the seller after receiving the book). If the web application fails to calculate a price, a message will be displayed for the seller to indicate that the seller will be in touch by John.

Based on the above narrative, solve the following tasks:

  • Present a CRUD (Create-Read-Update-Delete) analysis for the buyer domain class for the buyers (who purchase books from the bookshop). For each of the four CRUD aspects, present at least one use case related to the buyer domain class. (You can make reasonable assumptions.)(6 marks)
  • Present a System Sequence Diagram (SSD) that models the communication between the seller and the web application when selling a book.

Question 5. (10 marks)

The travel reimbursement process for employees of West Nile Valley University involves three different actors: the employee, the employee’s departmental secretary, and the treasurer’s office. First, the employee has to gather and prepare all of the receipts the university requires for reimbursement. At the same time, she completes the official reimbursement form. She then submits both the receipts and the form to the departmental secretary. If something on the form is incorrect, the secretary returns the form to the employee for correction. If the form is correct, the secretary prepares a form required by the university. That form is then submitted to the treasurer’s office. The treasurer’s office then enters the amount to be reimbursed into the university’s system. The employee is then asked to review the reimbursement amounts. If the amount shown is not correct, the employee must indicate that this is the case. If the amount shown is correct, then the treasurer’s office sends the reimbursement to the employee’s bank, completing the process.

Based on the above narrative, present an Activity Diagram that models the reimbursement process. Use one swimlane for each actor/role in the process.

Question 6. (15 mark)

A patient record and scheduling system in a medical centre is used by the receptionists, nurses, and doctors. The receptionists use the system to enter new patient information when first-time patients visit the doctor. They also schedule all appointments.

The nurses use the system to keep track of the results of each visit including diagnosis and medications. For each visit, free form text fields are used to capture information on diagnosis and treatment. Multiple medications may be prescribed during each visit. The nurses can also access the information to print out a history of patient visits.

The doctors primarily use the system to view patient history. The doctors may enter some patient treatment information and prescriptions occasionally, but most frequently they let the nurses enter this information.

Each patient is assigned to a family. The head of family is responsible for the person with the primary medical coverage. Information about doctors is maintained since a family has a primary care physician, but different doctors may be the ones seeing the patients when they visit the medical centre.

Based on the above narrative, solve the following tasks:

(i)Based on the above narrative, present a UML Design Class Diagram (DCD) for the use case “enter new patient information”.

  • Navigation visibility and method signatures must be included in the diagram.
  • Method names must be indicative and use the camelback notation.
  • Attributes are marked private and methods are marked public.
  • A boundary/view class, a controller class and a data access class must be included.
  • State any reasonable assumption made as annotations to the diagram.(10 marks)

(ii) Identify two other use cases and provide a brief use case description for each.(5 marks)