ReasoningEasyIBPS PO · SBI PO · IBPS Clerk
Input–output: A machine rearranges a line of words. In each step, the machine takes the word that comes first in dictionary order among the words not yet arranged 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: pear kiwi apple mango fig. In Step II, which element is 2nd from the right end?
- A. pear
- B. mango
- C. fig
- D. kiwi
Correct answer: D. kiwi
Step I: apple pear kiwi mango fig; Step II: apple fig pear kiwi mango; Step III: apple fig kiwi pear mango; Step IV: apple fig kiwi mango pear. In Step II ('apple fig pear kiwi mango'), the 2nd element from the right is kiwi.
हिंदी में
इनपुट-आउटपुट: एक मशीन शब्दों की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन उन शब्दों में से, जिन्हें अभी व्यवस्थित नहीं किया गया है, शब्दकोश क्रम में सबसे पहले आने वाले शब्द को लेकर बाईं ओर, पहले से व्यवस्थित शब्दों के ठीक बाद, रख देती है; बाकी शब्द अपना सापेक्ष क्रम बनाए रखते हैं। जब सभी शब्द व्यवस्थित हो जाते हैं तो मशीन रुक जाती है। इनपुट: pear kiwi apple mango fig. चरण II में दाएँ छोर से दूसरा तत्व कौन-सा है?
- A. pear
- B. mango
- C. fig
- D. kiwi
उत्तर: D. चरण I: apple pear kiwi mango fig; चरण II: apple fig pear kiwi mango; चरण III: apple fig kiwi pear mango; चरण IV: apple fig kiwi mango pear. चरण II ('apple fig pear kiwi mango') में दाएँ छोर से दूसरा तत्व kiwi है।
Practise more Data Sufficiency and Input–Output questionsData Sufficiency and Input–Output: notes and key points
More Data Sufficiency and Input–Output questions
- 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…
- Input–output: A machine rearranges a line of words. In each step, the machine takes the word that comes last in dictionary order among the…
- Input–output: A machine rearranges a line of numbers. In each step, the machine takes the largest number not yet arranged and moves it to…
- Input–output: A machine rearranges a line of words and numbers. In each step, the machine moves the largest number not yet arranged to the…
- Input–output: A machine rearranges a line of words and numbers. In each step, the machine moves the smallest number not yet arranged to…
- 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…