Unit 2: Requirements and project management
Software Engineering notes · PTU syllabus (UGCC2514)
On this page
Unit summary
Most software failures come from unclear requirements or poor project management. This unit covers functional and non-functional requirements, the requirements engineering process, risk management with the RMMM plan, software pricing, project scheduling, agile planning and estimation techniques.
After this unit you can
- Distinguish functional and non-functional requirements and write an SRS
- Explain elicitation, analysis, validation and management of requirements
- Identify, project and mitigate risks using an RMMM plan
- Schedule a project and estimate effort and cost
PTU syllabus topics
- Functional and non-functional requirements
- requirements specification and engineering processes
- elicitation
- analysis
- validation and management
- risk strategies
- identification
- projection
- refinement
- RMMM plan
- software pricing
- plan-driven development
- project scheduling
- agile planning
- estimation techniques
Topic 1
Functional and non-functional requirements
Describes
What the system must do
How well it must do it
Examples
"Student can register for a course"; "System generates a fee receipt"
Response under 2 seconds; 99.9% availability; data encrypted
Testing
Tested by functional tests
Tested by performance, security, usability tests
A Software Requirements Specification (SRS) documents all requirements. A good SRS is correct, unambiguous, complete, consistent, verifiable, modifiable and traceable.
Example
For an ATM: "The system shall dispense cash after a valid PIN" is functional. "A transaction shall finish within 30 seconds", "The system shall be available 99.9% of the time" and "The PIN shall be encrypted" are non-functional.
Topic 2
Requirements engineering process
- 1
Inception
Understand the problem and stakeholders
- 2
Elicitation
Interviews, questionnaires, observation, workshops, use cases
- 3
Analysis and negotiation
Resolve conflicts, prioritise
- 4
Specification
Write the SRS
- 5
Validation
Reviews, prototypes, test-case generation
- 6
Management
Track changes with traceability
Exam tip
Requirements must be validated with the customer before design — fixing a requirement error after delivery can cost many times more than fixing it early.
Example
Seven tasks, briefly: inception (understand the problem), elicitation (interview users), elaboration (build models), negotiation (settle conflicts between users), specification (write the SRS), validation (review it with the customer) and management (control changes).
Topic 3
Risk management and the RMMM plan
A risk is a potential problem that may or may not happen. Types: project risks (budget, schedule, staff), technical risks (design, technology) and business risks (market, management support).
- Reactive strategy: fix problems after they happen. Proactive strategy: identify and plan for risks in advance.
- Risk projection estimates each risk's probability and impact; risk exposure = probability × cost.
- RMMM plan — Mitigation, Monitoring and Management: reduce the chance of the risk, watch for warning signs, and have a contingency plan ready.
Example
Risk: a key developer may leave (probability 30%). Mitigation: pair programming and documentation; monitoring: team morale; management: a trained backup developer.
Example
Risk exposure: a project has two risks. Risk A — the client changes requirements late (probability 40%, cost ₹5,00,000): exposure = 0.4 × 5,00,000 = ₹2,00,000. Risk B — the test server fails (probability 10%, cost ₹3,00,000): exposure = ₹30,000. Manage Risk A first, since its exposure is almost seven times larger.
Topic 4
Pricing, scheduling and agile planning
- Software pricing depends on effort cost, market opportunity, contractual terms, requirement volatility and financial health — price is not just cost.
- Plan-driven development: a detailed plan with milestones and deliverables made at the start.
- Project scheduling: break work into tasks, estimate durations, identify dependencies, and show them in Gantt charts and activity networks (PERT/CPM). The critical path is the longest path and decides the project duration.
- Agile planning: release planning and iteration (sprint) planning based on user stories and the team's velocity.
Example
Critical path: tasks — A (3 days, no predecessor), B (4 days, after A), C (2 days, after A), D (3 days, after B and C). Path A–B–D = 3 + 4 + 3 = 10 days; path A–C–D = 3 + 2 + 3 = 8 days. The critical path is A–B–D, 10 days; any delay in A, B or D delays the project, while C has 2 days of float.
Topic 5
Estimation techniques
Basic COCOMO: Effort = a(KLOC)^b person-months; organic (2.4, 1.05), semi-detached (3.0, 1.12), embedded (3.6, 1.20)
| Technique | How it works |
|---|---|
| Lines of code (LOC) | Estimate size in KLOC, then effort per KLOC |
| Function points (FP) | Count inputs, outputs, inquiries, files and interfaces, weighted for complexity |
| COCOMO | Effort = a × (KLOC)ᵇ person-months; organic, semi-detached, embedded modes |
| Expert judgement / Delphi | Experts estimate independently, then converge |
| Story points (agile) | Relative size of user stories; planning poker |
Example
Function point count (simple weights): a student-registration system has 5 external inputs (×4), 4 external outputs (×5), 3 inquiries (×4), 2 internal files (×10) and 1 external interface (×7). Unadjusted FP = 5×4 + 4×5 + 3×4 + 2×10 + 1×7 = 20 + 20 + 12 + 20 + 7 = 79. If a team delivers 10 FP a month, the estimate is about 8 months of effort.
Exam tip
With COCOMO, remember the shape: effort grows faster than size (the exponent is above 1) — doubling the code more than doubles the effort. The three modes — organic, semi-detached and embedded — differ in team experience and constraints.
Example
Basic COCOMO, organic mode: Effort = 2.4 × (KLOC)^1.05. For 10 KLOC, Effort ≈ 2.4 × 11.2 ≈ 27 person-months.
Key terms
- SRS
- Software Requirements Specification document
- Elicitation
- Gathering requirements from stakeholders
- RMMM
- Risk mitigation, monitoring and management plan
- Critical path
- The longest path of dependent tasks in a schedule
- Function point
- A measure of software size based on functionality
Quick revision
- Functional = what; non-functional = how well.
- RE: inception, elicitation, analysis, specification, validation, management.
- Risk exposure = probability × impact cost.
- COCOMO: Effort = a(KLOC)ᵇ.
Important exam questions
Practice questions written to the PTU exam pattern for this unit's syllabus: short answers (Section A style) and long answers (Sections B and C style).
Short-answer questions
- Q1.Differentiate between functional and non-functional requirements.
- Q2.List the characteristics of a good SRS.
- Q3.What is requirements elicitation?
- Q4.What is an RMMM plan?
- Q5.What is the critical path?
- Q6.Name three software estimation techniques.
Long-answer questions
- Q1.Explain the requirements engineering process in detail.
- Q2.Explain risk management, including risk identification, projection and the RMMM plan.
- Q3.Explain project scheduling and the use of Gantt charts and activity networks.
- Q4.Explain software estimation techniques including function points and COCOMO.
Stuck on this unit?
Message SBS on WhatsApp for help with Software Engineering, or to ask about studying BCA at Synetic.
