SE Assig 02
SE Assig 02
Assignment 02
Department of Computer Science
BAHRIA UNOVERSITY, ISLAMABAD
Use Case Diagrams are essential in software development as they visually represent system
functionalities and interactions between users (actors) and the system. Based on the lecture
slides, the key reasons for using Use Case Diagrams include:
Use Case Diagrams are a crucial part of the Unified Modeling Language (UML) and play a
significant role in requirement analysis, design, and communication.
Question # 02 (CLO )
Requirement specifications are defined through a structured process that ensures clarity,
completeness, and correctness in understanding system needs. The key steps include:
1. Requirement Elicitation
o Involves gathering requirements from stakeholders, including users,
customers, and system analysts.
o Techniques used: Interviews, questionnaires, workshops, document analysis,
and observation.
2. Requirement Analysis
o Evaluating and refining gathered requirements to remove ambiguities,
inconsistencies, and redundancies.
o Prioritizing requirements based on system needs and stakeholder importance.
3. Requirement Documentation
4. Requirement Validation
o Ensuring that requirements accurately reflect stakeholder needs through
reviews, walkthroughs, and prototypes.
5. Requirement Management
o Continuous tracking and updating of requirements to adapt to project changes.
o Version control and impact analysis are used to manage changes effectively.
Function
Description
Allows healthcare providers to store, retrieve, and update patient medical records, ensuring
accurate and timely access to critical health information.
Inputs
• Patient ID (pID)
• Patient medical history (pHist)
• Current diagnosis and treatment details (pDiag, pTreat)
Source
Outputs
Action
• If the patient ID exists in the system, update the corresponding record with new
diagnosis and treatment details.
• If the patient ID does not exist, create a new record with the provided details.
• Ensure data integrity by validating input fields before saving.
Requirements
Pre-condition
Post-condition
• The updated or newly created patient record is securely stored in the system.
Side Effects