Read the information carefully and answer the question below. A word and a number rearrangement machine when an input line of words and numbers, rearranges them following a particular rule in every step. The following is an illustration of input and the steps of rearrangement
The step VI is last step. As per the pattern followed in the above steps. Find the appropriate step for the given input. Input: 71 14 side wall 97 for hat 65 27 gun 81 bat Which word/number would be at the 7th position from the right in step V? |
|||||||||||||||||
(a) |
Hat |
(b) |
Gun |
||||||||||||||
(c) |
For |
(d) |
Side |
Read the information carefully and answer the question below. A word and a number rearrangement machine when an input line of words and numbers, rearranges them following a particular rule in every step. The following is an illustration of input and the steps of rearrangement
The step VI is last step. As per the pattern followed in the above steps. Find the appropriate step for the given input. Input: 71 14 side wall 97 for hat 65 27 gun 81 bat Which word/number would be at the 7th position from the right in step V? |
|||||||||||||||||
(a) |
Hat |
(b) |
Gun |
||||||||||||||
(c) |
For |
(d) |
Side |
Pattern of the arrangement of steps of given input suggests that given input is split into two sections-one for even numbers and other for odd number. Then, arrange these numbers in such a way that even numbers are arranged in descending order and odd numbers are arranged in ascending order.
By applying above rules, we get Hat is at the 7th position from the right in step V.