Soen 341 Exam Test Bank 2024 | All Exam Questions And Correct Answers |
Already Graded A+ | Verified Answers | Latest Version (All That Is Needed
In One Document)
What are the key qualities of a REQUIREMENT? - (CORRECT ANSWER)- It must be properly DEFINED.
- It can be MODELLED (at least for functional reqs).
What is "Natural Language" regarding requirements? - (CORRECT ANSWER)- It is used for writing
requirements
- Requirement = natural language + diagrams + tables
- Writing requirements this way allows it to be understood by both users and customers
Ex:
The system shall measure the blood sugar and deliver insulin, if required, every 10 minutes. (Changes in
blood sugar are relatively slow so more frequent measurement is unnecessary; less frequent
measurement could lead to unnecessarily high sugar levels.)
What are the advantages of "Natural Language"? - (CORRECT ANSWER)- well-established practice (been
used forever)
- flexible (requirement is easy to write out)
What are the disadvantages of "Natural Language"? - (CORRECT ANSWER)- lack of clarity (more precise =
harder to read the document)
- requirement confusion (functional and non-functional requirements get mixed up)
- requirements amalgamation (several different requirements may be expressed together)
What is "Structured Text" regarding requirements? - (CORRECT ANSWER)- A way of writing
requirements where:
1. the writer's freedom is limited
2. requirements are written in a standard way
1
, - Works for SOME types of requirements (good for embedded control systems, not good for business
systems)
Ex1:
ID: REQ-1
-Function: Generate drug reports
-Description: Generates monthly management reports showing the cost of drugs prescribed by each
clinic.
-Inputs: Clinical prescription data for the month
-Outputs: Prescription reports
Ex2:
-Action: On the last working day of each month, a summary of the drugs prescribed, their cost and the
prescribing clinics shall be generated
-Requires: Prescription data for the month
-Precondition: At least one prescription has been filled
-Postcondition: Reports have been generated
-Side effects: None
Advantages of "Structured Text" - (CORRECT ANSWER)- uniformity (common structure, while still being
somewhat flexible), though keep in mind it can still be ambiguous
Where do we usually use requirements in agile software development? - (CORRECT ANSWER)In user
stories!
What are user stories, and what is the template like? - (CORRECT ANSWER)Short, simple description of a
feature/goal told from a perspective of a person who desires the new feature.
2
Already Graded A+ | Verified Answers | Latest Version (All That Is Needed
In One Document)
What are the key qualities of a REQUIREMENT? - (CORRECT ANSWER)- It must be properly DEFINED.
- It can be MODELLED (at least for functional reqs).
What is "Natural Language" regarding requirements? - (CORRECT ANSWER)- It is used for writing
requirements
- Requirement = natural language + diagrams + tables
- Writing requirements this way allows it to be understood by both users and customers
Ex:
The system shall measure the blood sugar and deliver insulin, if required, every 10 minutes. (Changes in
blood sugar are relatively slow so more frequent measurement is unnecessary; less frequent
measurement could lead to unnecessarily high sugar levels.)
What are the advantages of "Natural Language"? - (CORRECT ANSWER)- well-established practice (been
used forever)
- flexible (requirement is easy to write out)
What are the disadvantages of "Natural Language"? - (CORRECT ANSWER)- lack of clarity (more precise =
harder to read the document)
- requirement confusion (functional and non-functional requirements get mixed up)
- requirements amalgamation (several different requirements may be expressed together)
What is "Structured Text" regarding requirements? - (CORRECT ANSWER)- A way of writing
requirements where:
1. the writer's freedom is limited
2. requirements are written in a standard way
1
, - Works for SOME types of requirements (good for embedded control systems, not good for business
systems)
Ex1:
ID: REQ-1
-Function: Generate drug reports
-Description: Generates monthly management reports showing the cost of drugs prescribed by each
clinic.
-Inputs: Clinical prescription data for the month
-Outputs: Prescription reports
Ex2:
-Action: On the last working day of each month, a summary of the drugs prescribed, their cost and the
prescribing clinics shall be generated
-Requires: Prescription data for the month
-Precondition: At least one prescription has been filled
-Postcondition: Reports have been generated
-Side effects: None
Advantages of "Structured Text" - (CORRECT ANSWER)- uniformity (common structure, while still being
somewhat flexible), though keep in mind it can still be ambiguous
Where do we usually use requirements in agile software development? - (CORRECT ANSWER)In user
stories!
What are user stories, and what is the template like? - (CORRECT ANSWER)Short, simple description of a
feature/goal told from a perspective of a person who desires the new feature.
2