Docsity

Requirements Engineering and System Modeling, Cheat Sheet of Introduction to Software Engineering

Partial preview of the text

Download Requirements Engineering and System Modeling and more Cheat Sheet Introduction to Software Engineering in PDF only on Docsity!

Chapter 4 – Requirements Engineering Week 3

Topics covered ▪ Functional and non-functional requirements ▪ Requirements engineering processes ▪ Requirements elicitation ▪ Requirements specification ▪ Requirements validation ▪ Requirements change

What is a requirement? ▪ It may range from a high-level abstract statement of a service or of a system constraint to a detailed mathematical functional specification. ▪ This is inevitable as requirements may serve a dual function

  • May be the basis for a bid for a contract - therefore must be open to interpretation;
  • May be the basis for the contract itself - therefore must be defined in detail;
  • Both these statements may be called 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’s functions, services and operational constraints. Defines what should be implemented so may be part of a contract between client and contractor.

Functional and non-functional requirements

Functional and non-functional requirements ▪ Functional requirements

  • Statements of services the system should provide, how the system should react to inputs and how the system should behave in particular situations.
  • In some cases, may also state what the system should not do. ▪ Non-functional requirements
  • Constraints on the services or functions offered by the system such as timing constraints, constraints on the development process, standards, etc.
  • Often apply to the system as a whole rather than individual features or services. Note: Non-functional requirements may be more critical than functional requirements. If these are not met, the system may be useless.

Questions for Discussion Question 2 List at least three types of functional and non- functional requirements – e.g., Mentcare system. Question 1 What is the distinction between functional and non-functional requirements? 2/20/2024 Chapter 4 Requirements Engineering 10

Requirements engineering processes

A spiral view of the requirements engineering process

Requirements elicitation

Problems of requirements elicitation ▪ Stakeholders don’t know what they really want from a computer systems. ▪ Stakeholders' express requirements in their own terms. ▪ Different stakeholders may have conflicting requirements. ▪ Organisational and political factors may influence the system requirements. ▪ The requirements change during the analysis process. New stakeholders may emerge and the business environment may change.

Requirements elicitation process activities ▪ Software engineers work with a range of system stakeholders to find out about the application domain, the services that the system should provide, the required system performance, hardware constraints, other systems, etc. ▪ Stages include:

  • Requirements discovery and understanding,
  • Requirements classification and organization,
  • Requirements prioritization and negotiation,
  • Requirements documentation /specification.

Process activities ▪ Requirements discovery and understanding

  • Interacting with stakeholders to discover their requirements. Domain requirements and documentation are also discovered at this stage. ▪ Requirements classification and organisation
  • Groups related requirements and organises them into coherent clusters. ▪ Requirement prioritisation and negotiation
  • Prioritising requirements and resolving requirements conflicts through negotiation. ▪ Requirements documentation /specification
  • Requirements are documented and input into the next round of the spiral.

Requirements elicitation techniques ▪ Requirements elicitation involves meeting with stakeholders of different kinds to discover information about the proposed system. ▪ You need to spend time understanding how people work, what they produce, how they use other systems, and how they may need to change to accommodate a new system. ▪ There are two fundamental approaches to requirements elicitation:

  • Interviewing, where you talk to people about what they do.
  • Observation or ethnography, where you watch people doing their job to see what artifacts they use, how they use them, and so on.