guidelines and natural language problem Flashcards
Requirements are written as natural language sentences supplemented by diagrams and tables. What is the importance of using natural language sentences in the requirements?
Because natural language is expressive and universal. This means that the requirements can be understood by users and customers
What are the problems of using natural language sentences in the requirements?
a) Lack of clarity Precision is difficult without making the document difficult to read.
b) Requirements confusion Functional and non-functional requirements tend to be mixed-up.
c) Requirements amalgamation different requirements may be expressed together.
What are the guidelines for writing requirements?
- Invent a standard format and use it for all requirements.
- Use language in a consistent way.
- Use text highlighting to identify key parts of the requirement.
- Avoid the use of computer jargon.
- Include an explanation (rationale) of why a requirement is necessary.
What is the structured specification?
An approach to writing requirements where the freedom of the requirements writer is limited and requirements are written in a standard way.
This works well for some types of requirements e.g. requirements for embedded control system
What is the form-based specification?
Definition of the function or entity.
Description of inputs and where they come from.
Description of outputs and where they go to.
Information about the information needed for the computation and other
entities used.
Description of the action to be taken.
Pre and post conditions .
The side effects of the function.