Professional Documents
Culture Documents
Re Introduction PDF
Re Introduction PDF
1
Software Requirements - 4 IEEE Definition
• Domain/business area
• The hardest single part of building a • The system shall maintain records of all
software system is deciding what to payments made to employees on
build...No other part of the work so accounts of salaries, bonuses, travel/daily
cripples the resulting system if done wrong. allowances, medical allowances, etc.
No other part is difficult to rectify later
– Fred Brooks
2
Examples of Requirements - 2 Examples of Requirements - 3
• The system shall interface with the central • The system shall maintain records of all
computer to send daily sales and inventory library materials including books, serials,
data from every retail store newspapers and magazines, video and
audio tapes, reports, collections of
transparencies, CD-ROMs, DVDs, etc.
• The system shall allow users to search for • The system shall support at least twenty
an item by title, author, or by International transactions per second
Standard Book Number
• Functional requirements
• Non-functional requirements
Kinds of Software Requirements • Domain requirements
• Inverse requirements
• Design and implementation constraints
3
Functional Requirements - 1
4
Functional Requirements Example # 2 Functional Requirements Example # 3
• The user shall be able to search either the • The system shall provide appropriate
entire database of patients or select a viewers for the user to read documents in
subset from it (admitted patients, or the document store
patients with asthma, etc.)
• Every order shall be allocated a unique • Notice the level of detail in different
identifier (ORDER_ID) which the user shall requirements described above. Some are
use to access that order very detailed compared to others
• Notice the ambiguity in the requirement, • Notice the ambiguity in the requirement for
which uses the term ‘appropriate viewers’ solving the quadratic equation. The
requirement does not speak about the
• This requirement does not mention the possibility when the value of ‘a’ is zero
formats of documents and types of
viewers, which can be used x = (-b+sqrt(b2 – 4*a*c))/2*a
5
Comments on Examples Requirements problems
• Incomplete and ambiguous requirements • The requirements don’t reflect the real
are open to multiple interpretations and needs of the customer for the system.
assumptions • Requirements are inconsistent and/or
incomplete.
• It is expensive to make changes to
• This can lead to the development of poor requirements after they have been agreed.
quality, or faulty, software products • There are misunderstandings between
customers, those developing the system
requirements and software engineers
developing or maintaining the system.
Summary References