ReasoningVery hardIBPS PO · SBI PO · IBPS Clerk

Input–output: A machine rearranges a line of words. In each step, the machine takes the longest word not yet arranged (if two are equally long, the one that comes first in dictionary order) and moves it to the left, just after the words already arranged; the other words keep their relative order. The machine stops when all the words are arranged. Input: quiz exam test paper result answer marks. In Step IV, which element is 2nd from the right end?

  1. A. quiz
  2. B. test
  3. C. exam
  4. D. paper

Correct answer: C. exam

Step I: answer quiz exam test paper result marks; Step II: answer result quiz exam test paper marks; Step III: answer result marks quiz exam test paper; Step IV: answer result marks paper quiz exam test; Step V: answer result marks paper exam quiz test. In Step IV ('answer result marks paper quiz exam test'), the 2nd element from the right is exam.

हिंदी में

इनपुट-आउटपुट: एक मशीन शब्दों की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन अभी तक व्यवस्थित न किए गए सबसे लंबे शब्द को (यदि दो शब्द समान लंबाई के हों तो शब्दकोश क्रम में पहले आने वाले को) लेकर बाईं ओर, पहले से व्यवस्थित शब्दों के ठीक बाद, रख देती है; बाकी शब्द अपना सापेक्ष क्रम बनाए रखते हैं। जब सभी शब्द व्यवस्थित हो जाते हैं तो मशीन रुक जाती है। इनपुट: quiz exam test paper result answer marks. चरण IV में दाएँ छोर से दूसरा तत्व कौन-सा है?

  1. A. quiz
  2. B. test
  3. C. exam
  4. D. paper

उत्तर: C. चरण I: answer quiz exam test paper result marks; चरण II: answer result quiz exam test paper marks; चरण III: answer result marks quiz exam test paper; चरण IV: answer result marks paper quiz exam test; चरण V: answer result marks paper exam quiz test. चरण IV ('answer result marks paper quiz exam test') में दाएँ छोर से दूसरा तत्व exam है।

More Data Sufficiency and Input–Output questions

Exams that ask this topic