🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Debugging with AI: all 10 questions

Quiz: Debugging with AI · Question 3 of 10

What did the fixed classaverage return for the three sample rows?

What did the fixed class_average return for the three sample rows?

  1. A.(84.5, 0)
  2. B.(84.5, 1)
  3. C.(56.33, 1)
  4. D.An error
Answer & explanation

Correct answer: (84.5, 1)

78 and 91 average to 84.5; the "AB" row was skipped and counted.

Can you get the rest right without peeking?

Take the timed Quiz: Debugging with AI quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →