Designing and testing a complete program
About this lesson: Designing and testing a complete program
In short
Split a large problem into input, process and output parts.

What you'll explore
- Decompose: Break the problem down
- Split a large problem into input, process and output parts.
- Design: Flowchart
- Design each part as a flowchart or pseudocode before coding.
- Test plan: Expected vs actual
- Plan tests with normal, boundary and erroneous data, then compare expected and actual results.
- Improve: Design, build, test, feedback, improve
- Development is a cycle.
- Check yourself: Test data
- A program accepts ages 13 to 19. Which is erroneous test data?
Also in this lesson
- Step by step
- Watch out for these
- More than the lesson
- Stretch your brain
- Try it yourself
Words to know
- Requirement
- Something the program must do.
- Structure chart
- Diagram of modules in a program.
- Test plan
- Planned tests with expected results.
- Iterative
- Repeating cycles of improvement.
Sources
- Raspberry Pi Foundation, Isaac Computer Science: software development
- Agile Alliance: what is agile?
- BBC Bitesize, GCSE Computer Science: testing
- Python documentation: unittest