🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Load Testing and Capacity Planning: all 10 questions

Quiz: Load Testing and Capacity Planning · Question 3 of 10

What does this print? (code)

What does this print?

import math
print(math.ceil(1000 / (100 * 0.6)))
  1. A.10
  2. B.16
  3. C.16.67
  4. D.17
Answer & explanation

Correct answer: 17

1000 / 60 = 16.67, and ceil rounds up to 17 servers.

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 →