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

For the shifting machine in the previous question, after how many steps does the line first return to A B C D E F?

For the shifting machine in the previous question, after how many steps does the line first return to A B C D E F?

  1. A.1
  2. B.2
  3. C.3
  4. D.6
Answer & explanation

Correct answer: 2

Step I: D E F A B C. Step II: A B C D E F. Six items moved three at a time return after 2 steps.

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 →