Chapter 4 – Requirements Engineering Lecture 3 1Chapter 4 Requirements engineering.

Slides:



Advertisements
Similar presentations
Figures – Chapter 5. Figure 5.1 The context of the MHC-PMS.
Advertisements

SWE Introduction to Software Engineering
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 Requirements Engineering Processes.
Requirements Engineering Processes
IS550: Software requirements engineering Dr. Azeddine Chikh 4. Validation and management.
UML Needed for Requirements Spec Pepper. Need UML for Requirements Use Case Activity Diagram Tool: StarUML.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 Requirements Engineering Processes.
1 SWE Introduction to Software Engineering Lecture 11 - Requirements Engineering Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 Requirements Engineering Processes 1.
Chapter 5 – System Modeling
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 6 Slide 1 Chapter 6 Requirements Engineering Process.
Chapter 4 – Requirements Engineering
 Dr. Syed Noman Hasany.  Review of known methodologies  Analysis of software requirements  Real-time software  Software cost, quality, testing and.
Chapter 4 – Requirements Engineering Lecture 2 1Chapter 4 Requirements engineering.
7. Requirements Engineering Processes
المحاضرة الثالثة. Software Requirements Topics covered Functional and non-functional requirements User requirements System requirements Interface specification.
Chapter 5: Requirement Engineering Process Omar Meqdadi SE 2730 Lecture 5 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 6 Slide 1 Requirements Engineering Processes l Processes used to discover, analyse and.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 The requirements engineering process.
 To describe the principal requirements engineering activities and their relationships  To introduce techniques for requirements elicitation and analysis.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 Requirements Engineering Processes.
Chapter 4 Requirements Engineering Processes Objectives l To describe the principal requirements engineering activities and their relationships l To.
Chapter 4 – Requirements Engineering Lecture 3 1Chapter 4 Requirements engineering.
Yarmouk University Department of Computer Information Systems CIS 499 Yarmouk University Department of Computer Information Systems CIS 499 Yarmouk University.
Requirements Engineering Overview Senior Design Don Evans.
Requirements Engineering 1Chapter 4 Requirements engineering.
1 Software Requirements l Specifying system functionality and constraints l Chapters 5 and 6 ++
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 Requirements Engineering Processes.
Software Engineering, 8th edition. Chapter 7 1 Courtesy: ©Ian Sommerville 2006 March 20 th, 2008 Lecture # 12 Requirements Engineering Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 Requirements Engineering Processes.
Chapter 4 Requirements Engineering (3/3) Yonsei University 2 nd Semester, 2015 Sanghyun Park.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 Requirements Engineering Processes.
Chapter 4 – Requirements Engineering Lecture 1 1Chapter 4 Requirements engineering.
Requirements Engineering. Requirements engineering processes The processes used for RE vary widely depending on the application domain, the people involved.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 Requirements Engineering Processes.
Requirements Engineering Process
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 7 Slide 1 Requirements Engineering Processes.
Chapter 5 System Modeling (1/2) Yonsei University 2 nd Semester, 2015 Sanghyun Park.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 Requirements Engineering Processes.
Interdisciplinary Aalto YYT-C3002 Application Programming in Engineering Spring 2016 Application programming in engineering; Requirements engineering
Requirements Analysis
Requirements engineering The process of establishing the services that the customer requires from a system and the constraints under which it operates.
CS223: Software Engineering Lecture 8: Requirement Engineering.
Chapter 4 – Requirements Engineering Part 2 1Chapter 4 Requirements engineering.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 Requirements Engineering Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 Requirements Engineering Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 Requirements Engineering Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 Requirements Engineering Processes The goal of the requirements engineering process.
Chapter 3 – Requirements Engineering Lecture 1 1Chapter 4 Requirements engineering.
Chapter 4 – System Modeling Lecture 1 1Chapter 5 System modeling.
 The processes used for RE vary widely depending on the application domain, the people involved and the organisation developing the requirements.  However,
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 6 Slide 1 Software Requirements (utvalgte foiler fra Kap 6 og 7 i Sommerville)
Lecturer: Eng. Mohamed Adam Isak PH.D Researcher in CS M.Sc. and B.Sc. of Information Technology Engineering, Lecturer in University of Somalia and Mogadishu.
CHAPTER 5 REQUIREMENTS ENGINEERING PROCESSES 1. Objectives  To describe the principal requirements engineering activities and their relationships  To.
REQUIREMENTS ENGINEERING PROCESSES Chapter 6. Activities in Requirements Engineering processes  Requirements elicitation;  Requirements analysis; 
Chapter 5 – System Modeling
Pepper modifying Sommerville's Book slides
Requirements Engineering Processes
Chapter 4 Requirements engineering
Chapter 5 System modeling
Pepper modifying Sommerville's Book slides
CompSci 280 S Introduction to Software Development
Chapter 5 – System Modeling
SNS College of Engineering Coimbatore
EKT 421 SOFTWARE ENGINEERING
Chapter 4 – Requirements Engineering
Requirements Engineering Process
Chapter 4 – Requirements Engineering
Requirements Engineering Processes
Chapter 4 – Requirements Engineering
Presentation transcript:

Chapter 4 – Requirements Engineering Lecture 3 1Chapter 4 Requirements engineering

Topics covered  Functional and non-functional requirements  The software requirements document  Requirements specification  Requirements engineering processes  Requirements elicitation and analysis  Requirements validation  Requirements management 2Chapter 4 Requirements engineering

Requirements elicitation and analysis  Called requirements elicitation or requirements discovery.  technical staff work with customers to find out about  the application domain,  the services that the system should provide and  the system’s operational constraints.  Involves stakeholders  end-users,  managers,  engineers involved in maintenance,  domain experts  etc. 3Chapter 4 Requirements engineering

Problems of requirements analysis  Stakeholders don’t know what they really want.  Stakeholders express requirements in their own terms.  Different stakeholders may have conflicting requirements.  Organisational and political factors may influence the system requirements.  The requirements change during the analysis process.  New stakeholders may emerge and the business environment may change. 4Chapter 4 Requirements engineering

Requirements elicitation and analysis  Stages in formal elicitation:  Requirements discovery,  Requirements classification and organization,  Requirements prioritization and negotiation,  Requirements specification. Chapter 4 Requirements engineering5

The requirements elicitation and analysis process 6Chapter 4 Requirements engineering

Process activities  Requirements discovery  Interacting with stakeholders to discover their requirements. Domain requirements are also discovered at this stage.  Requirements classification and organisation  Groups related requirements and organises them into coherent clusters.  Prioritisation and negotiation  Prioritising requirements and resolving requirements conflicts.  Requirements specification  Requirements are documented and input into the next round of the spiral.

Requirements discovery  The process of gathering information about the required and existing systems and distilling the user and system requirements from this information.  Interaction is with system stakeholders from managers to external regulators.  Systems normally have a range of stakeholders. Chapter 4 Requirements engineering8

Stakeholders in the MHC-PMS  Patients whose information is recorded in the system.  Doctors who are responsible for assessing and treating patients.  Nurses who coordinate the consultations with doctors and administer some treatments.  Medical receptionists who manage patients’ appointments.  IT staff who are responsible for installing and maintaining the system. Chapter 4 Requirements engineering9

Stakeholders in the MHC-PMS  A medical ethics manager who must ensure that the system meets current ethical guidelines for patient care.  Health care managers who obtain management information from the system.  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. Chapter 4 Requirements engineering10

Interviewing  Formal or informal interviews with stakeholders are part of most RE processes.  Types of interview  Closed interviews based on pre-determined list of questions  Open interviews where various issues are explored with stakeholders.  Effective interviewing  Be open-minded, avoid pre-conceived ideas about the requirements and are willing to listen to stakeholders.  Prompt the interviewee to get discussions going using a springboard question, a requirements proposal, or by working together on a prototype system. Chapter 4 Requirements engineering11

Interviews in practice  Normally a mix of closed and open-ended interviewing.  Interviews are good for  an overall understanding of what stakeholders do and how they might interact with the system.  Interviews are not good for  understanding domain requirements  Requirements engineers cannot understand specific domain terminology;  Some domain knowledge is so familiar that people find it hard to articulate.

Scenarios (user stories)  Scenarios are real-life examples of how a system can be used.  Users don’t know what the use cases will be  only know how to do their work  can describe what they do  They should include  A description of the starting situation;  A description of the normal flow of events;  A description of what can go wrong;  Information about other concurrent activities;  A description of the state when the scenario finishes.

Scenario for collecting medical history in MHC- PMS 14Chapter 4 Requirements engineering

Scenario for collecting medical history in MHC- PMS 15Chapter 4 Requirements engineering

Scenarios  Example: designing a music app  Possible scenarios. In each describe what you do.  I want to go running and take my phone.  I want to listen to music as I ride the bus to school  I want to listen to the newest album from X while doing my homework. Chapter 4 Requirements engineering16

Use cases  Use-cases are a scenario based technique  done in UML  identify the actors in an interaction  describe the interaction itself.  A set of use cases should describe all possible interactions with the system.  Extract these from the scenarios  use cases will be the same across many scenarios  the purpose of the scenarios is to tease out as many use cases as possible 17Chapter 4 Requirements engineering

Use cases  Format  High-level graphical model  supplemented by more detailed tabular description  At the very least, the description should include:  The name of the use case, which should summarize its purpose  The actor or actors  The flow of events  Assumptions about entry conditions 18Chapter 4 Requirements engineering

Use Cases  An actor is a user of a system in a particular role.  An actor can be human or an external system.  A usecase is a task that an actor needs to perform with the help of the system. Chapter 4 Requirements engineering19 BookBorrower PressureSensor Borrow Book Record Pressure

Use Cases  Actor is role, not an individual  librarian can have many roles  Actor must be a beneficiary of the use case  not librarian who processes book when borrowed  In naming actors, choose names that describe the role, not generic names, such as "user" or "client". Chapter 4 Requirements engineering20

Use Cases Chapter 4 Requirements engineering21 Visitor Borrow Book Return Book Search for Book Three separate use cases

Transfer-data use case  A use case in the MHC-PMS 22Chapter 5 System modeling

Tabular description of the ‘Transfer data’ use- case MHC-PMS: Transfer data ActorsMedical receptionist, patient records system (PRS) DescriptionA receptionist may transfer data from the MHC-PMS to a general patient record database that is maintained by a health authority. The information transferred may either be updated personal information (address, phone number, etc.) or a summary of the patient’s diagnosis and treatment. DataPatient’s personal information, treatment summary StimulusUser command issued by medical receptionist ResponseConfirmation that PRS has been updated CommentsThe receptionist must have appropriate security permissions to access the patient information and the PRS. 23Chapter 5 System modeling

Use cases  Sequence diagrams  used to add detail to use-cases  show the sequence of event processing in the system. Chapter 4 Requirements engineering24

Use cases for the MHC-PMS 25Chapter 4 Requirements engineering

Sequence diagram Chapter 4 Requirements engineering26

Key points  You can use a range of techniques for requirements elicitation including interviews, scenarios, use-cases and ethnography.  Requirements validation is the process of checking the requirements for validity, consistency, completeness, realism and verifiability.  Business, organizational and technical changes inevitably lead to changes to the requirements for a software system. Requirements management is the process of managing and controlling these changes. Chapter 4 Requirements engineering27