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?
- A. quiz
- B. test
- C. exam
- D. paper
Correct answer: C. exam
हिंदी में
इनपुट-आउटपुट: एक मशीन शब्दों की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में मशीन अभी तक व्यवस्थित न किए गए सबसे लंबे शब्द को (यदि दो शब्द समान लंबाई के हों तो शब्दकोश क्रम में पहले आने वाले को) लेकर बाईं ओर, पहले से व्यवस्थित शब्दों के ठीक बाद, रख देती है; बाकी शब्द अपना सापेक्ष क्रम बनाए रखते हैं। जब सभी शब्द व्यवस्थित हो जाते हैं तो मशीन रुक जाती है। इनपुट: quiz exam test paper result answer marks. चरण IV में दाएँ छोर से दूसरा तत्व कौन-सा है?
- A. quiz
- B. test
- C. exam
- 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
- 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 words and numbers. In each step, the machine moves the smallest number not yet arranged to…
- Input–output: A machine rearranges a line of numbers. In each step, the machine takes the smallest 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. In each step, the machine takes the word that comes first in dictionary order among…
- Data sufficiency: decide whether the statements are sufficient to answer the question. In which direction is point Q from point P? I. P is…