SlideShare a Scribd company logo
1 of 18
Download to read offline
Object Oriented Software
Engineering
Yoseph K, Instructor
yosefkrs@outlook.com
Office Hours: Monday - Saturday
1
Lecture 3: Requirement Elicitation, Analysis
and Specification
´In this chapter, we will focus on:
´Requirement Elicitations and analysis
´Techniques in requirement elicitation
´Requirement elicitation activities and concepts
´Documentation template
2
Requirement
´ Requirement is a necessity or prerequisite which specifies a verifiable constraint on an
implementation of a system.
´ Requirement is a feature that the system must have or a constraint that it must satisfy to
be accepted by the client.
´ Requirement engineering can be described into two distinct ways.
´ Requirements elicitation :
´ Focuses on describing the purpose of the system.
´ Definition of the system in terms understood by the customer
´ Requirements specification
´ Requirements analysis :
´ results into an analysis model which developers can interpret
´ Definition of the system in terms understood by the developer
´ Technical specification
3
Techniques to elicit Requirements
´ The following below provide tools for requirement elicitation.
´ Questionnaires: Asking end user a list of pre-selected questions
´ Task Analysis: Observing end users in their operational environment
´ Interview: official face to face meeting with customers
´ Scenarios: describes an example of system use in terms of a series of interactions
between the user and the system.
´ Use case: is an abstraction that describes a class of scenarios.
4
An overview of requirements elicitation
´ Requirements elicitation focuses on describing the purpose of the system.
´ The client, the developers, and the users identify a problem area and define a system that
addresses the problem.
´ Such a definition is called a system specification and serves as a contract between the
client and the developers.
´ The system specification is structured and formalized during analysis to produce an analysis
model.
´ Both system specification and analysis model represent the same information. They differ
only in the language and notation they use.
´ The system specification is written in natural language, where as the analysis model is
usually expressed in a formal or semiformal notation.
´ The system specification supports the communication with the client and users.
´ The analysis model supports the communication among developers.
5
Cont’d
´ Requirements elicitation and analysis focus only on the user’s view of the
system:
´ The system functionality.
´ The interaction between the user and the system.
´ The errors that the system can detect and handle.
6
Requirements elicitation activities:
´ The following are part of the requirement elicitation activities.
´ Identifying actors- During this activity, developers identify the different types of users the
future system will support.
´ Identifying scenarios- developers observe users and develop a set of detailed scenarios
for typical functionality provided by the future system.
´ Identifying use cases- Once developers and users agree on a set of scenarios,
developers derive from the scenarios a set of use cases that completely represent the
future system.
´ Refining use cases- developers ensure that the system specification is complete, by
detailing each use case and describing the behaviour of the system in the presence of
errors and exceptional conditions.
´ Identifying relationships among use cases- developers combine the use case model by
eliminating redundancies. This ensures that the system specification is consistent.
´ Identifying non-functionalrequirements- developers, users, and clients agree on aspects
that are visible to the user but not directly related to functionality.
7
Scenario-Based Design
´ A scenario is a concrete, focused, informal description of a single feature of the system from
the viewpoint of a single actor.
´ Simply, we can define a scenario as an instance of a use case.
´ Scenarios and use cases provide tools for bridging this gap. A scenario describes an
example of system use in terms of a series of interactions between the user and the system. A
use case is an abstraction that describes a class of scenarios. Both scenarios and use cases
are written in natural language, a form that is understandable to the user.
´ Scenarios can have many different uses during requirements elicitation and during other
activities of the life cycle.
´ Below is a selected number of scenario types :
´ As-is scenarios describe the current situation.
´ Visionary scenarios describe the future system.
´ Evaluation scenarios describe user tasks against which the system is to be evaluated.
´ Training scenarios are tutorials used for introducing new users to the system.
8
Requirements elicitation concepts
´ In this section, we describe the main requirements elicitation concepts we use in this
chapter. In particular, we describe:
´ Functional requirements
´ Non-functional requirements
´ Pseudo requirements (Constraints)
´ Correctness, completeness, consistency, clarity and realism.
´ Greenfield engineering, reengineering, and interface engineering
9
Functional requirements
´ Describe the interactions between the system and its environment independent of its
implementation.
´ The environment includes the user and any other external system with which the system
interacts.
Non-Functional requirements
Ø Describe user-visible aspects of the system that are not directly related with the functional
behavior of the system.
Ø Nonfunctional requirements include quantitative constraints, such as response time (i.e.,
how fast the system reacts to user commands) or accuracy (i.e., how precise are the
system’s numerical answers).
10
§ Pseudo Requirements:
§ Are requirements imposed by the client that restrict the implementation of the
system.
§ Typical pseudo requirements are the implementation language and the platform
on which the system is to be implemented.
§ Pseudo requirements have usually no direct effect on the users’ view of the
system.
11
Basic terminologies in Requirement
specification
qRequirementsSpecifications should be:
ü Complete: - All possible scenarios in the system are described
ü Consistent: It doesn’t contradict it self, implies fault tolerance.
ü Clear: - System is exactly defined. It is should be unambiguous.
ü Correct: - It represents accurately the system that the client needs and that
developments intended to build.
ü Realistic: - The system can be implemented within constraints.
ü Verifiable: - Once the system is built, repeatable test can be designed to demonstrate
that the system fulfills the requirement
ü Traceable: - each system function can be traced to its corresponding set of
requirements.
12
13
Requirements Analysis Document Template
´ Introduction
´ Current system
´ Proposed system
´ Overview
´ Functional requirements
´ Nonfunctional requirements
´ Constraints (pseudo requirements)
´ System models
´Scenarios
´Use case model
´Object model
´Data dictionary
´Class diagrams
´Dynamic models
´User interface
´ Glossary
14
An overview of Design Concepts
´ Analysis
´ Focus on understanding the problem (Idealized design)
´ Focus on Behavior and system structure
´ Functional requirements and for a small model
´ Design
´ Focus on understanding the solution
´ Operations and Attributes (performance)
´ Close to real code and object lifecycles
´ Non-functional requirements and a large model
15
Types of design concepts
´ Abstraction:
´ Abstraction refers to the act of representing essential features without including the
background details.
´ The abstraction concept is usually used during analysis and design:
´ i.e deciding only with application domain, not making implementation decision.
´ Divide a single problem to many simple sub-tasks.
´ collect essential elements composing to a compound data
´ Information hiding (Encapsulation)
´ Packaging related data and operations together
´ It hides the internal data from external by methods (interface).
16
Cont’d
´ Cohesion
´ It is the strength of dependencies within a subsystem/module.
´ A measure of functional strength; strive for high cohesion
´ If a subsystem contains many objects that are related to each other and perform similar
tasks, its coherenceis high.
´ If a subsystem contains a number of unrelated objects, its coherenceis low.
´ A desirable property of subsystem decomposition is that it leads to subsystems with high
coherence.
17
Cont’d
´ Coupling
´ Coupling is the degree of interaction between modules/subsystems
´ The term coupling refers to the act of joining things together, such as the links of a
chain.
´ In the software world, coupling typically refers to the degree to which software
components depend upon each other.
´ There are different types of coupling architectures.
´ Tightly coupling
´ Loosely coupling
18

More Related Content

Similar to Lecture 3 OOSE.pdf

Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)Dr Sukhpal Singh Gill
 
Software engg. pressman_ch-6 & 7
Software engg. pressman_ch-6 & 7Software engg. pressman_ch-6 & 7
Software engg. pressman_ch-6 & 7Dhairya Joshi
 
SELECT21.pptx
SELECT21.pptxSELECT21.pptx
SELECT21.pptxdevnasra1
 
6. ch 5-understanding requirements
6. ch 5-understanding requirements6. ch 5-understanding requirements
6. ch 5-understanding requirementsDelowar hossain
 
Software engineering requirements help11
Software engineering requirements help11Software engineering requirements help11
Software engineering requirements help11ssusere9d840
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptxTekle12
 
SE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdfSE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdfAZKANAAZ1
 
Software Development Process - REQUIREMENTS ANALYSIS / ANALYSIS OF TECHNICAL...
Software Development Process -  REQUIREMENTS ANALYSIS / ANALYSIS OF TECHNICAL...Software Development Process -  REQUIREMENTS ANALYSIS / ANALYSIS OF TECHNICAL...
Software Development Process - REQUIREMENTS ANALYSIS / ANALYSIS OF TECHNICAL...Mark John Lado, MIT
 
Requirement Analysis
Requirement AnalysisRequirement Analysis
Requirement Analysisgowasat
 
5(re dfd-erd-data dictionay)
5(re dfd-erd-data dictionay)5(re dfd-erd-data dictionay)
5(re dfd-erd-data dictionay)randhirlpu
 
SE-Lecture 2A-Requirements.pptx
SE-Lecture 2A-Requirements.pptxSE-Lecture 2A-Requirements.pptx
SE-Lecture 2A-Requirements.pptxTangZhiSiang
 
SE18_Lec 04_Requirements Analysis and Specification
SE18_Lec 04_Requirements Analysis and SpecificationSE18_Lec 04_Requirements Analysis and Specification
SE18_Lec 04_Requirements Analysis and SpecificationAmr E. Mohamed
 

Similar to Lecture 3 OOSE.pdf (20)

Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
 
Software engg. pressman_ch-6 & 7
Software engg. pressman_ch-6 & 7Software engg. pressman_ch-6 & 7
Software engg. pressman_ch-6 & 7
 
SELECT21.pptx
SELECT21.pptxSELECT21.pptx
SELECT21.pptx
 
6. ch 5-understanding requirements
6. ch 5-understanding requirements6. ch 5-understanding requirements
6. ch 5-understanding requirements
 
Software engineering requirements help11
Software engineering requirements help11Software engineering requirements help11
Software engineering requirements help11
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
SE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdfSE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdf
 
Software Development Process - REQUIREMENTS ANALYSIS / ANALYSIS OF TECHNICAL...
Software Development Process -  REQUIREMENTS ANALYSIS / ANALYSIS OF TECHNICAL...Software Development Process -  REQUIREMENTS ANALYSIS / ANALYSIS OF TECHNICAL...
Software Development Process - REQUIREMENTS ANALYSIS / ANALYSIS OF TECHNICAL...
 
Chapter 7 Use Case Model
Chapter 7 Use Case ModelChapter 7 Use Case Model
Chapter 7 Use Case Model
 
Chap07
Chap07Chap07
Chap07
 
Building an Information System
Building an Information SystemBuilding an Information System
Building an Information System
 
Requirement Analysis
Requirement AnalysisRequirement Analysis
Requirement Analysis
 
5(re dfd-erd-data dictionay)
5(re dfd-erd-data dictionay)5(re dfd-erd-data dictionay)
5(re dfd-erd-data dictionay)
 
SE UNIT-2.pdf
SE UNIT-2.pdfSE UNIT-2.pdf
SE UNIT-2.pdf
 
SE-Lecture 2A-Requirements.pptx
SE-Lecture 2A-Requirements.pptxSE-Lecture 2A-Requirements.pptx
SE-Lecture 2A-Requirements.pptx
 
SE18_Lec 04_Requirements Analysis and Specification
SE18_Lec 04_Requirements Analysis and SpecificationSE18_Lec 04_Requirements Analysis and Specification
SE18_Lec 04_Requirements Analysis and Specification
 
Ch07
Ch07Ch07
Ch07
 
Ch07
Ch07Ch07
Ch07
 
Chapter five HCI
Chapter five HCIChapter five HCI
Chapter five HCI
 
Se lec-uosl-8
Se lec-uosl-8Se lec-uosl-8
Se lec-uosl-8
 

More from amanuel236786

CH-2.2 Developing Project Charter and Baseline Project Plan.ppt
CH-2.2 Developing Project Charter and Baseline Project Plan.pptCH-2.2 Developing Project Charter and Baseline Project Plan.ppt
CH-2.2 Developing Project Charter and Baseline Project Plan.pptamanuel236786
 
CH-2.1 Conceptualizing and Initializing the IT Project.ppt
CH-2.1 Conceptualizing and Initializing the IT Project.pptCH-2.1 Conceptualizing and Initializing the IT Project.ppt
CH-2.1 Conceptualizing and Initializing the IT Project.pptamanuel236786
 
CH 3- The Human Side of Project Management.ppt
CH 3- The Human Side of Project Management.pptCH 3- The Human Side of Project Management.ppt
CH 3- The Human Side of Project Management.pptamanuel236786
 
Chapter 4 Product and Service Design.pptx
Chapter 4 Product and Service Design.pptxChapter 4 Product and Service Design.pptx
Chapter 4 Product and Service Design.pptxamanuel236786
 
Chapter 4 Product and Service Design.ppt
Chapter 4 Product and Service Design.pptChapter 4 Product and Service Design.ppt
Chapter 4 Product and Service Design.pptamanuel236786
 
CH-1 Introduction to OM.ppt
CH-1 Introduction to OM.pptCH-1 Introduction to OM.ppt
CH-1 Introduction to OM.pptamanuel236786
 
CH 3 Quality management and Control.pptx
CH 3 Quality management and Control.pptxCH 3 Quality management and Control.pptx
CH 3 Quality management and Control.pptxamanuel236786
 
CH 3 Quality management and Control.ppt
CH 3 Quality management and Control.pptCH 3 Quality management and Control.ppt
CH 3 Quality management and Control.pptamanuel236786
 
CH 2 Operations Strategy New 2013.pptx
CH 2 Operations Strategy New 2013.pptxCH 2 Operations Strategy New 2013.pptx
CH 2 Operations Strategy New 2013.pptxamanuel236786
 
Chapter-8 Capacity Planning, Aggregate Planning and Scheduling.pptx
Chapter-8 Capacity Planning, Aggregate Planning and Scheduling.pptxChapter-8 Capacity Planning, Aggregate Planning and Scheduling.pptx
Chapter-8 Capacity Planning, Aggregate Planning and Scheduling.pptxamanuel236786
 
Chapter-7 Job Design and Work Measurement Final.pptx
Chapter-7 Job Design and Work Measurement Final.pptxChapter-7 Job Design and Work Measurement Final.pptx
Chapter-7 Job Design and Work Measurement Final.pptxamanuel236786
 
CHAPTER-6 Facility Location and Layout 1.pptx
CHAPTER-6 Facility Location and Layout 1.pptxCHAPTER-6 Facility Location and Layout 1.pptx
CHAPTER-6 Facility Location and Layout 1.pptxamanuel236786
 
Chapter-5 Process Selection New.pptx
Chapter-5 Process Selection New.pptxChapter-5 Process Selection New.pptx
Chapter-5 Process Selection New.pptxamanuel236786
 
Chapter-4 Product and Service Design.pptx
Chapter-4 Product and Service Design.pptxChapter-4 Product and Service Design.pptx
Chapter-4 Product and Service Design.pptxamanuel236786
 
CH-3 Quality management and Control.pptx
CH-3 Quality management and Control.pptxCH-3 Quality management and Control.pptx
CH-3 Quality management and Control.pptxamanuel236786
 
CH-2 Operations Strategy.pptx
CH-2 Operations Strategy.pptxCH-2 Operations Strategy.pptx
CH-2 Operations Strategy.pptxamanuel236786
 
CH-1 Introduction to OM.pptx
CH-1 Introduction to OM.pptxCH-1 Introduction to OM.pptx
CH-1 Introduction to OM.pptxamanuel236786
 

More from amanuel236786 (20)

Chapter 5(five).pdf
Chapter 5(five).pdfChapter 5(five).pdf
Chapter 5(five).pdf
 
CH-2.2 Developing Project Charter and Baseline Project Plan.ppt
CH-2.2 Developing Project Charter and Baseline Project Plan.pptCH-2.2 Developing Project Charter and Baseline Project Plan.ppt
CH-2.2 Developing Project Charter and Baseline Project Plan.ppt
 
CH-2.1 Conceptualizing and Initializing the IT Project.ppt
CH-2.1 Conceptualizing and Initializing the IT Project.pptCH-2.1 Conceptualizing and Initializing the IT Project.ppt
CH-2.1 Conceptualizing and Initializing the IT Project.ppt
 
CH 3- The Human Side of Project Management.ppt
CH 3- The Human Side of Project Management.pptCH 3- The Human Side of Project Management.ppt
CH 3- The Human Side of Project Management.ppt
 
Chapter 4 Product and Service Design.pptx
Chapter 4 Product and Service Design.pptxChapter 4 Product and Service Design.pptx
Chapter 4 Product and Service Design.pptx
 
Chapter 4 Product and Service Design.ppt
Chapter 4 Product and Service Design.pptChapter 4 Product and Service Design.ppt
Chapter 4 Product and Service Design.ppt
 
CH-1 Introduction to OM.ppt
CH-1 Introduction to OM.pptCH-1 Introduction to OM.ppt
CH-1 Introduction to OM.ppt
 
CH 3 Quality management and Control.pptx
CH 3 Quality management and Control.pptxCH 3 Quality management and Control.pptx
CH 3 Quality management and Control.pptx
 
CH 3 Quality management and Control.ppt
CH 3 Quality management and Control.pptCH 3 Quality management and Control.ppt
CH 3 Quality management and Control.ppt
 
CH 2 Operations Strategy New 2013.pptx
CH 2 Operations Strategy New 2013.pptxCH 2 Operations Strategy New 2013.pptx
CH 2 Operations Strategy New 2013.pptx
 
Chapter-8 Capacity Planning, Aggregate Planning and Scheduling.pptx
Chapter-8 Capacity Planning, Aggregate Planning and Scheduling.pptxChapter-8 Capacity Planning, Aggregate Planning and Scheduling.pptx
Chapter-8 Capacity Planning, Aggregate Planning and Scheduling.pptx
 
Chapter-7 Job Design and Work Measurement Final.pptx
Chapter-7 Job Design and Work Measurement Final.pptxChapter-7 Job Design and Work Measurement Final.pptx
Chapter-7 Job Design and Work Measurement Final.pptx
 
CHAPTER-6 Facility Location and Layout 1.pptx
CHAPTER-6 Facility Location and Layout 1.pptxCHAPTER-6 Facility Location and Layout 1.pptx
CHAPTER-6 Facility Location and Layout 1.pptx
 
Chapter-5 Process Selection New.pptx
Chapter-5 Process Selection New.pptxChapter-5 Process Selection New.pptx
Chapter-5 Process Selection New.pptx
 
Chapter-4 Product and Service Design.pptx
Chapter-4 Product and Service Design.pptxChapter-4 Product and Service Design.pptx
Chapter-4 Product and Service Design.pptx
 
CH-3 Quality management and Control.pptx
CH-3 Quality management and Control.pptxCH-3 Quality management and Control.pptx
CH-3 Quality management and Control.pptx
 
CH-2 Operations Strategy.pptx
CH-2 Operations Strategy.pptxCH-2 Operations Strategy.pptx
CH-2 Operations Strategy.pptx
 
CH-1 Introduction to OM.pptx
CH-1 Introduction to OM.pptxCH-1 Introduction to OM.pptx
CH-1 Introduction to OM.pptx
 
uml.pptx
uml.pptxuml.pptx
uml.pptx
 
Chapter 2.ppt
Chapter 2.pptChapter 2.ppt
Chapter 2.ppt
 

Recently uploaded

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 

Recently uploaded (20)

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 

Lecture 3 OOSE.pdf

  • 1. Object Oriented Software Engineering Yoseph K, Instructor yosefkrs@outlook.com Office Hours: Monday - Saturday 1
  • 2. Lecture 3: Requirement Elicitation, Analysis and Specification ´In this chapter, we will focus on: ´Requirement Elicitations and analysis ´Techniques in requirement elicitation ´Requirement elicitation activities and concepts ´Documentation template 2
  • 3. Requirement ´ Requirement is a necessity or prerequisite which specifies a verifiable constraint on an implementation of a system. ´ Requirement is a feature that the system must have or a constraint that it must satisfy to be accepted by the client. ´ Requirement engineering can be described into two distinct ways. ´ Requirements elicitation : ´ Focuses on describing the purpose of the system. ´ Definition of the system in terms understood by the customer ´ Requirements specification ´ Requirements analysis : ´ results into an analysis model which developers can interpret ´ Definition of the system in terms understood by the developer ´ Technical specification 3
  • 4. Techniques to elicit Requirements ´ The following below provide tools for requirement elicitation. ´ Questionnaires: Asking end user a list of pre-selected questions ´ Task Analysis: Observing end users in their operational environment ´ Interview: official face to face meeting with customers ´ Scenarios: describes an example of system use in terms of a series of interactions between the user and the system. ´ Use case: is an abstraction that describes a class of scenarios. 4
  • 5. An overview of requirements elicitation ´ Requirements elicitation focuses on describing the purpose of the system. ´ The client, the developers, and the users identify a problem area and define a system that addresses the problem. ´ Such a definition is called a system specification and serves as a contract between the client and the developers. ´ The system specification is structured and formalized during analysis to produce an analysis model. ´ Both system specification and analysis model represent the same information. They differ only in the language and notation they use. ´ The system specification is written in natural language, where as the analysis model is usually expressed in a formal or semiformal notation. ´ The system specification supports the communication with the client and users. ´ The analysis model supports the communication among developers. 5
  • 6. Cont’d ´ Requirements elicitation and analysis focus only on the user’s view of the system: ´ The system functionality. ´ The interaction between the user and the system. ´ The errors that the system can detect and handle. 6
  • 7. Requirements elicitation activities: ´ The following are part of the requirement elicitation activities. ´ Identifying actors- During this activity, developers identify the different types of users the future system will support. ´ Identifying scenarios- developers observe users and develop a set of detailed scenarios for typical functionality provided by the future system. ´ Identifying use cases- Once developers and users agree on a set of scenarios, developers derive from the scenarios a set of use cases that completely represent the future system. ´ Refining use cases- developers ensure that the system specification is complete, by detailing each use case and describing the behaviour of the system in the presence of errors and exceptional conditions. ´ Identifying relationships among use cases- developers combine the use case model by eliminating redundancies. This ensures that the system specification is consistent. ´ Identifying non-functionalrequirements- developers, users, and clients agree on aspects that are visible to the user but not directly related to functionality. 7
  • 8. Scenario-Based Design ´ A scenario is a concrete, focused, informal description of a single feature of the system from the viewpoint of a single actor. ´ Simply, we can define a scenario as an instance of a use case. ´ Scenarios and use cases provide tools for bridging this gap. A scenario describes an example of system use in terms of a series of interactions between the user and the system. A use case is an abstraction that describes a class of scenarios. Both scenarios and use cases are written in natural language, a form that is understandable to the user. ´ Scenarios can have many different uses during requirements elicitation and during other activities of the life cycle. ´ Below is a selected number of scenario types : ´ As-is scenarios describe the current situation. ´ Visionary scenarios describe the future system. ´ Evaluation scenarios describe user tasks against which the system is to be evaluated. ´ Training scenarios are tutorials used for introducing new users to the system. 8
  • 9. Requirements elicitation concepts ´ In this section, we describe the main requirements elicitation concepts we use in this chapter. In particular, we describe: ´ Functional requirements ´ Non-functional requirements ´ Pseudo requirements (Constraints) ´ Correctness, completeness, consistency, clarity and realism. ´ Greenfield engineering, reengineering, and interface engineering 9
  • 10. Functional requirements ´ Describe the interactions between the system and its environment independent of its implementation. ´ The environment includes the user and any other external system with which the system interacts. Non-Functional requirements Ø Describe user-visible aspects of the system that are not directly related with the functional behavior of the system. Ø Nonfunctional requirements include quantitative constraints, such as response time (i.e., how fast the system reacts to user commands) or accuracy (i.e., how precise are the system’s numerical answers). 10
  • 11. § Pseudo Requirements: § Are requirements imposed by the client that restrict the implementation of the system. § Typical pseudo requirements are the implementation language and the platform on which the system is to be implemented. § Pseudo requirements have usually no direct effect on the users’ view of the system. 11
  • 12. Basic terminologies in Requirement specification qRequirementsSpecifications should be: ü Complete: - All possible scenarios in the system are described ü Consistent: It doesn’t contradict it self, implies fault tolerance. ü Clear: - System is exactly defined. It is should be unambiguous. ü Correct: - It represents accurately the system that the client needs and that developments intended to build. ü Realistic: - The system can be implemented within constraints. ü Verifiable: - Once the system is built, repeatable test can be designed to demonstrate that the system fulfills the requirement ü Traceable: - each system function can be traced to its corresponding set of requirements. 12
  • 13. 13
  • 14. Requirements Analysis Document Template ´ Introduction ´ Current system ´ Proposed system ´ Overview ´ Functional requirements ´ Nonfunctional requirements ´ Constraints (pseudo requirements) ´ System models ´Scenarios ´Use case model ´Object model ´Data dictionary ´Class diagrams ´Dynamic models ´User interface ´ Glossary 14
  • 15. An overview of Design Concepts ´ Analysis ´ Focus on understanding the problem (Idealized design) ´ Focus on Behavior and system structure ´ Functional requirements and for a small model ´ Design ´ Focus on understanding the solution ´ Operations and Attributes (performance) ´ Close to real code and object lifecycles ´ Non-functional requirements and a large model 15
  • 16. Types of design concepts ´ Abstraction: ´ Abstraction refers to the act of representing essential features without including the background details. ´ The abstraction concept is usually used during analysis and design: ´ i.e deciding only with application domain, not making implementation decision. ´ Divide a single problem to many simple sub-tasks. ´ collect essential elements composing to a compound data ´ Information hiding (Encapsulation) ´ Packaging related data and operations together ´ It hides the internal data from external by methods (interface). 16
  • 17. Cont’d ´ Cohesion ´ It is the strength of dependencies within a subsystem/module. ´ A measure of functional strength; strive for high cohesion ´ If a subsystem contains many objects that are related to each other and perform similar tasks, its coherenceis high. ´ If a subsystem contains a number of unrelated objects, its coherenceis low. ´ A desirable property of subsystem decomposition is that it leads to subsystems with high coherence. 17
  • 18. Cont’d ´ Coupling ´ Coupling is the degree of interaction between modules/subsystems ´ The term coupling refers to the act of joining things together, such as the links of a chain. ´ In the software world, coupling typically refers to the degree to which software components depend upon each other. ´ There are different types of coupling architectures. ´ Tightly coupling ´ Loosely coupling 18