Slide 1

Slide 1 text

jgs CSE 563 Software Requirements and Specification Lecture 03: Concepts II Dr. Javier Gonzalez-Sanchez [email protected] javiergs.engineering.asu.edu | javiergs.com PERALTA 230U Office Hours: By appointment

Slide 2

Slide 2 text

jgs Previously …

Slide 3

Slide 3 text

jgs Spring 2022 | 00000011 Concepts necessities requirements functional requirement non-functional requirement

Slide 4

Slide 4 text

jgs Spring 2022 | 00000011 INVEST in good requirements § Independent – loosely coupled with one another § Negotiable – Stories are what and why , not how ( 99% ). § Valuable – for the customer! § Estimateable – Effort/Cost of design, build, and test. § Small (sized appropriately) § Testable – pass or fail

Slide 5

Slide 5 text

jgs Functional vs Non-Functional

Slide 6

Slide 6 text

jgs Spring 2022 | 00000011 Functional Requirement a) May state what (reactions, behaviours, or services) the system should not do. b) services the system should provide, c) how the system should react to particular inputs, and d) how the system should behave in particular situations.

Slide 7

Slide 7 text

jgs Spring 2022 | 00000011 Examples a) Search option given to user to search from various invoices. b) User should be able to mail a report to management. c) Users can be divided into groups and groups can be given separate rights. d) Move the ghost in the Pac-man video game

Slide 8

Slide 8 text

jgs Javier Gonzalez-Sanchez | SER332 | Spring 2018 | 8 Verbs (& subject) (actions) Careful with adjectives

Slide 9

Slide 9 text

jgs Spring 2022 | 00000011 Examples What about • A video game? • Canvas? • MyASU? • Facebook App? Independent Negotiable Valuable Estimateable Small Testable NOT VERY Small

Slide 10

Slide 10 text

jgs Spring 2022 | 00000011 Functional vs Non-Functional NON-Functional Functional Functional Functional

Slide 11

Slide 11 text

jgs Spring 2022 | 00000011 Non-functional Requirement Non-functional requirements a) Constraints on the services or functions offered by the system, such as Standards to apply, development platform, timing constraints, constraints on the development process, etc. b) Quality attributes, such as performance specifications, robustness, usability, etc.

Slide 12

Slide 12 text

jgs Spring 2022 | 00000011 Types of Non-Functional Requirements

Slide 13

Slide 13 text

jgs Spring 2022 | 00000011 Examples (Quality) Property Measure Speed • Processed transactions/second • User/event response time • Screen refresh time Size • Mbytes • Number of ROM chips Ease of use • Training time • Number of help frames Reliability • Mean time to failure • Probability of unavailability • Rate of failure occurrence • Availability Robustness • Time 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

Slide 14

Slide 14 text

jgs Spring 2022 | 00000011 Examples (Constraints) a) Should comply FERPA regulations. b) Software is developed keeping downward compatibility intact. c) Use Java as programming language

Slide 15

Slide 15 text

jgs Javier Gonzalez-Sanchez | SER332 | Spring 2018 | 15 Adjectives (quality) Careful with verbs + adjectives

Slide 16

Slide 16 text

jgs Spring 2022 | 00000011 Independent Negotiable Valuable Estimateable Small Testable NOT VERY Small Examples (Quality or Constraints) What about • Pac-man? • Canvas? • MyASU?

Slide 17

Slide 17 text

jgs Spring 2022 | 00000011 Homework 01

Slide 18

Slide 18 text

jgs Spring 2022 | 00000011 Questions

Slide 19

Slide 19 text

jgs CSE 563 Software Requirements and Specification Javier Gonzalez-Sanchez, Ph.D. [email protected] Spring 2022 Copyright. These slides can only be used as study material for the class CSE563 at ASU. They cannot be distributed or used for another purpose.