As
the name suggest Input-Output, there
is a machine/Computer which is programmed to process its input data in a
particular pattern. Here we will discuss the possible pattern followed by machine/computer one by one.
Steps to solve these
problems:
1. Arrange the given
numbers in ascending or descending order
2. Arrange the given
words/alphabets as per dictionary in both direction.
3. Now observe the given
input-output relation.
Let
us take an example:
Example:
Input : talk
61 26 mold boom 88 81 47 work known ink 36 69 cold
Step I : 26 talk 61 mold 88 81 47 work known ink 36 69 cold boom
Step II : 36 26 talk 61 mold 88 81 47 work known ink 69 boom cold
Step III : 47 36 26 talk 61 mold 88 81 work known 69 boom cold ink
Step IV : 61 47 36 26 talk mold 88 81 work 69 boom cold ink known
Step V : 69 61 47 36 26 talk 88 81 work boom cold ink known mold
Step VI : 81 69 61 47 36 26 88 work boom cold ink known mold talk
Step VII : 88 81 69 61 47 36 26 boom cold ink known mold talk work
Explanation:
1. Arrange the given
numbers in ascending or descending order.
Ascending
order:
26,36,47,61,69,81,88
Descending
order:88,81,69,61,47,36,26
2. Arrange the given
words/alphabets as per dictionary
Forward
Direction:
boom,ink,known,mold,talk,work
Reverse
Direction:
work,talk,mold,known,ink,boom
3. Now observe the given
input-output relation
In the given relation in Step 1 we can see that the smallest number comes
first and remaining part remains as it is.
In Step 2 of given relation we can find
that the number greater than 26 i.e. 36 comes at first place while the remaining
part remains as it is.
This pattern followed in all steps until all
the numbers at the input comes together in Ascending Order .
After all the number comes together now machine
arrange all the words in per dictionary arrangement in the Last Step.
Now
if we are ask to arrange any given input as per the pattern followed in the
above example, we can easily write all the Steps for any input.
Input: 89 who root 19 46 near drink link gold 61 23 under 71
97
Now, we will arrange this input as per the pattern followed in the above example
Now, we will arrange this input as per the pattern followed in the above example
Step 1 : 19 89 who
root 46 near drink link gold 61 23 under 71 97
Step 2 : 23 19 89
who root 46 near drink link gold 61 under 71 97
Step 3 : 46 23 19 89
who root near drink link gold 61 under 71 97
Step 4 : 61 46 23 19
89 who root near drink link gold under 71 97
Step 5 : 71 61 46 23
19 89 who root near drink link gold under 97
Step 6 : 89 71 61 46
23 19 who root near drink link gold under 97
Step 7 : 97 89 71 61
46 23 19 who root near drink link gold under
Step 8: 97 89 71 61
46 23 19 drink gold link near root under who