← Quiz: Load Testing and Capacity Planning: all 10 questions
Quiz: Load Testing and Capacity Planning · Question 5 of 10
What does this print? (code)
What does this print?
service = 50
for u in (0.5, 0.9):
print(round(1000 / (service - service * u)))
- A.20 100
- B.40 200
- C.40 100
- D.25 45
Answer & explanation
Correct answer: 40 200
1000 / (50 − 25) = 40 ms and 1000 / (50 − 45) = 200 ms: five times slower at 90% busy.
Can you get the rest right without peeking?
Take the timed Quiz: Load Testing and Capacity Planning quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →