# Input Output

Logical Reasoning Questions based on Input Output can be tried upon in this question and answers. Attempt all of them to know if you understand it's basic concept.This section is very useful for those who are preparing for competitive exams such as Written test of Bank Exams, CAT Exams, Railway Exams, SSC, UPSC,Banking,Insurance, Defence and many more.

• Q1.Directions : Study the following information and answer the given question. A word and number arrangement machine, when given an input line of words, rearranges them following a particular rule in each step. The following is an illustration of input and the steps of rearrangement.
Input: 94 goods 61 fine 36 74 dog home
Step I: dog 94 goods 61 fine 36 74 home
Step II: dog 36 94 goods 61 fine 74 home
Step III: dog 36 fine goods 94 61 74 home
Step IV: dog 36 fine 61 goods 94 74 home
Step V: dog 36 fine 61 goods 74 94 home
Step VI: dog 36 fine 61 goods 74 home 94
And Step VI is the last step of the rearrangement of the above input. As per the rules followed in the above steps, find out each of the following questions the appropriate step for the given input.

Step II of an input is:
bowl 13 91 home find 66 52 time
Which of the following will definitely be the input?

• Q2.Directions : Study the following information and answer the given question. A word and number arrangement machine, when given an input line of words, rearranges them following a particular rule in each step. The following is an illustration of input and the steps of rearrangement.
Input: 94 goods 61 fine 36 74 dog home
Step I: dog 94 goods 61 fine 36 74 home
Step II: dog 36 94 goods 61 fine 74 home
Step III: dog 36 fine goods 94 61 74 home
Step IV: dog 36 fine 61 goods 94 74 home
Step V: dog 36 fine 61 goods 74 94 home
Step VI: dog 36 fine 61 goods 74 home 94
And Step VI is the last step of the rearrangement of the above input. As per the rules followed in the above steps, find out each of the following questions the appropriate step for the given input.

Input: sundry 42 59 98 oven them down 16
Which of the following will be step VI?

• Q3.Directions : Study the following information and answer the given question. A word and number arrangement machine, when given an input line of words, rearranges them following a particular rule in each step. The following is an illustration of input and the steps of rearrangement.
Input: 94 goods 61 fine 36 74 dog home
Step I: dog 94 goods 61 fine 36 74 home
Step II: dog 36 94 goods 61 fine 74 home
Step III: dog 36 fine goods 94 61 74 home
Step IV: dog 36 fine 61 goods 94 74 home
Step V: dog 36 fine 61 goods 74 94 home
Step VI: dog 36 fine 61 goods 74 home 94
And Step VI is the last step of the rearrangement of the above input. As per the rules followed in the above steps, find out each of the following questions the appropriate step for the given input.

Input: tool 56 42 21 offer bowl 65 sun.
Which of the following steps will be the last one?

• Q4. Study the following information carefully and answer the given question: The following is an example of input and rearrangement. (All the numbers are two digits numbers):
Input: time 51 16 mouse basket 78 71 37 wild key ice 26 59 catch
Step I: 16 time 51 mouse 78 71 37 wild key ice 26 59 catch basket
Step II: 26 16 time 51 mouse 78 71 37 wild key ice 59 basket catch
Step III: 37 26 16 time 51 mouse 78 71 wild key 59 basket catch ice
Step IV: 51 37 26 16 time mouse 78 71 wild 59 basket catch ice key
Step V: 59 51 37 26 16 time 78 71 wild basket catch ice key mouse
Step VI: 71 59 51 37 26 16 78 wild basket catch ice key mouse time
Step VII: 78 71 59 51 37 26 16 basket catch ice key mouse time wild
Step VII is the last step of the above input, as the desired arrangement is obtained.
Input: 79 work roof 09 36 neat down lion grass 51 13 umbrella 61 87

Which of the following would be step IV?

• Q5. Study the following information carefully and answer the given question: The following is an example of input and rearrangement. (All the numbers are two digits numbers):
Input: time 51 16 mouse basket 78 71 37 wild key ice 26 59 catch
Step I: 16 time 51 mouse 78 71 37 wild key ice 26 59 catch basket
Step II: 26 16 time 51 mouse 78 71 37 wild key ice 59 basket catch
Step III: 37 26 16 time 51 mouse 78 71 wild key 59 basket catch ice
Step IV: 51 37 26 16 time mouse 78 71 wild 59 basket catch ice key
Step V: 59 51 37 26 16 time 78 71 wild basket catch ice key mouse
Step VI: 71 59 51 37 26 16 78 wild basket catch ice key mouse time
Step VII: 78 71 59 51 37 26 16 basket catch ice key mouse time wild
Step VII is the last step of the above input, as the desired arrangement is obtained.
Input: 79 work roof 09 36 neat down lion grass 51 13 umbrella 61 87

Which of the following represents the position of 'work' in the fourth step?

• Q6. Study the following information carefully and answer the given question: The following is an example of input and rearrangement. (All the numbers are two digits numbers):
Input: time 51 16 mouse basket 78 71 37 wild key ice 26 59 catch
Step I: 16 time 51 mouse 78 71 37 wild key ice 26 59 catch basket
Step II: 26 16 time 51 mouse 78 71 37 wild key ice 59 basket catch
Step III: 37 26 16 time 51 mouse 78 71 wild key 59 basket catch ice
Step IV: 51 37 26 16 time mouse 78 71 wild 59 basket catch ice key
Step V: 59 51 37 26 16 time 78 71 wild basket catch ice key mouse
Step VI: 71 59 51 37 26 16 78 wild basket catch ice key mouse time
Step VII: 78 71 59 51 37 26 16 basket catch ice key mouse time wild
Step VII is the last step of the above input, as the desired arrangement is obtained.
Input: 79 work roof 09 36 neat down lion grass 51 13 umbrella 61 87

How many elements (words or numbers) are there between 'grass' and '36' as they appear in the last step of the output?

• Q7. Study the following information carefully and answer the given question: The following is an example of input and rearrangement. (All the numbers are two digits numbers):
Input: time 51 16 mouse basket 78 71 37 wild key ice 26 59 catch
Step I: 16 time 51 mouse 78 71 37 wild key ice 26 59 catch basket
Step II: 26 16 time 51 mouse 78 71 37 wild key ice 59 basket catch
Step III: 37 26 16 time 51 mouse 78 71 wild key 59 basket catch ice
Step IV: 51 37 26 16 time mouse 78 71 wild 59 basket catch ice key
Step V: 59 51 37 26 16 time 78 71 wild basket catch ice key mouse
Step VI: 71 59 51 37 26 16 78 wild basket catch ice key mouse time
Step VII: 78 71 59 51 37 26 16 basket catch ice key mouse time wild
Step VII is the last step of the above input, as the desired arrangement is obtained.
Input: 79 work roof 09 36 neat down lion grass 51 13 umbrella 61 87

Which word/number would be at 5th position from the right in Step V?

• Q8. Study the following information carefully and answer the given question: The following is an example of input and rearrangement. (All the numbers are two digits numbers):
Input: time 51 16 mouse basket 78 71 37 wild key ice 26 59 catch
Step I: 16 time 51 mouse 78 71 37 wild key ice 26 59 catch basket
Step II: 26 16 time 51 mouse 78 71 37 wild key ice 59 basket catch
Step III: 37 26 16 time 51 mouse 78 71 wild key 59 basket catch ice
Step IV: 51 37 26 16 time mouse 78 71 wild 59 basket catch ice key
Step V: 59 51 37 26 16 time 78 71 wild basket catch ice key mouse
Step VI: 71 59 51 37 26 16 78 wild basket catch ice key mouse time
Step VII: 78 71 59 51 37 26 16 basket catch ice key mouse time wild
Step VII is the last step of the above input, as the desired arrangement is obtained.
Input: 79 work roof 09 36 neat down lion grass 51 13 umbrella 61 87

Which step number is the following output?
36 13 09 79 work roof neat 51 umbrella 87 61 grass down lion

• Q9.Directions : Study the given information and answer the following question:
When a machine is given an input line of words and numbers it arranges them following a particular rule. The following is an illustration of input and rearrangement:
(All the numbers are two digit numbers)
Input: 40 mango bread 23 37 coffee some egg 52 86 92 fruit noise 19
Step I: bread 19 40 mango 23 37 coffee some egg 52 86 92 fruit noise
Step II: coffee 23 bread 19 40 mango 37 some egg 52 86 92 fruit noise
Step III: egg 37 coffee 23 bread 19 40 mango some 52 86 92 fruit noise
Step IV: fruit 40 egg 37 coffee 23 bread 19 mango some 52 86 92 noise
Step V: mango 52 fruit 40 egg 37 coffee 23 bread 19 some 86 92 noise
Step VI: noise 86 mango 52 fruit 40 egg 37 coffee 23 bread 19 some 92
Step VII: some 92 noise 86 mango 52 fruit 40 egg 37 coffee 23 bread 19
Step VII is the last step.
As per the rules followed in the given steps, find out the appropriate steps for the given input.
Input: 32 poor glass bee 48 55 97 room flower 61 72 17 noon laugh

Which element is third to the right of 'family' in Step V?

• Q10.Directions : Study the given information and answer the following question:
When a machine is given an input line of words and numbers it arranges them following a particular rule. The following is an illustration of input and rearrangement:
(All the numbers are two digit numbers)
Input: 40 mango bread 23 37 coffee some egg 52 86 92 fruit noise 19
Step I: bread 19 40 mango 23 37 coffee some egg 52 86 92 fruit noise
Step II: coffee 23 bread 19 40 mango 37 some egg 52 86 92 fruit noise
Step III: egg 37 coffee 23 bread 19 40 mango some 52 86 92 fruit noise
Step IV: fruit 40 egg 37 coffee 23 bread 19 mango some 52 86 92 noise
Step V: mango 52 fruit 40 egg 37 coffee 23 bread 19 some 86 92 noise
Step VI: noise 86 mango 52 fruit 40 egg 37 coffee 23 bread 19 some 92
Step VII: some 92 noise 86 mango 52 fruit 40 egg 37 coffee 23 bread 19
Step VII is the last step.
As per the rules followed in the given steps, find out the appropriate steps for the given input.
Input: 32 poor glass bee 48 55 97 room flower 61 72 17 noon laugh

What is the position of "nice" from the left end in the final step?