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: cup saucer kettle tray spoon ladle bowl. Which of the following is Step III?

  1. A. kettle saucer cup tray spoon ladle bowl
  2. B. kettle saucer ladle spoon cup tray bowl
  3. C. kettle saucer ladle cup tray spoon bowl
  4. D. kettle saucer ladle cup tray bowl spoon

Correct answer: C. kettle saucer ladle cup tray spoon bowl

Working step by step: Step I: kettle cup saucer tray spoon ladle bowl; Step II: kettle saucer cup tray spoon ladle bowl; Step III: kettle saucer ladle cup tray spoon bowl; Step IV: kettle saucer ladle spoon cup tray bowl; Step V: kettle saucer ladle spoon bowl cup tray; Step VI: kettle saucer ladle spoon bowl tray cup. So Step III is 'kettle saucer ladle cup tray spoon bowl'.

हिंदी में

इनपुट-आउटपुट: एक मशीन शब्दों की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन अभी तक व्यवस्थित न किए गए सबसे लंबे शब्द को (यदि दो शब्द समान लंबाई के हों तो शब्दकोश क्रम में पहले आने वाले को) लेकर बाईं ओर, पहले से व्यवस्थित शब्दों के ठीक बाद, रख देती है; बाकी शब्द अपना सापेक्ष क्रम बनाए रखते हैं। जब सभी शब्द व्यवस्थित हो जाते हैं तो मशीन रुक जाती है। इनपुट: cup saucer kettle tray spoon ladle bowl. निम्नलिखित में से कौन-सा चरण III है?

  1. A. kettle saucer cup tray spoon ladle bowl
  2. B. kettle saucer ladle spoon cup tray bowl
  3. C. kettle saucer ladle cup tray spoon bowl
  4. D. kettle saucer ladle cup tray bowl spoon

उत्तर: C. चरण-दर-चरण हल करने पर: चरण I: kettle cup saucer tray spoon ladle bowl; चरण II: kettle saucer cup tray spoon ladle bowl; चरण III: kettle saucer ladle cup tray spoon bowl; चरण IV: kettle saucer ladle spoon cup tray bowl; चरण V: kettle saucer ladle spoon bowl cup tray; चरण VI: kettle saucer ladle spoon bowl tray cup. इसलिए चरण III 'kettle saucer ladle cup tray spoon bowl' है।

More Data Sufficiency and Input–Output questions

Exams that ask this topic