ReasoningHardIBPS PO Mains · SBI PO Mains · SSC CGL Tier 2

Input–output: A machine rearranges a line of words and numbers. Step I: the numbers are rearranged in descending order, occupying only the places where numbers stood (words do not move). Step II: the words are rearranged in dictionary order, occupying only the places where words stood. Step III: the first and the last elements of the line exchange places. Step IV: every number is replaced by the sum of its digits. Input: 53 pen 76 painter 22 flower. Which of the following is Step IV of this input?

  1. A. pen flower 53 painter 22 76
  2. B. pen flower 8 painter 4 13
  3. C. 76 flower 53 painter 22 pen
  4. D. 76 pen 53 painter 22 flower

Correct answer: B. pen flower 8 painter 4 13

Working the rule step by step: Step I: 76 pen 53 painter 22 flower; Step II: 76 flower 53 painter 22 pen; Step III: pen flower 53 painter 22 76; Step IV: pen flower 8 painter 4 13. So Step IV is 'pen flower 8 painter 4 13'.

हिंदी में

इनपुट-आउटपुट: एक मशीन शब्दों और संख्याओं की एक पंक्ति को पुनर्व्यवस्थित करती है। चरण I: संख्याओं को अवरोही क्रम में केवल उन्हीं स्थानों पर पुनर्व्यवस्थित किया जाता है जहाँ संख्याएँ थीं (शब्द नहीं हिलते)। चरण II: शब्दों को शब्दकोश क्रम में केवल उन्हीं स्थानों पर पुनर्व्यवस्थित किया जाता है जहाँ शब्द थे। चरण III: पंक्ति के पहले और अंतिम अवयव आपस में स्थान बदल लेते हैं। चरण IV: प्रत्येक संख्या को उसके अंकों के योग से बदल दिया जाता है। इनपुट: 53 pen 76 painter 22 flower। इस इनपुट का चरण IV निम्नलिखित में से कौन-सा है?

  1. A. pen flower 53 painter 22 76
  2. B. pen flower 8 painter 4 13
  3. C. 76 flower 53 painter 22 pen
  4. D. 76 pen 53 painter 22 flower

उत्तर: B. नियम को चरण-दर-चरण लगाने पर: चरण I: 76 pen 53 painter 22 flower; चरण II: 76 flower 53 painter 22 pen; चरण III: pen flower 53 painter 22 76; चरण IV: pen flower 8 painter 4 13। इसलिए चरण IV 'pen flower 8 painter 4 13' है।

More Data Sufficiency and Input–Output questions

Exams that ask this topic