SlideShare una empresa de Scribd logo
1 de 54
Types of requirement

•   User requirements
•   System requirements
•   Domain requirements
•   Functional requirements
•   Non-functional requirements
Types of requirement

• User requirements
  – Statements in natural language plus diagrams of the
    services the system provides and its operational constraints.
    Written for customers
• System requirements
  – A structured document setting out detailed descriptions of
    the system services. Written as a contract between client
    and contractor
• Software specification
  – A detailed software description which can serve as a basis
    for a design or implementation. Written for developers
Functional and non-functional
requirements

• Domain requirements
  – Requirements that come from the application domain of
    the system and that reflect characteristics of that
    domain
• Functional requirements
  – Statements of services the system should provide, how
    the system should react to particular inputs and how the
    system should behave in particular situations.
• Non-functional requirements
  – constraints on the services or functions offered by the
    system such as timing constraints, constraints on the
    development process, standards, etc.
What are User requirements
User requirements


• Should describe functional and non-
  functional requirements so that they are
  understandable by system users who don’t
  have detailed technical knowledge

• User requirements are defined using natural
  language, tables and diagrams
What are System requirements
System requirements

– More detailed specifications of user requirements
• Serve as a basis for designing the system
• May be used as part of the system contract
• System requirements may be expressed using
  system models
What are Domain requirements
Domain requirements

• Derived from the application domain and
  describe system characteristics and features
  that reflect the domain

• May be new functional requirements, constraints
  on existing requirements or define specific
  computations
• If domain requirements are not satisfied, the
  system may be unworkable
What is Functional Requirement
Functional Requirements

  Describe functionality or system services
• Depend on the type of software, expected users
  and the type of system where the software is used
• Functional user requirements may be high-
  level statements of what the system should do
  BUT functional system requirements should
  describe the system services in detail
Types of Non-functional requirement
Non-functional requirement
types
                                                     Non-functional
                                                      requirements




                              Product                Organizational                    External
                           requirements               requirements                   requirements




          Efficiency        Reliability      Portability        Interoperability        Ethical
         requirements      requirements     requirements         requirements        requirements




  Usability                            Delivery      Implementation         Standards        Legislative
requirements                         requirements     requirements        requirements      requirements




Performance          Space                                                   Privacy           Safety
requirements      requirements                                            requirements      requirements
Non-functional classifications

• Product requirements
  – Requirements which specify that the delivered product
    must behave in a particular way e.g. execution speed,
    reliability, etc.
• Organisational requirements
  – Requirements which are a consequence of
    organisational policies and procedures e.g. process
    standards used, implementation requirements, etc.
• External requirements
  – Requirements which arise from factors which are external
    to the system and its development process e.g.
    interoperability requirements, legislative requirements,
    etc.
Features of Non-Functional
Requirements

1. Non-Functional requirements mostly define
   the overall attributes of the “resulting”
   system.
IEEE Standard 830 – 1993


•    List of 13 non-functional requirements:

    1.    Performance
    2.    Interface
                                              Examples?
    3.    Operational
    4.    Resource
    5.    Verification
    6.    Acceptance
    7.    Documentation
    8.    Security
    9.    Portability
    10.   Quality
    11.   Reliability
    12.   Maintainability
    13.   Safety
                            Some of these also overlap - - - - - -
IEEE Standard 830 – 1993


•    List of 13 non-functional requirements Examples:

    1.    Performance: 100 transactions per minute
    2.    Interface: capable of importing data with EDI format
    3.    Operational: must not require more than 1 megabyte of main memory
    4.    Resource: will use wireless encryption algorithm that is “better” than WEP
    5.    Verification: all data updates must be traceable
    6.    Acceptance: must pass a user defined system test bucket
    7.    Documentation: user manual is needed for novice users only
    8.    Security: user request to access any data must be authorized first
    9.    Portability: the system must operate with “any” relational db systems
    10.   Quality: the system must install with zero defect
    11.   Reliability: the system must be accessible 99.9 % of the time
    12.   Maintainability: the system must be modifiable (e.g. designed with exits)
    13.   Safety: the system must not perform “chemical material discard” functions
          without “explicit” user authorization.
     There may be others that are important such as meeting legal standards that
     Is not mentioned in this list
Difficulties in Specifying
Non-functional Requirements
Difficulties in Specifying
Non-functional Requirements


•   The difficulties in gathering Non-Functional Requirements may be
    attributed to many reasons - - - - - mostly because people tend to
    focus on the functions and services that they need:

    – Certain non-functional requirements are sometimes hard to quantify
      and therefore hard to express without some “trial and error
      prototyping”.
        • e.g. : usability
    – Certain non-functional requirements are hard to differentiate between
      functional and non-functional
        • e.g. security
    – Certain non-functional requirements are difficult to specify because
                                                                    similar
      they can not be well understood or validated until much later
        • e.g. reliability or quality
    – Certain non-functional requirements may be conflicting
        • e.g. performance .vs. security .vs. reliability
    – Certain non-functional requirements may be difficult to express and
      validate; may require more refinements.
What are“Critical” Systems
“Critical” Systems


• Critical systems are systems whose failure
  causes significant economic, human or
  organizational damage:

  – Business Critical System
     • e-commerce systems such as stock trading, reservations,
       etc.
  – Mission Critical System
     • Aircraft control, manufacturing process control, etc.
  – Safety (life) Critical system
     • Medical Device control, hazardous materials management,
       etc.
Requirements for System Criticality
Requirements for System Criticality


• Most of the requirements for these “business,”
  “mission,” and “safety” criticality deals with non-
  functional requirements of the a) “complete” system, not
  just software and b) may be expressed in general ways
  that need to be decomposed further:

   –   Performance
   –   Reliability
   –   Security
   –   Usability
   –   Safety
        Again, these may be “conflicting” - - - - so what do you do?

        Must prioritize the requirements, especially when there are conflicts
Performance Related Requirements
Performance Related Requirements


• These requirements mostly addresses the
  constraints of speed and sometimes capacity:

  – System Response time to end-user such as 1 second
    response to user requests
  – System throughput such as # of transactions per
    minute (time interval)
  – System timing such as collection of data and
    responding to it within sub-second for real-time
    system.
  – System capacity such as number of simultaneous
    users that may access an application (instantaneous
    time)
         These should be specified quantitatively.
Reliability Related Requirements
Reliability Related Requirements


• These requirements addresses constraints on
  run-time behavior of the system:
  – System Availability such as the system is up certain
    percentage of the time.
  – System Failure rate such as average mean time
    between system failures to deliver the user service.




         These should also be specified quantitatively.
Security Related Requirements
Security Related Requirements


• These requirements addresses the issues
  related to unauthorized access: to the system, to
  specific function, to data:
  – System Access protection such as firewall
    requirement
  – Application Functional Access & Usage protection
    such as authorization and authentication requirement
  – Data Access and Usage protection such as
    authorization and encryption requirement


        Security is also an important factor for other requirement such
        as safety. A little hard to specify these quantitatively.
Usability Related Requirements
Usability Related Requirements


• These requirements addresses the user interface looks
  and user inter-actions with the system
   – Entry and beginners-level knowledge assumption to use the
     system
   – Learning time and experience needed such as hours or number
     of lessons to learn the system
   – Handling and usage such as time to complete certain tasks or
     number of errors made before completing certain tasks
   – Likeness and delight experienced from using the system such
     as availability of context sensitive help text or “re-do” capability




      Some of these requirements can be and should be specified
      Quantitatively; delight and likeness are a bit hard to define.
Safety Critical System Requirements
Safety Critical System Requirements


• These requirements addresses everything with
  the safety of the system and of the usage of the
  system.
• These requirements deal mostly with the “shall
  not” requirements such as:
  – The system shall not allow - - - -
  – The system will not operate without - - -
   Note that safety may be dependent on many of the other requirements:

    - insecure system may be open to malicious danger
    - unreliable system may fail unpredictably and hurt someone
    - non-responsive system may miss critical data and damage something
    - difficult to use system may create a critical human error
Requirements measures
Requirements measures

   Property      Measure
   Speed         Processed transactions/second
                 User/Event response time
                 Screen refresh time
   Size          K Bytes
                 Number of RAM chips
   Ease of use   T raining time
                 Number of help frames
   Reliability   Mean time to failure
                 Probability of unavailability
                 Rate of failure occurrence
                 Availability
   Robustness    T ime to restart after failure
                 Percentage of events causing failure
                 Probability of data corruption on failure
   Portability   Percentage of target dependent statements
                 Number of target systems
Relationship Between Requirement
and Design
Requirements and design

• In principle, requirements should state what the
  system should do and the design should describe
  how it does this
• In practice, requirements and design are inseparable
  – A system architecture may be designed to structure the
    requirements
  – The system may inter-operate with other systems that
    generate design requirements
  – The use of a specific design may be a domain requirement
Relationships between user
needs, concerns and NFRs
Relationships between user
needs, concerns and NFRs

User’s need                User’s concern         Non-functional
                                                     requirement
Function      1. Ease of use                      1. Usability
              2. Unauthorised access              2. Security
              3. Likelihood of failure            3. Reliability
Performance   1. Resource utilisation             1. Efficiency
              2. Performance verification         2.
              3. Ease of interfacing              Verifiability
                                                  3. Interoperability
Change        1. Ease of repair                   1. Maintainability
              2. Ease of change                   2. Flexibility
              3. Ease of transport ?              3. Portability
              4. Ease of expanding or upgrading   4. Expandability
                 capacity or performance ?
Concern decomposition
       S
       a
       f
       et
        y                Ci
                         ob
                         m
                         py
                          a
                          tt
                          il
                           i


             Pl
             e
             rs
              on
               a           Se
                           o
                           f
                           tw
                            a
                            r   P
                                h
                                y
                                si
                                 c
                                 al
 C
 o
 ln
 l
 i
 si
  o    Dt
       ee
       r n
       a
       il
        m             H
                      ae
                      rr
                      d
                      wa
             an
             ct
             ci
              d
              e


                      En T
                      x
                      e
                      cu
                       t
                       io i g If
                          m n
                           i
                           n  tc
                               e
                               r
                               ae
  Ee
  xp
   c e
   e d
   ss
    s
          Tm
          rd
          a a
          c g
           k e
           a          E e
                      n n
                      v t
                      im
                       r
                       o
                       n
  f ans
  o ci
  r kt
   t on
   r d
    c i
      o

          Wt a
           h ri b
           a mu
           to n
            i a o
            n ot
            f           Wm
                         i ri ee
                         l e nt
                         lq t c
                          ar a
                            u f
                             e f
Sme
y ub
s s l
 t
 e ta
 m bt
    eo
          tkgqb
          rd i uy
          am i
           c ar r
            a s e
              eed       t e af
                        ho ee
                        e r ch
                         p n
                          rfm ot
d n ds
e de
t aoe
 e ax
 c vc
 t  i s
          ts ? i i
          h mt
           e
           y Hs
            s o
            t
            e wsh       e ga
                        xs r
                         i o?
                         s fe
                         t t
                          i w
                          n
s
p
ee
 d
          pd
          re
           o
           v
           i?
           d
                           Du te
                           o qe d
                            e i n
                            s r n
                             a e e
                              r m
                              e
                 Smt tt e
                 y uc h d
                 s s ue
                 te t
                  m e r
                    e i
                     x nu
                     e  st
Ut d
n a is
d ci
 e on
 rwt
   h o
     n                     d t' v
                           a ia l
                            ta a
                            as i e
                             t nl
                             ht ab
                 At en
                 d u ve
                 a in n
                  e or t
                  xn m
                  ec  i
                      o
cc eu
ae es
ns d
 esc
 xp e
   s  a                    tu Ha
                           h t Sf
                           rh Tc
                            o e ir ?
                             gh nt e
                                 e
de
en
r t
a?
 i
 l
 m

    Wc ee r y
    hse eae
    a ' s d ia
    te s ' nl
    does m i
       xp   n?
             t       Cu b
                     a ft e
                     nn
                      t c
                      h i
                       i
                       s o
                         n
                     p den
                     r e ht
                     oo x
                      vn i
                      i
                      dt s
                         e g
                     eien
                     xno ?
                     e n e
                      c vn
                      u im
                      tor t
How to write requirements:
Guidelines for writing requirements
• Invent a standard format and use it for all
  requirements
• Use language in a consistent way. Use
  shall for mandatory requirements,
  should for desirable requirements
• Use text highlighting to identify key parts of the
  requirement

Avoid the use of computer jargon !!!
Problems with natural language
Problems with natural language
• Lack of clarity
  – Precision is difficult without making the document difficult
    to read
• Requirements confusion
  – Functional and non-functional requirements tend to be
    mixed-up
• Requirements combination
  – Several different requirements may be expressed together
Alternatives to NL specification
Alternatives to NL specification
Notation         Description
Structured       This approach depends on defining standard forms or
natural          templates to express the requirements specification.
language
Design           This approach uses a language like a programming
description      language but with more abstract features to specify the
languages        requirements by defining an operational model of the
                 system.
Graphical        A graphical language, supplemented by text annotations is
notations        used to define the functional requirements for the system.
                 An early example of such a graphical language was SADT
                 (Ross, 1977; Schoman and Ross, 1977). More recently,
                 use-case descriptions (Jacobsen, Christerson et al., 1993)
                 have been used. I discuss these in the following chapter.
Mathematical      These are notations based on mathematical concepts
specifications   such as finite-state machines or sets. These unambiguous
                 specifications reduce the arguments between customer
                 and contractor about system functionality. However, most
                 customers don’t understand formal specifications and are
                 reluctant to accept it as a system contract. I discuss formal
                 specification in Chapter 9.
What is Requirement Document
The requirements document
• The requirements document is the official
  statement of what is required of the system
  developers

• Should include both a definition and a
  specification of requirements

• It is NOT a design document. As far as
  possible, it should set of WHAT the system
  should do rather than HOW it should do it
Users of a requirements document
S e if th r q i e e t a d
                  p c y e e u mns n
                               r
                 r a t e t c e k a th y
                  e d h mo h c th t e
S s m u t mr
 y te c so e s   me t ern e s T e
                   e t h i e d. h y
                 s e i yc a g stot e
                  p cf h n e      h
                 r q ie e t
                  e ur mns


                 Ueth r q ir mn
                  s   e e u e e ts
   Mn g r
    a a es       d c mn t p nab f r
                  o u e t o la    id o
                 th s se a dt p nt e
                   e y t m n o la h
                 s s m e eo mn p o e s
                  y te d v l p e t r c s


                 Ueth r q ir mn t
                  s    e e u e e ts o
Ss mni er
y te e gn e s    u d r t n wa s se ist
                  n e sa d h t y t m o
                 b dv l pd
                  e e eo e



  S s me t
   y te t s       Ueth r q ir mn t
                   s    e e u e e ts o
  e gn e s
   ni er          d v l pv li aio t ssf r
                   e eo a d t n e t o
                  th s se
                    e yt m

                                               Users of a
   Ss m
    y te         Ueth r q ir mn t h lp
                  s    e e u e e ts o e      requirements
 mi t n n e
  ane a c        u d r t n t es s m n
                  n esa d h y te a d
                 th r laio s i sb t e ni
                   e e t n hp ewe ts
                                               document
  e gn e s
   ni er
                 pr
                  ats
Requirements document requirements
Requirements document requirements
• Specify external system behaviour
• Specify implementation constraints
• Easy to change
• Serve as reference tool for maintenance
• Record forethought about the life cycle of the
  system i.e. predict changes
• Characterise responses to unexpected events
IEEE requirements standard
•   Introduction
•   General description
•   Specific requirements
•   Appendices
•   Index
•   This is a generic structure that must be
    instantiated for specific systems
Requirements document structure
•   Introduction
•   Glossary
•   User requirements definition
•   System architecture
•   System requirements specification
•   System models
•   System evolution
•   Appendices
•   Index

Más contenido relacionado

La actualidad más candente

Ch4-Software Engineering 9
Ch4-Software Engineering 9Ch4-Software Engineering 9
Ch4-Software Engineering 9Ian Sommerville
 
Requirement Engineering
Requirement EngineeringRequirement Engineering
Requirement EngineeringMubashir Yasin
 
Software Quality Attributes
Software Quality AttributesSoftware Quality Attributes
Software Quality AttributesHayim Makabee
 
6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt
6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt
6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.pptPedadaSaikumar
 
IT ELECT 4 NETWORK SECURITY LECTURE 6-5-13
IT ELECT 4 NETWORK SECURITY LECTURE 6-5-13IT ELECT 4 NETWORK SECURITY LECTURE 6-5-13
IT ELECT 4 NETWORK SECURITY LECTURE 6-5-13Jd Mercado
 
Non-functional requirements
Non-functional requirements Non-functional requirements
Non-functional requirements Rohela Raouf
 
SharePoint for Pharma - Computer System Life Cycle Management
SharePoint for Pharma - Computer System Life Cycle ManagementSharePoint for Pharma - Computer System Life Cycle Management
SharePoint for Pharma - Computer System Life Cycle ManagementMontrium
 
Non functional performance requirements v2.2
Non functional performance requirements v2.2Non functional performance requirements v2.2
Non functional performance requirements v2.2Ian McDonald
 
1 sqa and testing concepts
1 sqa and testing concepts1 sqa and testing concepts
1 sqa and testing conceptssulaimanr85
 
Requirements engineering scenario based software requirement specification
Requirements engineering scenario based software requirement specificationRequirements engineering scenario based software requirement specification
Requirements engineering scenario based software requirement specificationWolfgang Kuchinke
 
04 fse understandingrequirements
04 fse understandingrequirements04 fse understandingrequirements
04 fse understandingrequirementsMohesh Chandran
 
Executing Validation of GxP Systems Electronically using SharePoint
Executing Validation of GxP Systems Electronically using SharePointExecuting Validation of GxP Systems Electronically using SharePoint
Executing Validation of GxP Systems Electronically using SharePointMontrium
 
Software Requirements (3rd Edition) summary
Software Requirements (3rd Edition) summarySoftware Requirements (3rd Edition) summary
Software Requirements (3rd Edition) summaryAhmed Kamel Taha
 
Validating SharePoint for Regulated Life Sciences Applications
Validating SharePoint for Regulated Life Sciences ApplicationsValidating SharePoint for Regulated Life Sciences Applications
Validating SharePoint for Regulated Life Sciences ApplicationsMontrium
 
User Requirements Specification Linda Doll
User Requirements Specification Linda DollUser Requirements Specification Linda Doll
User Requirements Specification Linda DollLinda Doll
 

La actualidad más candente (20)

Ch4-Software Engineering 9
Ch4-Software Engineering 9Ch4-Software Engineering 9
Ch4-Software Engineering 9
 
Requirement Engineering
Requirement EngineeringRequirement Engineering
Requirement Engineering
 
Software Quality Attributes
Software Quality AttributesSoftware Quality Attributes
Software Quality Attributes
 
6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt
6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt
6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt
 
IT ELECT 4 NETWORK SECURITY LECTURE 6-5-13
IT ELECT 4 NETWORK SECURITY LECTURE 6-5-13IT ELECT 4 NETWORK SECURITY LECTURE 6-5-13
IT ELECT 4 NETWORK SECURITY LECTURE 6-5-13
 
Requirement Engineering
Requirement EngineeringRequirement Engineering
Requirement Engineering
 
Non-functional requirements
Non-functional requirements Non-functional requirements
Non-functional requirements
 
SharePoint for Pharma - Computer System Life Cycle Management
SharePoint for Pharma - Computer System Life Cycle ManagementSharePoint for Pharma - Computer System Life Cycle Management
SharePoint for Pharma - Computer System Life Cycle Management
 
Non functional performance requirements v2.2
Non functional performance requirements v2.2Non functional performance requirements v2.2
Non functional performance requirements v2.2
 
1 sqa and testing concepts
1 sqa and testing concepts1 sqa and testing concepts
1 sqa and testing concepts
 
Requirements engineering scenario based software requirement specification
Requirements engineering scenario based software requirement specificationRequirements engineering scenario based software requirement specification
Requirements engineering scenario based software requirement specification
 
04 fse understandingrequirements
04 fse understandingrequirements04 fse understandingrequirements
04 fse understandingrequirements
 
When Requirements Change
When Requirements ChangeWhen Requirements Change
When Requirements Change
 
Executing Validation of GxP Systems Electronically using SharePoint
Executing Validation of GxP Systems Electronically using SharePointExecuting Validation of GxP Systems Electronically using SharePoint
Executing Validation of GxP Systems Electronically using SharePoint
 
Software Requirements (3rd Edition) summary
Software Requirements (3rd Edition) summarySoftware Requirements (3rd Edition) summary
Software Requirements (3rd Edition) summary
 
Validating SharePoint for Regulated Life Sciences Applications
Validating SharePoint for Regulated Life Sciences ApplicationsValidating SharePoint for Regulated Life Sciences Applications
Validating SharePoint for Regulated Life Sciences Applications
 
Requirements engineering
Requirements engineeringRequirements engineering
Requirements engineering
 
Pm 6 testing
Pm 6 testingPm 6 testing
Pm 6 testing
 
Se lec 4
Se lec 4Se lec 4
Se lec 4
 
User Requirements Specification Linda Doll
User Requirements Specification Linda DollUser Requirements Specification Linda Doll
User Requirements Specification Linda Doll
 

Destacado

Software Quality and Testing_Se lect18 btech
Software Quality and Testing_Se lect18 btechSoftware Quality and Testing_Se lect18 btech
Software Quality and Testing_Se lect18 btechIIITA
 
Se lect13 btech
Se lect13 btechSe lect13 btech
Se lect13 btechIIITA
 
Software Production Layout_Se lect7 btech
Software Production Layout_Se lect7 btechSoftware Production Layout_Se lect7 btech
Software Production Layout_Se lect7 btechIIITA
 
Se lect1 btech
Se lect1 btechSe lect1 btech
Se lect1 btechIIITA
 
Software Evolution_Se lect2 btech
Software Evolution_Se lect2 btechSoftware Evolution_Se lect2 btech
Software Evolution_Se lect2 btechIIITA
 
Software Process Model_Se lect4 btech
Software Process Model_Se lect4 btechSoftware Process Model_Se lect4 btech
Software Process Model_Se lect4 btechIIITA
 
Software PROJECT MANAGEMENT_Se lect10 btech
Software PROJECT MANAGEMENT_Se lect10 btechSoftware PROJECT MANAGEMENT_Se lect10 btech
Software PROJECT MANAGEMENT_Se lect10 btechIIITA
 
Mse july13 (1/3)
Mse july13 (1/3)Mse july13 (1/3)
Mse july13 (1/3)IIITA
 
Design dbms
Design dbmsDesign dbms
Design dbmsIIITA
 
Patent search from product specification final
Patent search from product specification finalPatent search from product specification final
Patent search from product specification finalIIITA
 
Software Design_Se lect16 btech
Software Design_Se lect16 btechSoftware Design_Se lect16 btech
Software Design_Se lect16 btechIIITA
 
Se lect14 btech
Se lect14 btechSe lect14 btech
Se lect14 btechIIITA
 
Mse sept13 (3/3)
Mse sept13 (3/3)Mse sept13 (3/3)
Mse sept13 (3/3)IIITA
 
CASE tools_Se lect15 btech
CASE tools_Se lect15 btechCASE tools_Se lect15 btech
CASE tools_Se lect15 btechIIITA
 

Destacado (15)

Software Quality and Testing_Se lect18 btech
Software Quality and Testing_Se lect18 btechSoftware Quality and Testing_Se lect18 btech
Software Quality and Testing_Se lect18 btech
 
Se lect13 btech
Se lect13 btechSe lect13 btech
Se lect13 btech
 
Software Production Layout_Se lect7 btech
Software Production Layout_Se lect7 btechSoftware Production Layout_Se lect7 btech
Software Production Layout_Se lect7 btech
 
Se lect1 btech
Se lect1 btechSe lect1 btech
Se lect1 btech
 
Software Evolution_Se lect2 btech
Software Evolution_Se lect2 btechSoftware Evolution_Se lect2 btech
Software Evolution_Se lect2 btech
 
Lista de verbos para la ruta
Lista de verbos para la rutaLista de verbos para la ruta
Lista de verbos para la ruta
 
Software Process Model_Se lect4 btech
Software Process Model_Se lect4 btechSoftware Process Model_Se lect4 btech
Software Process Model_Se lect4 btech
 
Software PROJECT MANAGEMENT_Se lect10 btech
Software PROJECT MANAGEMENT_Se lect10 btechSoftware PROJECT MANAGEMENT_Se lect10 btech
Software PROJECT MANAGEMENT_Se lect10 btech
 
Mse july13 (1/3)
Mse july13 (1/3)Mse july13 (1/3)
Mse july13 (1/3)
 
Design dbms
Design dbmsDesign dbms
Design dbms
 
Patent search from product specification final
Patent search from product specification finalPatent search from product specification final
Patent search from product specification final
 
Software Design_Se lect16 btech
Software Design_Se lect16 btechSoftware Design_Se lect16 btech
Software Design_Se lect16 btech
 
Se lect14 btech
Se lect14 btechSe lect14 btech
Se lect14 btech
 
Mse sept13 (3/3)
Mse sept13 (3/3)Mse sept13 (3/3)
Mse sept13 (3/3)
 
CASE tools_Se lect15 btech
CASE tools_Se lect15 btechCASE tools_Se lect15 btech
CASE tools_Se lect15 btech
 

Similar a Se lect9 btech

Software architecture 2
Software architecture 2Software architecture 2
Software architecture 2Ahmad Zee
 
Software requirement and specification
Software requirement and specificationSoftware requirement and specification
Software requirement and specificationAman Adhikari
 
Software requirement and specification
Software requirement and specificationSoftware requirement and specification
Software requirement and specificationAman Adhikari
 
1 Software Requirements Descriptions and specification.docx
1 Software Requirements Descriptions and specification.docx1 Software Requirements Descriptions and specification.docx
1 Software Requirements Descriptions and specification.docxjeremylockett77
 
Software Engineering : Requirement Analysis & Specification
Software Engineering : Requirement Analysis & SpecificationSoftware Engineering : Requirement Analysis & Specification
Software Engineering : Requirement Analysis & SpecificationAjit Nayak
 
Software engineering lecture 1
Software engineering  lecture 1Software engineering  lecture 1
Software engineering lecture 1JusperKato
 
SE Unit 2(1).pptx
SE Unit 2(1).pptxSE Unit 2(1).pptx
SE Unit 2(1).pptxaryan631999
 
2nd MODULE Software Requirements _ SW ENGG 22CSE141.pdf
2nd MODULE  Software Requirements   _ SW ENGG  22CSE141.pdf2nd MODULE  Software Requirements   _ SW ENGG  22CSE141.pdf
2nd MODULE Software Requirements _ SW ENGG 22CSE141.pdfJayanthi Kannan MK
 
Lecture 5 Types of Requirements I.pptx
Lecture 5 Types of Requirements I.pptxLecture 5 Types of Requirements I.pptx
Lecture 5 Types of Requirements I.pptxICDANGER
 
INTRODUCTION to software engineering requirements specifications
INTRODUCTION to software engineering requirements specificationsINTRODUCTION to software engineering requirements specifications
INTRODUCTION to software engineering requirements specificationskylan2
 
Requirements Engineering
Requirements EngineeringRequirements Engineering
Requirements EngineeringHuda Alameen
 
Non functional requirements. do we really care…?
Non functional requirements. do we really care…?Non functional requirements. do we really care…?
Non functional requirements. do we really care…?OSSCube
 
CS8494 SOFTWARE ENGINEERING Unit-2
CS8494 SOFTWARE ENGINEERING Unit-2CS8494 SOFTWARE ENGINEERING Unit-2
CS8494 SOFTWARE ENGINEERING Unit-2SIMONTHOMAS S
 
Requirements engineering
Requirements engineeringRequirements engineering
Requirements engineeringSutha31
 
Ch 2 types of reqirement
Ch 2  types of reqirementCh 2  types of reqirement
Ch 2 types of reqirementFish Abe
 
Non Functional Requirement.
Non Functional Requirement.Non Functional Requirement.
Non Functional Requirement.Khushboo Shaukat
 
8 requirements engineering1
8 requirements engineering18 requirements engineering1
8 requirements engineering1Lilia Sfaxi
 

Similar a Se lect9 btech (20)

Software architecture 2
Software architecture 2Software architecture 2
Software architecture 2
 
Software requirement and specification
Software requirement and specificationSoftware requirement and specification
Software requirement and specification
 
Software requirement and specification
Software requirement and specificationSoftware requirement and specification
Software requirement and specification
 
1 Software Requirements Descriptions and specification.docx
1 Software Requirements Descriptions and specification.docx1 Software Requirements Descriptions and specification.docx
1 Software Requirements Descriptions and specification.docx
 
Srs
SrsSrs
Srs
 
Software Engineering : Requirement Analysis & Specification
Software Engineering : Requirement Analysis & SpecificationSoftware Engineering : Requirement Analysis & Specification
Software Engineering : Requirement Analysis & Specification
 
Software engineering lecture 1
Software engineering  lecture 1Software engineering  lecture 1
Software engineering lecture 1
 
SE Unit 2(1).pptx
SE Unit 2(1).pptxSE Unit 2(1).pptx
SE Unit 2(1).pptx
 
2nd MODULE Software Requirements _ SW ENGG 22CSE141.pdf
2nd MODULE  Software Requirements   _ SW ENGG  22CSE141.pdf2nd MODULE  Software Requirements   _ SW ENGG  22CSE141.pdf
2nd MODULE Software Requirements _ SW ENGG 22CSE141.pdf
 
Lecture 5 Types of Requirements I.pptx
Lecture 5 Types of Requirements I.pptxLecture 5 Types of Requirements I.pptx
Lecture 5 Types of Requirements I.pptx
 
INTRODUCTION to software engineering requirements specifications
INTRODUCTION to software engineering requirements specificationsINTRODUCTION to software engineering requirements specifications
INTRODUCTION to software engineering requirements specifications
 
Requirements Engineering
Requirements EngineeringRequirements Engineering
Requirements Engineering
 
Non functional requirements. do we really care…?
Non functional requirements. do we really care…?Non functional requirements. do we really care…?
Non functional requirements. do we really care…?
 
SE UNIT 2.pdf
SE UNIT 2.pdfSE UNIT 2.pdf
SE UNIT 2.pdf
 
CS8494 SOFTWARE ENGINEERING Unit-2
CS8494 SOFTWARE ENGINEERING Unit-2CS8494 SOFTWARE ENGINEERING Unit-2
CS8494 SOFTWARE ENGINEERING Unit-2
 
Requirements engineering
Requirements engineeringRequirements engineering
Requirements engineering
 
Ch 2 types of reqirement
Ch 2  types of reqirementCh 2  types of reqirement
Ch 2 types of reqirement
 
Non Functional Requirement.
Non Functional Requirement.Non Functional Requirement.
Non Functional Requirement.
 
8 requirements engineering1
8 requirements engineering18 requirements engineering1
8 requirements engineering1
 
Software Requirements engineering
Software Requirements engineeringSoftware Requirements engineering
Software Requirements engineering
 

Último

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
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
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
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
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
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
 
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
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
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
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 

Último (20)

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
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
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
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"
 
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
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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
 
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 ...
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .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...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 

Se lect9 btech

  • 1. Types of requirement • User requirements • System requirements • Domain requirements • Functional requirements • Non-functional requirements
  • 2. Types of requirement • User requirements – Statements in natural language plus diagrams of the services the system provides and its operational constraints. Written for customers • System requirements – A structured document setting out detailed descriptions of the system services. Written as a contract between client and contractor • Software specification – A detailed software description which can serve as a basis for a design or implementation. Written for developers
  • 3. Functional and non-functional requirements • Domain requirements – Requirements that come from the application domain of the system and that reflect characteristics of that domain • Functional requirements – Statements of services the system should provide, how the system should react to particular inputs and how the system should behave in particular situations. • Non-functional requirements – constraints on the services or functions offered by the system such as timing constraints, constraints on the development process, standards, etc.
  • 4. What are User requirements
  • 5. User requirements • Should describe functional and non- functional requirements so that they are understandable by system users who don’t have detailed technical knowledge • User requirements are defined using natural language, tables and diagrams
  • 6. What are System requirements
  • 7. System requirements – More detailed specifications of user requirements • Serve as a basis for designing the system • May be used as part of the system contract • System requirements may be expressed using system models
  • 8. What are Domain requirements
  • 9. Domain requirements • Derived from the application domain and describe system characteristics and features that reflect the domain • May be new functional requirements, constraints on existing requirements or define specific computations • If domain requirements are not satisfied, the system may be unworkable
  • 10. What is Functional Requirement
  • 11. Functional Requirements Describe functionality or system services • Depend on the type of software, expected users and the type of system where the software is used • Functional user requirements may be high- level statements of what the system should do BUT functional system requirements should describe the system services in detail
  • 12. Types of Non-functional requirement
  • 13. Non-functional requirement types Non-functional requirements Product Organizational External requirements requirements requirements Efficiency Reliability Portability Interoperability Ethical requirements requirements requirements requirements requirements Usability Delivery Implementation Standards Legislative requirements requirements requirements requirements requirements Performance Space Privacy Safety requirements requirements requirements requirements
  • 14. Non-functional classifications • Product requirements – Requirements which specify that the delivered product must behave in a particular way e.g. execution speed, reliability, etc. • Organisational requirements – Requirements which are a consequence of organisational policies and procedures e.g. process standards used, implementation requirements, etc. • External requirements – Requirements which arise from factors which are external to the system and its development process e.g. interoperability requirements, legislative requirements, etc.
  • 15. Features of Non-Functional Requirements 1. Non-Functional requirements mostly define the overall attributes of the “resulting” system.
  • 16. IEEE Standard 830 – 1993 • List of 13 non-functional requirements: 1. Performance 2. Interface Examples? 3. Operational 4. Resource 5. Verification 6. Acceptance 7. Documentation 8. Security 9. Portability 10. Quality 11. Reliability 12. Maintainability 13. Safety Some of these also overlap - - - - - -
  • 17. IEEE Standard 830 – 1993 • List of 13 non-functional requirements Examples: 1. Performance: 100 transactions per minute 2. Interface: capable of importing data with EDI format 3. Operational: must not require more than 1 megabyte of main memory 4. Resource: will use wireless encryption algorithm that is “better” than WEP 5. Verification: all data updates must be traceable 6. Acceptance: must pass a user defined system test bucket 7. Documentation: user manual is needed for novice users only 8. Security: user request to access any data must be authorized first 9. Portability: the system must operate with “any” relational db systems 10. Quality: the system must install with zero defect 11. Reliability: the system must be accessible 99.9 % of the time 12. Maintainability: the system must be modifiable (e.g. designed with exits) 13. Safety: the system must not perform “chemical material discard” functions without “explicit” user authorization. There may be others that are important such as meeting legal standards that Is not mentioned in this list
  • 19. Difficulties in Specifying Non-functional Requirements • The difficulties in gathering Non-Functional Requirements may be attributed to many reasons - - - - - mostly because people tend to focus on the functions and services that they need: – Certain non-functional requirements are sometimes hard to quantify and therefore hard to express without some “trial and error prototyping”. • e.g. : usability – Certain non-functional requirements are hard to differentiate between functional and non-functional • e.g. security – Certain non-functional requirements are difficult to specify because similar they can not be well understood or validated until much later • e.g. reliability or quality – Certain non-functional requirements may be conflicting • e.g. performance .vs. security .vs. reliability – Certain non-functional requirements may be difficult to express and validate; may require more refinements.
  • 21. “Critical” Systems • Critical systems are systems whose failure causes significant economic, human or organizational damage: – Business Critical System • e-commerce systems such as stock trading, reservations, etc. – Mission Critical System • Aircraft control, manufacturing process control, etc. – Safety (life) Critical system • Medical Device control, hazardous materials management, etc.
  • 22. Requirements for System Criticality
  • 23. Requirements for System Criticality • Most of the requirements for these “business,” “mission,” and “safety” criticality deals with non- functional requirements of the a) “complete” system, not just software and b) may be expressed in general ways that need to be decomposed further: – Performance – Reliability – Security – Usability – Safety Again, these may be “conflicting” - - - - so what do you do? Must prioritize the requirements, especially when there are conflicts
  • 25. Performance Related Requirements • These requirements mostly addresses the constraints of speed and sometimes capacity: – System Response time to end-user such as 1 second response to user requests – System throughput such as # of transactions per minute (time interval) – System timing such as collection of data and responding to it within sub-second for real-time system. – System capacity such as number of simultaneous users that may access an application (instantaneous time) These should be specified quantitatively.
  • 27. Reliability Related Requirements • These requirements addresses constraints on run-time behavior of the system: – System Availability such as the system is up certain percentage of the time. – System Failure rate such as average mean time between system failures to deliver the user service. These should also be specified quantitatively.
  • 29. Security Related Requirements • These requirements addresses the issues related to unauthorized access: to the system, to specific function, to data: – System Access protection such as firewall requirement – Application Functional Access & Usage protection such as authorization and authentication requirement – Data Access and Usage protection such as authorization and encryption requirement Security is also an important factor for other requirement such as safety. A little hard to specify these quantitatively.
  • 31. Usability Related Requirements • These requirements addresses the user interface looks and user inter-actions with the system – Entry and beginners-level knowledge assumption to use the system – Learning time and experience needed such as hours or number of lessons to learn the system – Handling and usage such as time to complete certain tasks or number of errors made before completing certain tasks – Likeness and delight experienced from using the system such as availability of context sensitive help text or “re-do” capability Some of these requirements can be and should be specified Quantitatively; delight and likeness are a bit hard to define.
  • 32. Safety Critical System Requirements
  • 33. Safety Critical System Requirements • These requirements addresses everything with the safety of the system and of the usage of the system. • These requirements deal mostly with the “shall not” requirements such as: – The system shall not allow - - - - – The system will not operate without - - - Note that safety may be dependent on many of the other requirements: - insecure system may be open to malicious danger - unreliable system may fail unpredictably and hurt someone - non-responsive system may miss critical data and damage something - difficult to use system may create a critical human error
  • 35. Requirements measures Property Measure Speed Processed transactions/second User/Event response time Screen refresh time Size K Bytes Number of RAM chips Ease of use T raining time Number of help frames Reliability Mean time to failure Probability of unavailability Rate of failure occurrence Availability Robustness T ime to restart after failure Percentage of events causing failure Probability of data corruption on failure Portability Percentage of target dependent statements Number of target systems
  • 37. Requirements and design • In principle, requirements should state what the system should do and the design should describe how it does this • In practice, requirements and design are inseparable – A system architecture may be designed to structure the requirements – The system may inter-operate with other systems that generate design requirements – The use of a specific design may be a domain requirement
  • 39. Relationships between user needs, concerns and NFRs User’s need User’s concern Non-functional requirement Function 1. Ease of use 1. Usability 2. Unauthorised access 2. Security 3. Likelihood of failure 3. Reliability Performance 1. Resource utilisation 1. Efficiency 2. Performance verification 2. 3. Ease of interfacing Verifiability 3. Interoperability Change 1. Ease of repair 1. Maintainability 2. Ease of change 2. Flexibility 3. Ease of transport ? 3. Portability 4. Ease of expanding or upgrading 4. Expandability capacity or performance ?
  • 40. Concern decomposition S a f et y Ci ob m py a tt il i Pl e rs on a Se o f tw a r P h y si c al C o ln l i si o Dt ee r n a il m H ae rr d wa an ct ci d e En T x e cu t io i g If m n i n tc e r ae Ee xp c e e d ss s Tm rd a a c g k e a E e n n v t im r o n f ans o ci r kt t on r d c i o Wt a h ri b a mu to n i a o n ot f Wm i ri ee l e nt lq t c ar a u f e f Sme y ub s s l t e ta m bt eo tkgqb rd i uy am i c ar r a s e eed t e af ho ee e r ch p n rfm ot d n ds e de t aoe e ax c vc t i s ts ? i i h mt e y Hs s o t e wsh e ga xs r i o? s fe t t i w n s p ee d pd re o v i? d Du te o qe d e i n s r n a e e r m e Smt tt e y uc h d s s ue te t m e r e i x nu e st Ut d n a is d ci e on rwt h o n d t' v a ia l ta a as i e t nl ht ab At en d u ve a in n e or t xn m ec i o cc eu ae es ns d esc xp e s a tu Ha h t Sf rh Tc o e ir ? gh nt e e de en r t a? i l m Wc ee r y hse eae a ' s d ia te s ' nl does m i xp n? t Cu b a ft e nn t c h i i s o n p den r e ht oo x vn i i dt s e g eien xno ? e n e c vn u im tor t
  • 41. How to write requirements:
  • 42. Guidelines for writing requirements • Invent a standard format and use it for all requirements • Use language in a consistent way. Use shall for mandatory requirements, should for desirable requirements • Use text highlighting to identify key parts of the requirement Avoid the use of computer jargon !!!
  • 44. Problems with natural language • Lack of clarity – Precision is difficult without making the document difficult to read • Requirements confusion – Functional and non-functional requirements tend to be mixed-up • Requirements combination – Several different requirements may be expressed together
  • 45. Alternatives to NL specification
  • 46. Alternatives to NL specification Notation Description Structured This approach depends on defining standard forms or natural templates to express the requirements specification. language Design This approach uses a language like a programming description language but with more abstract features to specify the languages requirements by defining an operational model of the system. Graphical A graphical language, supplemented by text annotations is notations used to define the functional requirements for the system. An early example of such a graphical language was SADT (Ross, 1977; Schoman and Ross, 1977). More recently, use-case descriptions (Jacobsen, Christerson et al., 1993) have been used. I discuss these in the following chapter. Mathematical These are notations based on mathematical concepts specifications such as finite-state machines or sets. These unambiguous specifications reduce the arguments between customer and contractor about system functionality. However, most customers don’t understand formal specifications and are reluctant to accept it as a system contract. I discuss formal specification in Chapter 9.
  • 48. The requirements document • The requirements document is the official statement of what is required of the system developers • Should include both a definition and a specification of requirements • It is NOT a design document. As far as possible, it should set of WHAT the system should do rather than HOW it should do it
  • 49. Users of a requirements document
  • 50. S e if th r q i e e t a d p c y e e u mns n r r a t e t c e k a th y e d h mo h c th t e S s m u t mr y te c so e s me t ern e s T e e t h i e d. h y s e i yc a g stot e p cf h n e h r q ie e t e ur mns Ueth r q ir mn s e e u e e ts Mn g r a a es d c mn t p nab f r o u e t o la id o th s se a dt p nt e e y t m n o la h s s m e eo mn p o e s y te d v l p e t r c s Ueth r q ir mn t s e e u e e ts o Ss mni er y te e gn e s u d r t n wa s se ist n e sa d h t y t m o b dv l pd e e eo e S s me t y te t s Ueth r q ir mn t s e e u e e ts o e gn e s ni er d v l pv li aio t ssf r e eo a d t n e t o th s se e yt m Users of a Ss m y te Ueth r q ir mn t h lp s e e u e e ts o e requirements mi t n n e ane a c u d r t n t es s m n n esa d h y te a d th r laio s i sb t e ni e e t n hp ewe ts document e gn e s ni er pr ats
  • 52. Requirements document requirements • Specify external system behaviour • Specify implementation constraints • Easy to change • Serve as reference tool for maintenance • Record forethought about the life cycle of the system i.e. predict changes • Characterise responses to unexpected events
  • 53. IEEE requirements standard • Introduction • General description • Specific requirements • Appendices • Index • This is a generic structure that must be instantiated for specific systems
  • 54. Requirements document structure • Introduction • Glossary • User requirements definition • System architecture • System requirements specification • System models • System evolution • Appendices • Index