Preview lessons, content and tests

Computer Science & Programming solved. All in one platform.

1. To trial the platform and take tests, please take a few seconds to SIGN UP and SET UP FREE.
2. Searching for something specific? See our text overview of all tests. Includes 'real teacher' use videos.

Testing, purpose and types

When first written, many programs contain bugs (errors). The purpose of testing is to help the programmer remove such bugs and to ensure that the program functions as intended.

There are different types of testing:

  • Iterative testing is carried out while a program is being developed. The programmer writes a section of code (module) then tests it. The module may work fine, but more likely the programmer will amend or fix the code, and test it again. The process repeats (iterates) until the module works as intended.
  • Final (terminal) testing is carried out when all modules are complete and the program is tested as a whole to ensure that it functions as it should.

Suggested video