When requirements are not complete or the customer needs part of the system quickly, models that deliver the software in parts or in repeated versions are used.

The Incremental Model

The incremental model applies the waterfall activities repeatedly. The first increment is a core product that meets the basic requirements. Later increments add features, and each one is delivered to the customer in turn. The customer can use the early versions, which gives feedback, and the work is spread, so fewer people are needed at the start. It is useful when staff are limited or when a quick release is needed.

Definition: Incremental model. A process model in which the software is built and delivered in successive parts, each adding functionality to the earlier ones.

Prototyping

The prototyping model begins with communication, then makes a quick design and builds a prototype, a working sample with limited features. The customer evaluates it and the requirements are refined. The prototype is usually thrown away, and the real system is then built with better knowledge of what is wanted. It is helpful when the customer cannot state detailed requirements.

The Spiral Model

The spiral model, proposed by Barry Boehm, combines prototyping with the control of the waterfall model and adds explicit risk analysis. The project moves around a spiral, and each loop passes through four tasks: planning, risk analysis, engineering and evaluation. Each loop produces a more complete version. It is well suited to large, expensive and risky projects, but needs skill in risk assessment and is costly to manage.

A common question is how the incremental model differs from prototyping. In the incremental model every increment is a working part of the final product that is delivered and kept. In prototyping, the sample is built to learn about the requirements and is usually discarded. Evolutionary models accept that the first version will not be the last. They assume that the system will grow as users give feedback, which is why the plan is revised after every cycle. Each cycle must still be reviewed and tested, or the quality of the product will fall.

Table 1.3: Evolutionary models compared

Model Main idea Best when
Incremental Deliver in parts Early partial delivery is needed
Prototyping Build a sample to clarify needs Requirements are unclear
Spiral Repeat loops with risk analysis The project is large and risky

Example 1.3: Choosing a model

Problem: A start-up wants a mobile ordering app. The owner can describe only the main screens and wants customers to try an early version. Which model fits?

Solution:

  1. Requirements are unclear, so a prototype helps to clarify them.
  2. A first release with the main ordering feature can be extended later.

Result: Prototyping followed by the incremental model is a suitable choice.

Common mistakes

  • Treating a prototype as the final product and delivering it without redesign.
  • Thinking that the incremental model has no overall plan.
  • Using the spiral model for small low-risk projects, where it is too costly.

Key takeaways

  • Incremental delivers a core product first and then adds features.
  • A prototype is a sample used to clarify requirements.
  • The spiral model adds risk analysis to every loop.
  • Evolutionary models suit changing requirements.

Practice questions

  1. What is a core product?
  2. What does the spiral model add to other models?
  3. When is prototyping useful?

Answers to the practice questions

  1. The first increment that meets the basic requirements.
  2. Explicit risk analysis in every loop.
  3. When the customer cannot state detailed requirements.

Sources

  • Official BCA syllabus Software Engineering, course code 26BCA403DS03, Unit I