Testing, Iterative Development and Physical Computing - Cambridge Lower Secondary Class 8 Computing Notes, Diagrams and Solved Questions
Develop programs in improving versions, write and apply test plans, choose normal, boundary and erroneous test data, test algorithms with trace tables, and program two or more micro:bits to interact by radio.
In this chapter
Iterative development: the plan, code, test and review cycle
Writing test plans with expected and actual results
Why a range of test data is needed: normal, boundary (extreme) and erroneous
Testing algorithms with suitable data and trace tables (dry runs)
Using test results to find and fix syntax, logic and runtime errors
Making two micro:bits communicate with the radio library
Designing and testing a multi-device system such as quiz buzzers