Software Engineering Developing Requirements. © Lethbridge/Laganière 2001 Chapter 4: Developing requirements2 4.1 Domain Analysis The process by which.

Slides:



Advertisements
Similar presentations
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 4: Developing Requirements.
Advertisements

Chapter 4: Developing Requirements
Chapter 7 CASE Tools and Joint and Rapid Application Development.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 4: Developing Requirements.
CAP 252 Lecture Topic: Requirement Analysis Class Exercise: Use Cases.
Identifying Needs and Establishing Requirements John Thiesfeld Jeff Morton Josh Edwards.
WKES 3202 SOFTWARE REQUIREMENTS ENGINEERING SEMESTER 1 SESSION 2004/2005.
PVK-061 Contents Introduction Requirements Engineering Project Management Software Design Detailed Design and Coding Quality Assurance Maintenance.
1 CSC-3324: Chapter 4 Title: What is a requirement? Mandatory reading: Sommerville 6, 7 th ed., Chap.: 7.
IS550: Software requirements engineering Dr. Azeddine Chikh 4. Validation and management.
7M822 Software Requirements Introduction 7 September 2010.
Chapter 4 Capturing the Requirements 4th Edition Shari L. Pfleeger
The Project AH Computing. Functional Requirements  What the product must do!  Examples attractive welcome screen all options available as clickable.
Software Engineering 2003 Jyrki Nummenmaa 1 REQUIREMENT SPECIFICATION Today: Requirements Specification Requirements tell us what the system should.
Requirements Analysis
Object-Oriented System Analysis and Design Chapter III- Requirement Elicitation Collecting and organizing users requirement- WHAT- User needs.
SE-02 SOFTWARE ENGINEERING LECTURE 3 Today: Requirements Analysis Requirements tell us what the system should do - not how it should do it. Requirements.
المحاضرة الثالثة. Software Requirements Topics covered Functional and non-functional requirements User requirements System requirements Interface specification.
Demystifying the Business Analysis Body of Knowledge Central Iowa IIBA Chapter December 7, 2005.
Software engineering lec4 Requirements. Developing requirements Start thinking about particular problem Understand the problem  Domain analysis Gather.
Software Requirements Engineering CSE 305 Lecture-2.
Chapter 4: Developing Requirements
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 Requirements Engineering Processes.
Requirements Engineering Requirements Elicitation Process Lecture-8.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 7: Focusing on Users and Their Tasks.
Software Engineering – University of Tampere, CS DepartmentJyrki Nummenmaa REQUIREMENT SPECIFICATION Today: Requirements Specification.
10/12/ Recall The Team Skills 1. Analyzing the Problem (with 5 steps) 2. Understanding User and Stakeholder Needs 1. Interviews & questionnaires.
Object-Oriented Software Engineering Practical Software Development using UML and C++/Java Chapter 4: Developing Requirements.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 4: Developing Requirements.
Approaching a Problem Where do we start? How do we proceed?
1 Introduction to Software Engineering Lecture 1.
Requirements Reference: Chapters 5, 6, & 8. CMSC 345, Fall Objectives To introduce the concepts of user and system requirements To explain functional.
A Use Case Primer 1. The Benefits of Use Cases  Compared to traditional methods, use cases are easy to write and to read.  Use cases force the developers.
Yarmouk University Department of Computer Information Systems CIS 499 Yarmouk University Department of Computer Information Systems CIS 499 Yarmouk University.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 4: Developing Requirements Based on Presentations LLOSENG.
Systems Analysis and Design in a Changing World, 6th Edition
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 4: Developing Requirements.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 4: Developing Requirements.
1 Software Requirements l Specifying system functionality and constraints l Chapters 5 and 6 ++
Lecture 2 Developing Requirements
CSE 240 Lecture 6. © Lethbridge/Laganière 2001 Chapter 5: Modelling with classes2 Overview Discuss Assignment 1(Questions) Chapter 4 - Requirements. Test.
Developing Requirements Adapted after : Timothy Lethbridge and Robert Laganiere, Object-Oriented Software Engineering – Practical Software Development.
Applied Software Project Management Andrew Stellman & Jennifer Greene Applied Software Project Management Applied Software.
Requirements Engineering Lesson 2. Terminologies:  Software Acquisition is where requirement engineering significantly meets business strategy.  Software.
Systems Development Life Cycle
Requirements Engineering Process CS-862 (Spring 2013)
Requirements Analysis
Requirements engineering The process of establishing the services that the customer requires from a system and the constraints under which it operates.
Developing Requirements. 1. Domain Analysis Domain: The general field of business or technology in which the customers expect to be using software Domain.
5. 2Object-Oriented Analysis and Design with the Unified Process Objectives  Describe the activities of the requirements discipline  Describe the difference.
Software engineering lec3 Requirements. Contents Developing Requirements Domain analysis The starting point for software projects Defining the problem.
Requirement Elicitation Review – Class 8 Functional Requirements Nonfunctional Requirements Software Requirements document Requirements Validation and.
Requirements. Outline Definition Requirements Process Requirements Documentation Next Steps 1.
 The processes used for RE vary widely depending on the application domain, the people involved and the organisation developing the requirements.  However,
1 Developing Requirements Based on Chapter 4 of Object-Oriented Software Engineering: Practical Software Development using UML and Java.
 System Requirement Specification and System Planning.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 4: Developing Requirements.
Bernd Bruegge and Allen Dutoit Requirements Process The requirements process consists of two activities: Requirements Elicitation: Definition of the system.
Classifications of Software Requirements
CMPE 280 Web UI Design and Development August 29 Class Meeting
Chapter 4: Developing Requirements
Lecture 2 Developing Requirements
Chapter 4 – Requirements Engineering
Recall The Team Skills Analyzing the Problem (with 5 steps)
CASE Tools and Joint and Rapid Application Development
By Dr. Abdulrahman H. Altalhi
Requirements Analysis
Unit 6: Application Development
Lecture # 7 System Requirements
Requirements gathering
Presentation transcript:

Software Engineering Developing Requirements

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements2 4.1 Domain Analysis The process by which a software engineer learns about the domain to better understand the problem: The domain is the general field of business or technology in which the clients will use the software A domain expert is a person who has a deep knowledge of the domain Benefits of performing domain analysis: Faster development Better system Anticipation of extensions

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements3 Domain Analysis document A.Introduction B.General knowledge about the domain C.Customers and users D.The environment E.Tasks and procedures currently performed F.Competing software G.Similarities to other domains

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements4 4.2 The Starting Point for Software Projects green field project

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements5 4.3 Defining the Problem and the Scope A problem can be expressed as: A difficulty the users or customers are facing, Or as an opportunity that will result in some benefit such as improved productivity or sales. The solution to the problem normally will entail developing software A good problem statement is short AND SUFFICIENT

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements6 Defining the Scope Narrow the scope by defining a more precise problem List all the things you might imagine the system doing —Exclude some of these things if too broad —Determine high-level goals if too narrow

Defining the Scope © Lethbridge/Laganière 2001 Chapter 4: Developing requirements7 Example: A university registration system

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements8 4.4 What is a Requirement Requirement: A statement about the proposed system that all stakeholders agree must be made true in order for the customer’s problem to be adequately solved. Short and concise piece of information Says something about the system All the stakeholders have agreed that it is valid It helps solve the customer’s problem A collection of requirements is a requirements document.

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements9 4.5 Types of Requirements Functional requirements Describe what the system should do Non-functional requirements Constraints that must be adhered to during development

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements10 Functional requirements What inputs the system should accept What outputs the system should produce What data the system should store that other systems might use What computations the system should perform The timing and synchronization of the above

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements11 Non-functional requirements All must be verifiable Three main types 1. Categories reflecting: usability, efficiency, reliability, maintainability and reusability —Response time —Throughput —Resource usage —Reliability —Availability —Recovery from failure —Allowances for maintainability and enhancement —Allowances for reusability

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements12 Non-functional requirements 2. Categories constraining the environment and technology of the system. —Platform —Technology to be used 3. Categories constraining the project plan and development methods —Development process (methodology) to be used —Cost and delivery date -Often put in contract or project plan instead

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements Some Techniques for Gathering and Analysing Requirements Observation Read documents and discuss requirements with users Shadowing important potential users as they do their work —ask the user to explain everything he or she is doing Session videotaping Interviewing Conduct a series of interviews —Ask about specific details —Ask about the stakeholder’s vision for the future —Ask if they have alternative ideas —Ask for other sources of information —Ask them to draw diagrams

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements14 Gathering and Analysing Requirements... Brainstorming Appoint an experienced moderator Arrange the attendees around a table Decide on a ‘trigger question’ Ask each participant to write an answer and pass the paper to its neighbour Joint Application Development (JAD) is a technique based on intensive brainstorming sessions

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements15 Gathering and Analysing Requirements... Prototyping The simplest kind: paper prototype. —a set of pictures of the system that are shown to users in sequence to explain what would happen The most common: a mock-up of the system’s UI —Written in a rapid prototyping language —Does not normally perform any computations, access any databases or interact with any other systems —May prototype a particular aspect of the system

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements16 Gathering and Analysing Requirements... Informal use case analysis Determine the classes of users that will use the facilities of this system (actors) Determine the tasks that each actor will need to do with the system More on use cases in Chapter 7

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements Types of Requirements Document Requirements documents for large systems are normally arranged in a hierarchy Requirements Specification xxxx xxxxxxx xxx xxxxxxxxxxx xxxxx xxxxxxxxxxxxx xxxxxxx xxx xxxxxxxxxxxxxxx Requirements Definition xxxx xxxxxxx xxx xxxxxxxxxxx xxxxx xxxxxxxxxxxxx xxxxxxx xxx xxxxxxxxxxxxxxx Requirements Specification xxxx xxxxxxx xxx xxxxxxxxxxx xxxxx xxxxxxxxxxxxx xxxxxxx xxx xxxxxxxxxxxxxxx Requirements Definition xxxx xxxxxxx xxx xxxxxxxxxxx xxxxx xxxxxxxxxxxxx xxxxxxx xxx xxxxxxxxxxxxxxx Requirements Specification xxxx xxxxxxx xxx xxxxxxxxxxx xxxxx xxxxxxxxxxxxx xxxxxxx xxx xxxxxxxxxxxxxxx Two extremes: - An informal outline of the requirements using a few paragraphs or simple diagrams requirements definition - A long list of specifications that contain thousands of pages of intricate detail requirements specification

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements18 Level of detail required in a requirements document How much detail should be provided depends on: —The size of the system —The need to interface to other systems —The readership —The stage in requirements gathering —The level of experience with the domain and the technology —The cost that would be incurred if the requirements were faulty

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements Reviewing Requirements Each individual requirement should —Have benefits that outweigh the costs of development —Be important for the solution of the current problem —Be expressed using a clear and consistent notation —Be unambiguous —Be logically consistent —Lead to a system of sufficient quality —Be realistic with available resources —Be verifiable —Be uniquely identifiable —Does not over-constrain the design of the system

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements20 Requirements documents... The document should be: —sufficiently complete —well organized —clear —agreed to by all the stakeholders Traceability:

© Lethbridge/Laganière 2001 Chapter 4: Developing requirements Managing Changing Requirements Requirements change because: Business process changes Technology changes The problem becomes better understood Requirements analysis never stops Continue to interact with the clients and users The benefits of changes must outweigh the costs. —Certain small changes (e.g. look and feel of the UI) are usually quick and easy to make at relatively little cost. —Larger-scale changes have to be carefully assessed -Forcing unexpected changes into a partially built system will probably result in a poor design and late delivery Some changes are enhancements —Avoid making the system bigger, only make it better