Logical Reasoning Notes

# Machine Input Output – Logical Reasoning

## Tracing Sequential Output

### INPUT-OUTPUT

Let’s go through some Input Output questions to understand the variety and way to solve them.

Example 1

Input A: under 69 43 88 balls invite 54 tree 35 22 monkey colour

Step I: 88 69 43 balls invite 54 tree 35 22 monkey colour under
Step II: 22 88 69 43 balls invite 54 35 monkey colour under tree
Step III: 69 22 88 43 balls invite 54 35 colour under tree monkey
Step IV: 35 69 22 88 43 balls 54 colour under tree monkey invite
Step V: 54 35 69 22 88 43 balls under tree monkey invite colour
Step VI: 43 54 35 69 22 88 under tree monkey invite colour balls
Step VI is the last step of the above input.

As per the rules followed in the above steps, find out the appropriate steps for the given input and answer the questions given below.

Input B: match 68 Australia win 29 17 held in 41 49 the 55

In which step the elements “41 win the‟ are found in the same order?

Solution:

Input: match 68 Australia win 29 17 held in 41 49 the 55
Step I: 68 match Australia 29 17 held in 41 49 the 55 win
Step II: 17 68 match Australia 29 held in 41 49 55 win the
Step III: 55 17 68 Australia 29 held in 41 49 win the match
Step IV: 29 55 17 68 Australia held 41 49 win the match in
Step V: 49 29 55 17 68 Australia 41 win the match in held
Step VI: 41 49 29 55 17 68 win the match in held Australia

Hence, the answer is Step V

Example 2

A word and number arrangement machine when given an input line of words and numbers rearranges them following a particular rule. The following is an illustration of input an rearrangement.

Input: when 19 will you 07 be 40 coming 62 home 100 89
Step I be when 19 will you 07 40 coming 62 home 100 89
Step II be 07 when 19 will you 40 coming 62 home 100 89
Step III be 07 coming when 19 will you 40 62 home 100 89
Step IV be 07 coming 19 when will you 40 62 home 100 89
Step V be 07 coming 19 home when will you 40 62 100 89
Step VI be 07 coming 19 home 40 when will you 62 100 89
Step VII be 07 coming 19 home 40 when 62 will you 100 89
Step VIII be 07 coming 19 home 40 when 62 will 89 you 100

Step VIII is the last step of the arrangement of the above input as the intended arrangement is obtained.
As per rules followed in the above steps, find out in each of the following questions the appropriate steps for the given input
Input: next 57 problem 82 14 trend 02 purchase growth 41

How many steps would be needed to complete the arrangement?

Solution:

For words – the words are arranged according to alphabetical order.
For numbers – the numbers are arranged in increasing order.
Input: next 57 problem 82 14 trend 02 purchase growth 41
Step I :growth next 57 problem 82 14 trend 02 purchase 41
Step II: growth 02 next 57 problem 82 14 trend purchase 41
Step III: growth 02 next 14 57 problem 82 trend purchase 41
Step IV: growth 02 next 14 problem 57 82 trend purchase 41
Step V: growth 02 next 14 problem 41 57 82 trend purchase
Step VI: growth 02 next 14 problem 41 purchase 57 82 trend
Step VII: growth 02 next 14 problem 41 purchase 57 trend 82

Hence, the answer is Step VII