guidelines and natural language problem Flashcards

1
Q

Requirements are written as natural language sentences supplemented by diagrams and tables. What is the importance of using natural language sentences in the requirements?

A

Because natural language is expressive and universal. This means that the requirements can be understood by users and customers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the problems of using natural language sentences in the requirements?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the guidelines for writing requirements?

A
  • 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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the structured specification?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the form-based specification?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly