AIMS DARE TO SUCCESS MADE IN INDIA

Saturday 6 January 2018

Reasoning Input Output

Input Output

 

In this input output method we are supposed to imagine that input is fed to machine . Machine process the input and arrange the input in each step

and produce the final output in the final step We have to determine the pattern and based on that solve the questions. A word and number arrangement machine when given an input line of words and numbers rearranges them following a particular rule in each step to produce final output

In this machine arrangement can be of following types
1) Numeric numbers arranging in decreasing order in each step
2) Words arranging in alphabetic order from A-Z
3) In series there is both numeric and alphabetic words, so in one step number is arrange in decreasing order and in other step word is arrange in alphabetic order from A-Z.
4) Number can be arrange by odd and even numbers. Odd numbers are arrange in decreasing order than even number in decreasing order.
5) Words are arrange in alphabetic order in extreme left and numbers are arrange in decreasing order at extreme right in each step
6) First words are arrange in alphabetic order than numbers are arrange in decreasing order.

We have given few examples which help you to better understand the input output questions

PROBLEM :1

Q:- An Input /Output device arranges numbers step-by-step in a particular order according to a set of rules. The device stops arranging the numbers when the final result is obtained. –

Input- 94 65 35 100 54 69
Step 1 100 94 65 35 54 69
Step 2 100 94 69 65 35 54
Step 3 100 94 69 65 54 35

As per the rules followed in the above steps, find out in each of the following question the appropriate steps for the input given below :
Study the above arrangement carefully and give the answer to the following question –

What is the last step of the input given below?

8 70 90 17 35 40
Solution :
Based on the above series find the last step of the given arrangement. You will easily find out that the numbers are arranged in descending order. In the step 1 higher number i.e. 100 is arranged come first , only one element in each step is arranged .Than in step 2, 94 is already arranged so 69 which is third highest number comes and so on .

Following these steps we have to find steps required to completed the above arrangement .

Input 8 70 90 17 35 40

Step1 90 8 70 17 35 40

Step2 90 70 8 17 35 40

Step3 90 70 40 8 17 35

Step4 90 70 40 35 8 17

Step5 90 70 40 35 17 8

Answer: So 5 steps are required to complete the given arrangement . and from above we can tell last step i.e. 90 70 40 35 17 8

 

No comments:

Post a Comment