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

Input: milk 25 car 81 desk 16 bat 49. Using the arrangement rule, what is the third element from the right in Step II?

Input: milk 25 car 81 desk 16 bat 49. Using the arrangement rule, what is the third element from the right in Step II?

  1. A.desk
  2. B.49
  3. C.milk
  4. D.81
Answer & explanation

Correct answer: 81

Step I: bat 16 milk 25 car 81 desk 49. Step II: bat 16 car 25 milk 81 desk 49. From the right: 49, desk, 81.

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 →