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

Quiz: Hypothesis Testing · Question 12 of 15

What does this print? (code)

What does this print?

import numpy as np
before = np.array([50, 60, 70])
after = np.array([55, 62, 70])
d = after - before
print(d.tolist(), round(d.mean(), 2))
  1. A.[5, 2, 0] 2.0
  2. B.[-5, -2, 0] -2.33
  3. C.[5, 2, 0] 2.33
  4. D.[55, 62, 70] 62.33
Answer & explanation

Correct answer: [5, 2, 0] 2.33

A paired test works on these per-student differences.

Can you get the rest right without peeking?

Take the timed Quiz: Hypothesis Testing quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →