i just took my paper and i have serious doubt with my answer in this question.

can anyone work out the answer?

well from what i have work out, my answer is 6. any other answer?

Test Set 1: (0 <= exceededSpeed <= 10, isRepeat = true) to test if we get 0 Test Set 2: (0 <= exceededSpeed <= 10, isRepeat = false) to test if we get 0 Test Set 3: (11 <= exceededSpeed <= 20, isRepeat = true) to test if we get 40 Test Set 4: (11 <= exceededSpeed <= 20, isRepeat = false) to test if we get 20 Test Set 5: (exceededSpeed > 20, isRepeat = true) to test if we get 100 Test Set 6: (exceededSpeed > 20, isRepeat = false) to test if we get 50

in another way.

Test Set 1: (0 <= exceededSpeed <= 10, isRepeat = true) to test if we get a Test Set 2: (0 <= exceededSpeed <= 10, isRepeat = false) to test if we get b Test Set 3: (11 <= exceededSpeed <= 20, isRepeat = true) to test if we get c Test Set 4: (11 <= exceededSpeed <= 20, isRepeat = false) to test if we get d Test Set 5: (exceededSpeed > 20, isRepeat = true) to test if we get e Test Set 6: (exceededSpeed > 20, isRepeat = false) to test if we get f [ May 22, 2008: Message edited by: xiao sean ]