Download - Chapter2 bag1
![Page 1: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/1.jpg)
Faculty of Engineering - Universitas Indonesia
Electrical Engineering Department
Requirement Engineering Requirement Engineering (part 1)(part 1)
Prof. Dr.-Ing. Kalamullah Ramli
![Page 2: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/2.jpg)
2Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
Requirement Study
o Requirement are ubiquitous part of our lives
o Understand the requirement through communication
o Communication Problem?• People are hard to understand!
![Page 3: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/3.jpg)
Human Nature
3Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 4: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/4.jpg)
4Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
Change is Constant
o What makes the change?
• Human nature
• Society
• Organization
• Competitors
o DESIGN: shooting at moving target!
![Page 5: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/5.jpg)
5Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
Why Requirement Study?
o Limitation of the designers
o Motivation
o Reduce the total cost
o How far shall we make the requirement analysis?
![Page 6: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/6.jpg)
Failure of Requirement Analysis
o The penalty of getting Requirement
Engineering (RE) wrong is high
o Even the system did not fall, user is sub-
optimal and design costs are wasted
6Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 7: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/7.jpg)
Cases of Failure in RE
o How much library functions do you use?
o New software development (less than
30% in the market)
o How much mobile phone functions did
you use?
o .....
7Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 8: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/8.jpg)
Analysis Methods
o System analysis – top down
decomposition
o Establish goal/functions representation
in, e.g., data flow diagrams
o Quick and dirty methods
8Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 9: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/9.jpg)
Obstacles to RE
o Tacit knowledge
o Ambiguity
o Attitude and opinions
9Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 10: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/10.jpg)
Three Dimensions
10Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 11: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/11.jpg)
Four Worlds Framework
11Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 12: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/12.jpg)
User Requirements Framework
o User Context and Early Design
o Prototype and User Test
o User requirements documentation
12Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 13: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/13.jpg)
Users’ Limitation
o Users do not have clear vision of what
they want
o Goal can be fuzzy
o Do not know what is technical possibility
o But,once they get, they can see how it
can be improved .... or they simply do
not like it �
13Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 14: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/14.jpg)
Requirement Types and Pathway
o High level functions, towards the final
goal
o Detail functions
o How functions should work
o Constraint on system operation
o Statement about performance
o Implementation constraints
14Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 15: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/15.jpg)
Requirement Types and Pathway
o Functional requirements
• The goals
o Non functional requirements (NFR)
• Quality
• Performance
• Environment issues
• Cost
• Time
15Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 16: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/16.jpg)
Constraints
o > are conditions or laws that the system
will have to obey during operation or
during design
• Human cognitive
• Physical
• Environmental
• Costs
• Legal
16Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 17: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/17.jpg)
User Requirements Documentation
o General system characteristics
o Organizational structure
o Tasks scenario and interaction steps
o Technical environment
o System functions and features
o User interface design
o User support
o Physical environment
17Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 18: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/18.jpg)
User Requirements Documentation
o Social and organizational
environment
o Standards and styleguides to apply
o Test plan
18Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 19: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/19.jpg)
Documentation
o Natural language?
o Technical language?
o Long, dense text?
19Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 20: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/20.jpg)
Documentation
o Structure standards (IEEE 830, Mazza et
al 1994)
• Natural language, but short and avoid
ambiguity
• Structured, defined items
• Management tools for diagram
• Categorize stakeholders and different
requirements
20Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 21: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/21.jpg)
User Context and Early Design
o Identify users and stakeholders, and
their characteristics
o Describe technical/physical/social and
organization environment
o Review: current process, similar systems
and products
o Perform expert review of design
21Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 22: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/22.jpg)
RE Tasks and Processes
o No “cook book”, but “roadmap”
o Dynamically: pre-design and within
design process
o Common methods:
• Interview
• Observation
• Questionnaires
• Text and document analysis
o Set Scope and Bainstoming
22Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 23: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/23.jpg)
User Requirement Methods
o Functionality Matrix
o Storyboarding
o Task analysis
o Task allocation
23Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 24: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/24.jpg)
Functionality Matrix
o This method is useful when the number
of possible function is high
24Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 25: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/25.jpg)
Goal Analysis
o Goal hierarchy and decomposition
• e.g. Final goal: Increase customers’
satisfaction
• Reduce processing time for constraint
• Improve personal service in ordering
• Reduce lead time for delivery
25Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 26: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/26.jpg)
Events Analysis
o Outcome is to scope the system in terms of
its input, output, and major functions
o Object oriented: focus on event
o Event process chains
• Where does the output from the process go to?
• What process or fuction is responsible for
responding to this even?
• Who or what is the destination of this even and
why do they want it?
• Input-Process-Output (IPO) charts
26Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 27: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/27.jpg)
Modeling
o Analysis + Modeling = elaborate
requirements
o Different methods
• Semantic model
• Conceptual model
• Process/information flows
• Data flow diagram
• Data structures
• Entity Relationship
27Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 28: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/28.jpg)
Faculty of Engineering - Universitas Indonesia
Electrical Engineering Department
Requirement Engineering Requirement Engineering (part 2)(part 2)
Kalamullah Ramli
![Page 29: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/29.jpg)
Basic Objectives of RA
29Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
o To delineate the data requirements of the enterprise in terms of basic data elements
o To describe the information about the data elements, and the relationships among them needed to model these data requirements
o To determine the types of transactions that are intended to be executed on the database, and the interaction between the transactions and the data elements
![Page 30: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/30.jpg)
Basic Objectives of RA
30Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
o To define any performance, integrity, security, or administrative constraints that must be imposed on the resulting database
o To specify any design and implementation constraints, such as specific technologies, hardware and software, programming languages, policies, standards, or external interfaces
o To thoroughly document all of the proceeding in a detailed requirement specificationo Data element can also be defined in a data dictionary system, often provided as an integral part of the database management system
![Page 31: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/31.jpg)
31Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
i* Family of Model
![Page 32: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/32.jpg)
Validation
32Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
o User’s understanding of the requirement specification
o User agree that it accurately reflect their wishes
o Different prototypes and scenario are normally used
![Page 33: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/33.jpg)
33Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
Verification
o Requirement specification behaves correctly and does not violate any of the laws specified by the users
![Page 34: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/34.jpg)
34Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
Boundary
o The system built behaves correctly (verification)
o The system output makes sens to the user (validation)
o However, boundary can be blurred
![Page 35: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/35.jpg)
Balance the Requirements
o Different stakeholders have different
requirements
o Trade-off analysis methods, decision
making table, models, relationship maps,
etc
35Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 36: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/36.jpg)
Conduct Negotiation
o Structure options and choices
o Establish judgment criteria
o Explain the options
o Vote?
o Diagnose the cause of disagreement
36Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 37: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/37.jpg)
Conflicts
o Probably due to lack of shared understanding
• Handling personal attach – steering sensitive
topics away from them
• Blocking: challenge those who said: “it won’t
work ...”, “it can’t be done .... “
• Trade-off between NFR
• Test Assumptions
• Benefit Analysis
37Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 38: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/38.jpg)
Trade-off Between NFR
o Quality vs Delivery time
o Cost vs Development time
o Security vs Access
o Functional vs Usability,
Complexity Reliability, and
Maintainability
38Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 39: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/39.jpg)
Functional Allocation
39Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
o Automated or Manual
o Management Level
o Operational Level
o Some Guidelines
• Machine: repetitive processing, high
volume data processing, monitoring,
deterministic tasks
• Human: recognition, reasoning, flexible,
problem solving, non-deterministic tasks
and unpredicted events
![Page 40: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/40.jpg)
Initial Pathways and Scoping for Requirements
o Policy-, or business-driven
o Problem-initiated
o Technical Driven
o External Environment
40Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 41: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/41.jpg)
Policy-, or Business-Driven
o Business, social-economical theories
o Williamson 1980 theory: predict the
type of organizational relationship
according to the goods that a customer
wants to acauire from a supplier
o Top-down decomposition
41Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 42: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/42.jpg)
Problem-initiated
o Existing system has problem
o Event-based analysis
• Event-tree analysis
• Failure mode-event analysis
• Cause-effect net
o Model-based analysis
42Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 43: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/43.jpg)
Technical-driven
o User’s immediate goals is often to
acquire new technology
o User’s work goal analysis
o Fit the new technology with existing
system
o Demon the functions of the new
technical
43Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 44: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/44.jpg)
44Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
Applications & Technology Factors
![Page 45: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/45.jpg)
External Environment
o NFR
• Safety
• Security
• Accessibility
• Usability
o Market
45Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 46: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/46.jpg)
Conversation
o Rasmussen’s Framework (1986)
Communication is generally an
automatic and hence skilled process so
it is prone to slip- and lapse- error in
failure to listen and poor generation
46Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 47: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/47.jpg)
Conversation
o Discourse theory (Clark 1996)
• People communicate to establish and
achieve shared goals
• Motivated by purpose
• Cylce of exchanges
• Common ground of understanding
o Discourse: is the branch of linguistics
that investigates how meaning is
derived in context
47Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia
![Page 48: Chapter2 bag1](https://reader033.vdocuments.us/reader033/viewer/2022052310/554beb72b4c9055a368b4e75/html5/thumbnails/48.jpg)
Conversation and Context
o Meaning is often constructed by the
context of conversation
• Role of speakers
• Place
• Time
o Shared belief
o Shared externally perceivable entities
48Electrical Engineering Dept.– Faculty of Engineering, Universitas Indonesia