Docsity

Software Requirements: Understanding the Types, Levels, and Development Process, Slides of Software Development Methodologies

Partial preview of the text

Download Software Requirements: Understanding the Types, Levels, and Development Process and more Slides Software Development Methodologies in PDF only on Docsity!

Software Construction &

Development

Week # 2

Software Requirements Engineering

Requirement

  • Something required, something wanted or needed
    • E.g. “choose the type of furniture that suits your requirements best”
  • a thing that is compulsory; a necessary condition. E.g.
    • “Applicant must secure 60% marks in FSc to get admission in BS Software Engineering”
    • “Applicant must have to appear in ETEA Engineering test”

Software Requirements - 2

  • A complete description of what the software system will do without describing how it will do it is represented by the software requirements

Software Requirements – 3

  • Software requirements may be:
    • Abstract statements of services and/or constraints
    • Detailed mathematical functions
  • Software requirements may be:
    • Part of the bid of contract
    • The contract itself
    • Part of the technical document, which describes a product

Sources of Requirements

  • Stakeholders
    • an individual, group, or organization, who may affect, be affected by, or perceive itself to be affected by a decision, activity, or outcome of a project
    • People affected in some way by the system
  • Documents (SRS, User Manuals, any other document related to the project)
  • Existing system
  • Domain/business area (Environment)

Importance of Software Requirements

  • “The hardest single part of building a software system is deciding precisely what to build. No other part of the conceptual work is as difficult as establishing the detailed technical requirements, including all the interfaces to people, to machines, and to other software systems. No other part of the work so cripples the resulting system if done wrong. No other part is more difficult to rectify later.” Frederick Brooks

Examples of Requirements - 2

  • The system’s user interface shall be implemented using a web browser
  • The system shall support at least twenty transactions per second
  • The system facilities which are available to public users shall be demonstrable in ten minutes or less.

Levels and Types of Requirements

  • Software requirements include three distinct levels:
  1. business requirements
  2. user requirements
  3. functional requirements.
  • In addition, every system has an assortment of nonfunctional requirements.
  • The Figure in next slide illustrates a way to think about these diverse types of requirements.

Business requirement

  • Business requirements describe why the organization is implementing the system
  • The focus is on the business objectives of the organization or the customer who requests the system.
  • Business requirements are recorded in a vision and scope document.
  • Suppose “an airline wants to reduce airport counter staff costs by 25 percent”. - This goal might lead to the idea of building a kiosk that passengers can use to check in for their flights at the airport.

User requirements

  • A goal or task that specific classes of users must be able to perform with a system
  • User requirements describe goals or tasks the users must be able to perform with the product that will provide value to someone.
  • The domain of user requirements also includes descriptions of product attributes or characteristics that are important to user satisfaction.
  • Ways to represent user requirements include use cases and user stories. - An example of a use case is “Check in for a flight” using an airline’s website or a kiosk at the airport. - Written as a user story , the same user requirement might read: “As a passenger, I want to check in for a flight so I can board my airplane.”

Functional requirements- 2

  • Functional requirements are documented in a software requirements specification (SRS), which describes as fully as necessary the expected behavior of the software system. The SRS is used in development, testing, quality assurance, project management, and related project functions.
  • Functional requirements should be complete and consistent.
  • Incomplete and ambiguous requirements are open to multiple interpretations and assumptions
  • This can lead to the development of poor quality, or faulty, software products.

Functional Requirements Examples ❖The system shall solve a quadratic equation using the following formula x = (-b+sqrt(b 2

  • 4ac))/2*a ❖The user shall be able to search either the entire database of patients or select a subset from it (admitted patients, or patients effected with Covid-19, etc.) ❖The Passenger shall be able to print boarding passes for all flight segments for which he has checked in ❖Every order shall be allocated a unique identifier (ORDER_ID) which the user shall use to access that order

Nonfunctional requirement- 2

  • They are often more critical than individual functional requirements
  • Failure to meet a non-functional system requirement may make the whole system unusable
  • For example, if an aircraft system does not meet reliability requirements, it will not be certified as ‘safe’
  • If a real-time control system fails to meet its performance requirements, the control functions will not operate correctly

Nonfunctional requirement- 3

  • Performance defines how fast a software system or its particular piece responds to certain users’ actions under certain workload
  • Scalability assesses the highest workloads under which the system will still meet the performance requirements.
  • Usability. How easy is it for a customer to use the system?
  • Security. How are the system and its data protected against attacks?
  • Availability. how much time is it available to users against downtimes?
  • Reliability. How often does the system experience critical failures?
  • Compatibility. What are the minimum hardware requirements? What operating systems and their versions must be supported?
  • Maintainability. How much time does it take to fix components?