How unit 1 is examined
This unit covers life-cycle and process models, estimation and requirements; Spiral, Requirement Validation and COCOMO/estimation carry the marks.
Software Development Life Cycles
Low weight
Definition. The SDLC is the structured sequence of phases (requirements, design, implementation, testing, deployment, maintenance) through which a software product is planned, built and kept alive.
Key points.
- Requirement analysis collects and documents what the user needs; its deliverable is the SRS.
- Design converts the SRS into architecture and detailed module design; the deliverable is the design document.
- Implementation writes the code module by module; the deliverable is tested source code.
- Testing checks the code against the SRS through unit, integration, system and acceptance tests; the deliverable is a test report.
- Deployment releases the product to the user site, with installation and training.
- Maintenance fixes faults, adapts to change and enhances the product after release.
- The SDLC is needed because a defined order gives control, measurable progress and quality.
Diagram.
Asked: [7 marks] (Jun 2025) Explain the phases of the Software Development Life Cycle (SDLC) in detail.
Waterfall
Not asked since 2022
Definition. The waterfall model is a linear model in which each phase must finish before the next starts, with no going back.
Key points.
- Phases run in fixed order: requirements, design, coding, testing, maintenance.
- Each phase ends with a reviewed document.
- It suits small projects with stable, well-understood requirements.
- Its weakness is that changes are costly and the customer sees the product only at the end.
V-Model
Not asked since 2022
Definition. The V-model is an extension of waterfall in which every development phase is paired with a testing phase (verification on the left, validation on the right).
Key points.
- Requirements pair with acceptance testing, system design with system testing, and module design with unit testing.
- Test plans are written early, alongside each development phase.
- It is disciplined and suits safety-critical work, but it is rigid like waterfall.
Prototype Model
Not asked since 2022
Definition. The prototype model builds a working mock-up of the system first so that users can give feedback and clarify requirements before the real system is built.
Key points.
- Steps: quick requirements, quick design, build prototype, user evaluation, refine, then the final product.
- It reduces requirement misunderstanding and is good when requirements are unclear.
- Risk: users may demand the throw-away prototype as the final product.
Incremental
Not asked since 2022
Definition. The incremental model divides the product into increments, each built through requirements, design, code and test, and delivered in turn.
Key points.
- The first increment is the core product; later ones add features.
- Early delivery gives usable software and feedback sooner.
- It needs good up-front architecture so increments integrate.
Evolutionary
Not asked since 2022
Definition. The evolutionary model develops an initial version, exposes it to the user, and refines it through several versions until the system is acceptable.
Key points.
- Requirements are allowed to change between versions.
- It suits large systems whose requirements are not fully known.
- Weakness: poor structure and hard-to-see progress.
RAD
Low weight
Definition. Rapid Application Development is a high-speed, incremental model that builds the system in 60-90 days using component reuse and parallel, team-wise development.
Key points.
- Business modelling defines the information flow between business functions.
- Data modelling refines this flow into data objects and relations.
- Process modelling turns data objects into functions that add, modify, delete or retrieve them.
- Application generation uses fourth-generation tools and reusable components.
- Testing and turnover is short because reused components are already tested.
- Each major function goes to a separate team working in parallel, so the system must be modular.
- Advantages are fast delivery and reuse; limitations are the need for many skilled people, a modular design and committed users; it suits well-scoped business systems.
Diagram.
Spiral
High weight
Definition. The spiral model is a risk-driven, iterative model in which each loop passes through four quadrants: planning, risk analysis, engineering and customer evaluation.
Diagram.
Spiral versus Incremental.
| Basis | Spiral | Incremental |
|---|---|---|
| Driver | Risk analysis | Feature slices |
| Risk handling | Explicit each loop | Not explicit |
| Flexibility | High, requirements may change | Moderate, plan fixed early |
| Cost | Higher | Lower |
| Delivery | Refined versions of whole product | Working increments added |
| Use | Large, risky, new systems | Well-known needs, early delivery |
Asked: [14 marks] (Jun 2023) Explain how both Waterfall model and Prototyping model can be accommodated in the Spiral Process Model. Asked: [7 marks] (Jun 2023) Explain Spiral model also write advantages and disadvantages of Spiral Model. Asked: [7 marks] (Jun 2025) Compare the Spiral and Incremental models with suitable diagrams.
Project Planning
Not asked since 2022
Definition. Project planning estimates size, effort, cost and schedule, then allocates resources and identifies risks before development starts.
Key points.
- Steps: estimate size, then effort and duration, then staffing and schedule.
- The output is the project plan, used for tracking.
- Plans are revised as facts change.
Metrics for Project Size Estimation
Not asked since 2022
Definition. Size metrics measure how big a project is; the two main ones are Lines of Code (LOC) and Function Points (FP).
Key points.
- LOC counts source lines (often in KLOC); it is simple but language-dependent and known only late.
- FP measures functionality from inputs, outputs, inquiries, files and interfaces, so it is language-independent and usable early.
- $FP = UFP \times VAF$, where UFP is the weighted count and $VAF = 0.65 + 0.01\sum F_i$.
Project Estimation Techniques
Medium weight
Definition. Project estimation predicts the size, effort, time and cost of a project; COCOMO (Boehm) is an empirical model that gives effort from size in KLOC.
Key points.
- Empirical techniques use past data: LOC/FP-based estimation, COCOMO and analogy (compare with a similar past project).
- Heuristic techniques use rules and judgement: expert judgement and the Delphi method, where anonymous experts revise estimates over rounds until they converge.
- COCOMO has three types: Basic (size only), Intermediate (adds 15 cost drivers) and Detailed (applies drivers phase-wise, per module).
- Organic projects are small teams, familiar work; Semidetached is mixed; Embedded has tight hardware and operational constraints.
- Merits: quick and repeatable; limitations: results depend on the accuracy of size and calibration.
Formula. Basic COCOMO: $E = a(KLOC)^b$ person-months, $D = c\,E^d$ months, people $= E/D$.
| Mode | a | b | c | d |
|---|---|---|---|---|
| Organic | 2.4 | 1.05 | 2.5 | 0.38 |
| Semidetached | 3.0 | 1.12 | 2.5 | 0.35 |
| Embedded | 3.6 | 1.20 | 2.5 | 0.32 |
Example. Organic, 32 KLOC: $E = 2.4 \times 32^{1.05} = 91.3$ PM; $D = 2.5 \times 91.3^{0.38} = 13.9$ months; staff $= 91.3/13.9 \approx 6.6$. Effort 91.3 PM, time 13.9 months, about 7 people.
Answer frame. Open with why estimation is needed; list techniques grouped as empirical and heuristic; for COCOMO give the three types, three modes, the table and the worked steps; close with merits and limitations.
Asked: [7 marks] (Jun 2023) Explain COCOMO Model in detail? Asked: [7 marks] (Jun 2025) Describe the various project estimation techniques used in software engineering.
Requirements Gathering and Analysis
Not asked since 2022
Definition. It is the first phase, in which analysts collect user needs, check feasibility, and resolve anomalies, incompleteness and inconsistency.
Key points.
- Gathering uses interviews, observation and study of existing systems.
- Analysis removes contradictions and ambiguity.
- The result is documented in the SRS.
Software Requirements Specification (SRS)
Not asked since 2022
Definition. The SRS is the document that states, completely and unambiguously, what the software must do, and forms the contract between customer and developer.
Key points.
- IEEE 830 structure: introduction, overall description, specific requirements (functional, external interface, performance, constraints).
- A good SRS is correct, complete, consistent, unambiguous, verifiable and modifiable.
- It is the base for design, testing and acceptance.
Software Product and Process Characteristics
Low weight
Definition. A software product is the deliverable program with its documentation; a software process is the set of activities, methods and practices used to produce it.
Key points.
- Product characteristics are functionality, reliability, usability, efficiency, maintainability and portability.
- Process characteristics are understandability, visibility, supportability, reliability and rapidity.
- A good process gives predictable, repeatable quality, so it is the means; the product is the end the customer pays for.
- Conclusion: both matter, but process is more important because quality cannot be tested into a product; a mature process (for example CMM level 3+) consistently yields good products.
Answer frame. Define both; argue for process in two points and for product in one; close with the justified conclusion.
Asked: [7 marks] (Jun 2023) Which is more important- The Product or Process? Justify your answer.
Software Process Models
Low weight
Definition. A software process model is an abstract description of the order of activities used to develop software.
Key points.
- Waterfall is linear and non-iterative: requirements, design, code, test, maintenance; best for stable requirements.
- Iterative develops the system in repeated cycles, each refining the last, so changes are absorbed.
- Spiral is iterative with risk analysis in every loop (see Spiral above).
- Waterfall is simple but inflexible; iterative is flexible but needs planning; spiral handles risk but costs more.
Diagram.
Asked: [7 marks] (Jun 2024) With neat sketches, explain iterative, waterfall and spiral models.
Evolutionary Process Models and Agile processes
Low weight
Definition. Evolutionary process models produce software in progressively more complete versions, accepting that requirements evolve; Agile processes add short iterations with continuous customer collaboration.
Key points.
- Prototyping is evolutionary: a prototype is refined through user feedback into the final system.
- Spiral is evolutionary: each loop adds functionality with risk analysis.
- Incremental delivery releases working parts in stages so users benefit early.
- Advantages are handling changing requirements and early feedback; they suit large, unclear systems.
- Agile methods such as Scrum and XP use short sprints and adapt to change.
Asked: [7 marks] (Jun 2024) Explain briefly about evolutionary process models.
Software Process customization and improvement
Not asked since 2022
Definition. Process customization tailors a standard process to a project; process improvement measures the process and upgrades it continuously.
Key points.
- Tailoring drops or adds activities according to project size and risk.
- Improvement follows measure, analyse, change and re-measure.
- CMM and ISO 9001 are common improvement frameworks.
CMM
Not asked since 2022
Definition. The Capability Maturity Model rates an organisation's software process on five maturity levels.
Key points.
- Level 1 Initial: ad hoc and chaotic.
- Level 2 Repeatable: basic project management.
- Level 3 Defined: a standard documented process.
- Level 4 Managed: quantitative measurement and control.
- Level 5 Optimizing: continuous improvement.
Product and Process Metrics
Not asked since 2022
Definition. Product metrics measure the software itself (size, complexity, defects); process metrics measure how it is built (effort, defect removal, cycle time).
Key points.
- Product examples: LOC, function points, cyclomatic complexity.
- Process examples: defect removal efficiency and time per phase.
- Metrics support estimation, control and improvement.
Functional and Non-functional requirements
Low weight
Definition. Functional requirements state what the system must do; non-functional requirements state how well it must do it, as quality attributes and constraints.
Key points.
- Functional examples: a library system must issue and return books; an ATM must dispense cash after PIN check.
- Non-functional examples: response time under 2 seconds, 99.9% availability, security, usability, portability.
- Functional requirements are checked by feature tests; non-functional ones by measurement against limits.
- Failing a non-functional requirement can make the whole system unusable even if all functions work.
- Both go into the SRS, functional in the specific-requirements section, non-functional under performance and constraints.
Asked: [7 marks] (Jun 2025) What are functional and non-functional requirements? Give examples.
Requirement Sources and Elicitation Techniques
Not asked since 2022
Definition. Elicitation is the activity of discovering requirements from sources such as users, documents and existing systems.
Key points.
- Techniques: interviews, questionnaires, observation, brainstorming, prototyping and document analysis.
- Sources are stakeholders, domain experts, standards and legacy systems.
- Use several techniques to reduce omissions.
Analysis Modeling for Function-oriented and Object-oriented software development
Not asked since 2022
Definition. Analysis modelling represents requirements in diagrams before design.
Key points.
- Function-oriented analysis uses data flow diagrams (DFD), data dictionary and ER diagrams.
- Object-oriented analysis uses class, use case and sequence diagrams.
- DFD shows processes, data stores, flows and external entities.
Use case Modeling
Not asked since 2022
Definition. A use case model describes system functions from the user's view as interactions between actors and the system.
Key points.
- Actors are outside users or systems; use cases are ovals inside the system boundary.
- Relations are association, include and extend.
- Each use case has a main flow and alternate flows.
System and Software Requirement Specifications
Not asked since 2022
Definition. A system specification covers hardware, software and people at the whole-system level; the software specification refines only the software part of it.
Key points.
- The system specification comes first, from the customer's view.
- The software specification is the SRS derived from it.
- Both must be consistent.
Requirement Validation
High weight
Definition. Requirement validation checks that the documented requirements are complete, consistent, correct and really what the customer wants, before design begins.
Key points.
- The purpose is to find errors early, since a requirement fault costs far more to fix after coding.
- Checks are validity, consistency, completeness, realism (can it be built within budget) and verifiability (can it be tested).
- Requirements reviews: a team of analysts, users and developers reads the SRS line by line and logs issues.
- Prototyping lets users try a model to confirm the requirements.
- Test-case generation writes tests from requirements; a requirement that cannot be tested is flagged for change.
- Automated consistency analysis checks a formal model for conflicts.
- Output is a validated, baselined SRS and a list of changes.
- Traceability supports validation: every requirement is linked to its source and to design, code and tests, so gaps and the impact of change are visible.
Traceability. A requirements traceability matrix (RTM) is a table linking each requirement ID to its source, design element, code module and test case; it shows forward and backward links and confirms every requirement is implemented and tested.
Answer frame. For a short note: define the term, list the checks and techniques (review, prototype, test cases), state traceability with the RTM, and close with the importance of early error removal.
Asked: [14 marks] (Jun 2024) Write short notes on any two of the following: a) Requirement validation and traceability, b) Testing levels and test techniques, c) Project plan and project metrics, d) Agile estimation and planning. (Attempt (a) using this unit; (b) is Unit 2, (c) is Unit 3 and (d) is Unit 5.)
Traceability
Not asked since 2022
Definition. Traceability is the ability to follow a requirement forward to design, code and tests, and backward to its source.
Key points.
- It is recorded in the requirements traceability matrix.
- It shows the impact of a change and proves full coverage.
- Forward traceability goes from requirement to implementation; backward goes the other way.
Last-minute revision
- SDLC phases: requirements, design, coding, testing, deployment, maintenance.
- Waterfall is linear with no going back; V-model pairs each development phase with a test phase.
- Prototype clarifies requirements; incremental delivers in parts; evolutionary refines versions.
- RAD builds in 60-90 days with parallel teams and reuse; its phases are business, data, process modelling, application generation and turnover.
- Spiral has four quadrants (plan, risk analysis, engineering, evaluate) and is risk-driven.
- Basic COCOMO: $E = a(KLOC)^b$, $D = cE^d$; organic 2.4/1.05, semidetached 3.0/1.12, embedded 3.6/1.20.
- 32 KLOC organic gives 91.3 PM and 13.9 months.
- $FP = UFP \times VAF$, $VAF = 0.65 + 0.01\sum F_i$.
- CMM levels: Initial, Repeatable, Defined, Managed, Optimizing.
- Functional says what; non-functional says how well.
- Requirement validation checks validity, consistency, completeness, realism, verifiability.
- Traceability matrix links requirement to design, code and test.
Memory hooks
- Spiral quadrants: "Please Rescue Every Elephant" (Plan, Risk, Engineer, Evaluate).
- CMM: "I Really DoMa Op" (Initial, Repeatable, Defined, Managed, Optimizing).
- COCOMO modes by size of a: 2.4, 3.0, 3.6 rising as constraints rise.
- V-model: left side builds, right side tests, each level matched.
- RAD: Business, Data, Process, Application, Testing, in that order.
Coverage checklist
- Software Development Life Cycles: Jun 2025 SDLC phases.
- SDLC Models: Waterfall: covered.
- V-Model: covered.
- Prototype Model: covered.
- Incremental: covered; used in the Spiral versus Incremental comparison.
- Evolutionary: covered.
- RAD: Jun 2024 RAD with diagram.
- Spiral: Jun 2023 (14 and 7 marks), Jun 2025 comparison.
- Project Planning: covered.
- Metrics for Project Size Estimation: covered.
- Project Estimation Techniques: Jun 2023 COCOMO, Jun 2025 techniques.
- Requirements Gathering and Analysis: covered.
- Software Requirements Specification (SRS): covered.
- Software Product and Process Characteristics: Jun 2023 product versus process.
- Software Process Models: Jun 2024 iterative, waterfall, spiral.
- Evolutionary Process Models and Agile processes: Jun 2024 evolutionary models.
- Software Process customization and improvement: covered.
- CMM: covered.
- Product and Process Metrics: covered.
- Functional and Non-functional requirements: Jun 2025.
- Requirement Sources and Elicitation Techniques: covered.
- Analysis Modeling for Function-oriented and Object-oriented software development: covered.
- Use case Modeling: covered.
- System and Software Requirement Specifications: covered.
- Requirement Validation: Jun 2024 short notes (a).
- Traceability: covered; also in the Jun 2024 short note.