TK Study

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?

  1. 11, 13
  2. 11, 61
  3. 12, 13
  4. 12, 61
Answer

D

NESA answer key: D. Old syllabus (SDD): useful as overlap practice only.