← 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))
- A.100
- B.1068
- C.384
- 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 →