CS140 - Assignment 2 - 2023
CS140 - Assignment 2 - 2023
The marking rubrics is heavily based on human factors, professional expectation, and
communication on:
1. Compare and contrast the different software development models.
Requirements
Final Document
• Cover page
• Table of Contents
• Answers to case studies.
Submission
1
Case Studies
Question 1: (4 marks)
Create a Use Case Diagram for the case study given below.
ElectroMech Ltd sells a line of high-quality electrical tools. When customers place orders on the
company’s Web site, the system checks to see if the items are in stock, updates status to the
customer, and generates a shipping order to the warehouse, which fills the order after checking the
stock levels. When the order is shipped, the customer is billed, and the customer makes payment.
The system also produces various inventory reports that are viewed by the accounting department.
Additionally, use an include and extend in the use-case diagram.
Question 2: (4 marks)
Draw a domain class diagram based on the case study given below, show the attributes and
relationships with multiplicity.
The University of South Pacific has a renowned Library. The library contains books borrowed by
students identified by their ID. Books have a library code, title, one or more authors and number of
pages. Authors have name and surname, and they can have written many manuscripts published in
different books. Each book has an editor and a book may be provided by different editors in different
dates. Students cannot borrow more than 3 books, and each book has a starting date and a return
date.
Question 3: (3 marks)
Om’s Medical Centre is one of the top health centers around the country. The receptionist enters the
patient’s first name, last name, address, occupation, date of birth and contact details into the system.
The receptionist enters the health insurance number, and the system verifies this with private health
insurance system. After verification, the system saves the patient's details and confirms the
registration.
2
Marking Rubrics:
CBOK Unsatisfactory Satisfactory Good Marks Marked
(0%-49%) (50% - 75%) (76% - 100%) Allocated Attained
Page 3 of 3