# 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.

• Q43.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?

• Q44.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?

• Q45. 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

• Q46. 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?

• Q47. 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?

• Q48. 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?

• Q49. 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?