Multiple choice › Testing (test data)
Testing (test data)
1. Testing (test data)
Consider the following code fragment. Get Age CASEWHERE Age IS < 12 : Price = 5
= 12 AND < 60 : Price = 10 = 60 : Price = 8 ENDCASE Initially 6, 20, 60 were used as test data. Which of the following additional test data sets is the most useful for fully testing the code?
- 11, 13
- 11, 61
- 12, 13
- 12, 61
Answer
D
NESA answer key: D. Old syllabus (SDD): useful as overlap practice only.