This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.

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 ]