AP® Computer Science Principles · Big Idea 1 · Topic 1.3
The Iterative Development Process
Iterative development is building a program in repeated small cycles — investigate, design, prototype, test, reflect — instead of trying to get it perfect in one pass.
No one writes a correct, finished program in one go, because you can't fully know what will work until you try it. The iterative process breaks development into a loop: investigate what the program needs to do and who it's for, design a plan for how it will work, prototype a working piece of it, test that piece against real use, and reflect on what you learned. Then you do it again. Each pass is small on purpose. A small prototype is cheap to throw away or change; a finished program built in one giant push is not.
This loop isn't a straight line because testing routinely surprises you. You might design a weather app assuming users only want today's forecast, prototype it, test it, and discover people also expect a five-day view. That's not failure — it's the process working. The fix is to loop back: revise the requirements, redesign around the new information, build a new prototype, and test again. Each lap makes the program fit reality a little better than the last one did.
This loop sits underneath everything else in creative development. The errors you hunt for in testing — syntax, runtime, and logic errors — are exactly what each lap is designed to catch before the next one starts. And the iterative mindset is why collaboration and incremental building matter: a team splits a big idea into small testable pieces precisely because each piece needs its own trip through investigate, design, prototype, test, and reflect.
Key terms
- Iteration
- Repeating a cycle of development steps multiple times, each pass improving on the last.
- Prototype
- An early, incomplete working version of a program built to test an idea quickly.
- Investigate
- The step where a developer researches what the program needs to do and who will use it.
- Reflect
- The step where a developer reviews what a test revealed and decides what to change next.
Watch it explained
Check yourself
End of topic.