ReasoningHardSSC CGL Tier 2 · IBPS PO Mains
Input–output: A machine rearranges a line of words. In each step it takes, from the words not yet arranged, the word with the greatest number of vowels (if two words are equal, the one that comes first in dictionary order) and places it at the left end, just after the words already placed there. The other words keep their relative order. Input: window planet orange tulip eagle river. Which of the following is Step III of this input?
- A. eagle orange window planet tulip river
- B. eagle orange planet window tulip river
- C. window tulip river planet orange eagle
- D. orange eagle window planet tulip river
Correct answer: B. eagle orange planet window tulip river
Orange and eagle both have three vowels: eagle (dictionary first) goes first, then orange. In Step III the four words with two vowels tie, and planet is first in dictionary order, giving eagle orange planet window tulip river.
हिंदी में
इनपुट-आउटपुट: एक मशीन शब्दों की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में वह अभी तक व्यवस्थित न किए गए शब्दों में से सबसे अधिक स्वरों वाला शब्द (यदि दो शब्द बराबर हों तो शब्दकोश में पहले आने वाला) लेती है और उसे बाएँ सिरे पर, पहले से रखे शब्दों के ठीक बाद रखती है। अन्य शब्द अपना सापेक्ष क्रम बनाए रखते हैं। इनपुट: window planet orange tulip eagle river. इस इनपुट का चरण III निम्नलिखित में से कौन-सा है?
- A. eagle orange window planet tulip river
- B. eagle orange planet window tulip river
- C. window tulip river planet orange eagle
- D. orange eagle window planet tulip river
उत्तर: B. orange और eagle दोनों में तीन स्वर हैं: eagle (शब्दकोश में पहले) पहले जाता है, फिर orange। चरण III में दो स्वरों वाले चारों शब्द बराबर हैं और planet शब्दकोश में पहले है, इसलिए eagle orange planet window tulip river बनता है।
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 odd-numbered steps it takes, from the words not yet arranged, the word whose first…
- Input–output: A machine rearranges a line of numbers and words. In odd-numbered steps it takes the smallest number not yet arranged and…
- Input–output: A machine rearranges a line of numbers and words. In every step it does two things: it takes the smallest even number not…
- Input–output: A machine rearranges a line of numbers and words. In every step it takes the word that comes first in dictionary order among…
- Data sufficiency: decide whether the statements are sufficient to answer the question. How is A related to B? I. A is the daughter of C…
- Decide which of the given statements are needed to answer the question. Who is the father of Rina? I. The husband of Rina's mother is…