Input–output: A machine rearranges a line of numbers and words. In each step it first takes the number with the greatest sum of digits among the numbers not yet arranged (if two numbers tie, the smaller number) and places it at the right end, just before the numbers already placed there; it then takes the shortest word among the words not yet arranged (if two words tie, the one that comes first in dictionary order) and places it at the left end, just after the words already placed there. Input: 48 plum 15 oak 72 fig 39 pear 27 tree. In the last step of the arrangement, what is the position of 72 from the right end?
- A. 5th
- B. 3rd
- C. 6th
- D. 4th
Correct answer: D. 4th
हिंदी में
इनपुट-आउटपुट: एक मशीन संख्याओं और शब्दों की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में वह पहले अभी तक व्यवस्थित न की गई संख्याओं में से अंकों के सबसे बड़े योग वाली संख्या को (यदि दो संख्याओं में बराबरी हो, तो छोटी संख्या को) दाएँ छोर पर, वहाँ पहले से रखी संख्याओं के ठीक पहले, रखती है; फिर अभी तक व्यवस्थित न किए गए शब्दों में से सबसे छोटे शब्द को (यदि दो शब्दों में बराबरी हो, तो शब्दकोश क्रम में पहले आने वाले को) बाएँ छोर पर, वहाँ पहले से रखे शब्दों के ठीक बाद, रखती है। इनपुट: 48 plum 15 oak 72 fig 39 pear 27 tree. व्यवस्था के अंतिम चरण में 72 की दाएँ छोर से स्थिति क्या है?
- A. 5वाँ
- B. 3रा
- C. 6ठा
- D. 4था
उत्तर: D. अंकों के योग हैं 48 → 12, 39 → 12, 72 → 9, 27 → 9 और 15 → 6, इसलिए संख्याएँ दाईं ओर 39, 48, 27, 72, 15 के क्रम में जाती हैं। शब्द बाईं ओर fig, oak, pear, plum, tree के क्रम में जाते हैं। अंतिम चरण fig oak pear plum tree 15 72 27 48 39 है, इसलिए 72 दाएँ से 4था है।
More Data Sufficiency and Input–Output questions
- Data sufficiency: decide whether the statements are sufficient to answer the question. Is X the father-in-law of Y? I. X's son is married…
- Data sufficiency: decide whether the statements are sufficient to answer the question. In which direction is Rohit facing? I. His shadow…
- Data sufficiency: decide whether the statements are sufficient to answer the question. Five friends A, B, C, D and E have different ages…
- Data sufficiency: decide whether the statements are sufficient to answer the question. What is Neha's position from the right end of a…
- Data sufficiency: decide whether the statements are sufficient to answer the question. Five persons P, Q, R, S and T sit in a row facing…
- Data sufficiency: decide whether the statements are sufficient to answer the question. In a code language, what does 'tu' mean? I. 'ka tu…