# Input Output Set 39

Directions (1-5): Study the following information carefully to answer the given questions.
A word and number arrangement machine when given an input line of words and numbers,          rearranges them following a particular rule in each step. The following is an illustration of input and rearrangement. (All the numbers are two-digit numbers.)
Input: 36 duffer 12 kings 92 reserves 61 powered 57 rule
Step I: 12 36 duffer kings 92 reserves 61 powered 57 rule
Step II: 12 reserves 36 duffer kings 92 61 powered 57 rule
Step III: 12 reserves 36 powered duffer kings 92 61 57 rule
Step IV: 12 reserves 36 powered 57 duffer kings 92 61 rule
Step V: 12 reserves 36 powered 57 duffer 61 kings 92  rule
Step V is the last step, find out in each of the rules followed in the above steps, find out in each of the following questions the appropriate step for the given input.
Input: 25 beatrix 16 commando 76 kiddo bill 64 double 56

Explanation

Students let us understand the Logic behind this Question and lets understand how to solve it. As a first step lets first understand the logic behind the Output. If you will see the final output you will observe the following:
(i) The machine rearranges the numbers and words in each alternatively and starting from a number.
(ii) The numbers are arranged in ascending order from left to right.
(iii) The words are arranged in descending order in terms of the number of alphabets in a given word from left to right.
Now lets take the imput given in the Question

Input: 25 beatrix 16 commando 76 kiddo bill 64 double 56

Step I: 16 25 beatrix commando 76 kiddo bill 64 double 56
Step II: 16 commando 25 beatrix 76 kiddo bill 64 double 56
Step III: 16 commando 25 beatrix 56 76 kiddo bill 64 double
Step IV: 16 commando 25 beatrix 56 double 76 kiddo bill 64
Step V: 16 commando 25 beatrix 56 double 64 76 kiddo bill
Step VI: 16 commando 25 beatrix 56 double 64 kiddo 76 bill
Step VI is the final step of the rearrange.

Q1. How many steps will be required to complete the rearrange?
(a) Eight
(b) Five
(c) Six
(d) Nine
(e) None of these
Q2. Which step number is the following output?
Input: 16 commando 25 double 56 kiddo 64 beatrix 76
(a) Step V
(b) Step III
(c) Step VI
(d) Step IV
(e) There will be no such step
Q3. Which of the following represents the position of ‘beatrix’ in Step III?
(a) Fourth from the left
(b) Sixth from the left
(c) Fourth from the right
(d) Second from the right
(e) None of these
Q4. Which word/number would be at the seventh position from the right in Step VI?
(a) Beatrix
(b) 25
(c) 76
(d) double
(e) None of these

Q5. Which of the following will be the penultimate step?
(a) 16 25 beatrix commando 76 kiddo bill 64 double 56
(b) 16 commando 25 double 56 beatrix 64 kiddo 76 bill
(c) 16 commando 25 beatrix 56 double 64 76 kiddo bill
(d) 16 commando 25 double 56 kiddo 64 beatrix 76 bill
(e) None of these