🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Sampling and Confidence Intervals: all 15 questions

Quiz: Sampling and Confidence Intervals · Question 4 of 15

What does this print? (code)

What does this print?

import math
print(math.ceil(1.96 ** 2 * 0.25 / 0.05 ** 2))
  1. A.100
  2. B.1068
  3. C.384
  4. D.385
Answer & explanation

Correct answer: 385

3.8416 × 0.25 ÷ 0.0025 = 384.16, rounded up to 385 people.

Can you get the rest right without peeking?

Take the timed Quiz: Sampling and Confidence Intervals quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →