CAPE Computer Science Unit 2 · 2009 · Paper 2 · Question 4(c)
Testing a C program that searches for an integer target in an unsorted 20-element array num and reports its location or an error.
Briefly describe THREE tests that can be conducted to verify that the search code functions correctly.
More practice: the rest of this paper · more Implementation, Testing, and Maintenance questions · all CAPE Computer Science Unit 2 past papers