A3 MOCK CTFL EXAMINATION COMMENTARY
This is a K1 question relating to Learning Objective CTFL-1.2.1 – Recall the common objectives of testing.
Testing identifies defects, but it neither locates them in the code (which rules out option a) nor debugs or corrects them (which rules out option d). Both of these activities are the responsibility of developers, once any defects have been identified. Testing cannot ensure that no defects are present (which rules out option c) – in fact this is one of the seven testing principles identified in the syllabus. This leaves option b as the correct response. As a quick cross-check, preventing defects is given as a testing objective in section 1.2 of the syllabus.
This is a K2 question ...