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

Quiz: Input–Output · Question 15 of 15

In this lesson's calculation machine (even → halve, odd → subtract 1), what does 37 become after three steps?

In this lesson's calculation machine (even → halve, odd → subtract 1), what does 37 become after three steps?

  1. A.18
  2. B.9
  3. C.8
  4. D.17
Answer & explanation

Correct answer: 9

37 → 36 (odd, −1) → 18 (halved) → 9 (halved).

Can you get the rest right without peeking?

Take the timed Quiz: Input–Output quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →