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)

  1. What is requirements engineering?
  2. What is a feasibility study?
  3. Name four elicitation techniques.
  4. What is requirements validation?
  5. What are the symbols of a DFD?
  6. What is a data dictionary?
  7. What is an SRS?
  8. Name four characteristics of a good SRS.
  9. What is a function point?
  10. Name the three modes of COCOMO.

Medium Answer Questions (5 marks each)

  1. Explain the requirements engineering process.
  2. Explain the kinds of feasibility.
  3. Explain elicitation and analysis of requirements.
  4. Explain data flow diagrams and the data dictionary.
  5. Explain object-oriented analysis.
  6. Explain the characteristics and structure of an SRS.

Long Answer Questions (15 marks each)

  1. Explain the requirements engineering process, including feasibility, elicitation, validation and management.
  2. Explain structured analysis with DFDs and the data dictionary, and compare it with object-oriented analysis.
  3. Explain the need, characteristics, components and structure of an SRS.
  4. 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