Unit summary
- Requirements engineering has feasibility study, elicitation and analysis, specification, validation and management.
- Feasibility may be technical, economic, operational, schedule or legal.
- Elicitation techniques include interviews, questionnaires, observation, JAD and prototypes.
- Structured analysis uses DFDs and a data dictionary.
- Object-oriented analysis finds classes, attributes, operations and relationships.
- The SRS is the agreement between customer and developer and follows the IEEE 830 structure.
- Size metrics are LOC, Halstead token counts and function points.
- FP = UFP × VAF.
- COCOMO estimates effort and time, with Basic, Intermediate and Detailed forms.
Glossary
| Term | Meaning |
|---|---|
| Baseline | An agreed version of the requirements. |
| Class | A group of objects with common attributes and operations. |
| COCOMO | A model that estimates effort from size. |
| Context diagram | The level 0 DFD of the whole system. |
| Data dictionary | A list of definitions of all data elements. |
| DFD | A diagram of the flow of data in a system. |
| EAF | The effort adjustment factor from cost drivers. |
| Elicitation | Discovering requirements from stakeholders. |
| Feasibility study | A study to decide if a system is worth building. |
| Function point | A language-independent measure of size from user functions. |
| KLOC | Thousands of lines of code. |
| Metric | A quantitative measure of software, process or project. |
| Object | An entity with identity, state and behaviour. |
| Requirement | A condition or capability that the system must meet. |
| SRS | The software requirement specification. |
| Stakeholder | A person or group affected by the system. |
| Token count | A size measure from operators and operands. |
| Traceability | Linking a requirement to design, code and tests. |
| VAF | The value adjustment factor of function points. |
| Validation | Checking that requirements describe the needed system. |
Question bank
Short Answer Questions (2 marks each)
- What is requirements engineering?
- What is a feasibility study?
- Name four elicitation techniques.
- What is requirements validation?
- What are the symbols of a DFD?
- What is a data dictionary?
- What is an SRS?
- Name four characteristics of a good SRS.
- What is a function point?
- Name the three modes of COCOMO.
Medium Answer Questions (5 marks each)
- Explain the requirements engineering process.
- Explain the kinds of feasibility.
- Explain elicitation and analysis of requirements.
- Explain data flow diagrams and the data dictionary.
- Explain object-oriented analysis.
- Explain the characteristics and structure of an SRS.
Long Answer Questions (15 marks each)
- Explain the requirements engineering process, including feasibility, elicitation, validation and management.
- Explain structured analysis with DFDs and the data dictionary, and compare it with object-oriented analysis.
- Explain the need, characteristics, components and structure of an SRS.
- Explain size metrics and the COCOMO models. Estimate the effort for an organic project of 30 KLOC.
Sources
- Official BCA syllabus Advanced Software Engineering, course code 25BCA405DS01, Unit II
