🎙 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 3 of 15

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

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

  1. A.25
  2. B.24
  3. C.12
  4. D.13
Answer & explanation

Correct answer: 24

Step I: 50 is even → 25. Step II: 25 is odd → 24.

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 →