Docsity

use case class activity, Exercises of Software Engineering

Partial preview of the text

Download use case class activity and more Exercises Software Engineering in PDF only on Docsity!

SOFTWARE ENGINEERING

(ITWB3103)

ASSIGNMENT 1

PREPARED FOR:

NORMAIZA MOHAMAD

PREPARED BY:

SHARMAN S/O SIVAN (MC170604715)

LOGESWARAN S/O DAVARAJOO (MC170604745)

Question 1

The ACM / IEEE Code of Ethics contains 8 principles. Provide an example of a scenario that VIOLATE each of the principles. (One scenario for each principle).

PRINCIPLE I: PUBLIC

A software engineer from company x have created a software which has failed in appropriate test , does not meets specifications and also not safe to be used in a computer device. But the senior software engineer of the company has approved the software.

PRINCIPLE 2: CLIENT AND EMPLOYER

Company x has announced a competition for software engineers around Malaysia for build a business organization software. Abu a freelance software engineer uses tools and softwares which has downloaded and cracked illegally from the internet to build the business organization software to win the competition.

PRINCIPLE 3: PRODUCT A big automobile company wants to build a software which can ease their internal staff work to update and record car details. They has contacted freelance software engineers to make a proposal for the software that they want to build. Loges , one of the software engineer has work on the proposal with unrealistic quantitative estimates of cost, scheduling, personnel, quality and outcomes which never meets the goal of the project.

PRINCIPLE 4: JUDGMENT

A big automobile company wants to build a software which can ease their internal staff work to update and record car details. They has contacted freelance software engineers to make a proposal for the software that they want to build. Ali , has submitted his proposal and it has been approved by the company. After he complete the software , he has doubled the bill for building the software with inappropriate reasons for handing over the software to the company.

Question 2

State whether you agree or disagree with the following statement: “Since we deliver multiple increments to the customer, why should be concerned about quality in the early increments – we can fix problems in later iterations.” Explain your answer.

We would be disagree with the statement above. For each increment builds on the next , no one wants to build on a low quality foundation. If the first increments are low in quality,

customers and users may become concerned (about the competence of the team);

unnecessary tension may develop, and follow-on communication suffers. To provide a better illustration, say a patient which had been diagnosed with stage 3 cancer, should the patient have taken proper precaution in the beginning, they may have been able to prevent the cancer to be in its benign state rather than having it in terminal. In conclusion, a prevention is always better than a cure.

Question 3

Based on the case study of “Patient Information System for Mental Health Care” (Mentcare), answer the following questions:

a. Identify THREE (3) functional requirements for Mentcare.

  1. A user shall be able to search the appointments lists for all clinics.
  2. The system shall generate each day, for each clinic, a list of patients who are expected to attend appointments that

day.

  1. Each staff member using the system shall be uniquely identified by his or her employee number.

b. List the system stakeholders.

  1. Patients whose information is recorded in the system.
  2. Doctors who are responsible for assessing and treating patients.
  3. Nurses who coordinate the consultations with doctors and administer some treatments.
  4. Medical receptionists who manage patients’ appointments.
  5. IT staff who are responsible for installing and maintaining the system.
  6. A medical ethics manager who must ensure that the system meets current ethical guidelines for patient care.
  7. Health care managers who obtain management information from the system.
  8. Medical records staff who are responsible for ensuring that system information can be maintained and preserved, and that record keeping procedures have been properly implemented.

d. Select the use cases that you have identified from 3(c) and use the Use Case Template to define it.

Edit RecordDoctorSetup consultation

Use Case Template ‘Register patient system’Use Case

Use Case Name Register patient system

Use Case Description This use case describes how to make registration of the patient and also view their personal info Actor Medical Receptionist

Pre-Conditions Receptionist has login Basic Flow 1)Get patient information

2)Check details

  1. If the patient is new ,create new patient 4)View personal info 5)Save the details in database Post-Conditions Patient details has been saved Alternate Flows (^) • Patient give false details
  • Patient refuse to give details