# Reasoning: Machine Input-Output Set 4

Directions (1 – 5): Answer the questions on the basis of the information given below.
A number arrangement machine when given an input of words/numbers, rearranges them following a particular rule in each step. The following is an illustration of input and steps of rearrangement.
Input: public height 48 15 train 34 57 devil owner
Step 1: train public height 48 15 34 57 devil owner
Step 2: train 15 devil public height 48 34 57 owner
Step 3: train 15 devil 34 public height 48 57 owner
Step 4: train 15 devil 34 owner public height 48 57
Step 5: train 15 devil 34 owner 57 public height 48
Step 6: train 15 devil 34 owner 57 public height 48
Step 7: train 15 devil 34 owner 57 public 48 height
This is the final arrangement and step 7 is the last step for this input.

Input: output giant 23 carbon 42 65 right joker 8

1. How many elements are between ‘carbon’ and ’65’ in step 5?
A) None
B) One
C) Two
D) Three
E) More than three
Option E

For words arrangement:
Take the first letter of all words and right its numeral value: train t = 20 2+0 = 2|public, p = 16 1+6 = 7| height, h = 8 |devil, d = 4 |owner, o = 15 1+5 = 6
now arrange numbers 2, 4, 6, 7, 8. In same way words now: train devil owner public height
For numbers arrangement:
In alternate steps, numbers are taken as: lowest odd number, then lowest even number, then second lowest odd number and then second lowest even number.
Input: output giant 23 carbon 42 65 right joker 8
Step 1: joker output giant 23 carbon 42 65 right 8
Step 2: joker 23 output giant carbon 42 65 right 8
Step 3: joker 23 carbon output giant 42 65 right 8
Step 4: joker 23 carbon 8 output giant 42 65 right
Step 5: joker 23 carbon 8 giant output 42 65 right
Step 6: joker 23 carbon 8 giant 65 output 42 right
2. How many steps are done to complete the arrangement?
A) 5
B) 6
C) 7
D) 4
E) None of these
Option B

3. Which word/number if 2nd to the right of 5th from the right end in step 2?
A) right
B) output
C) 65
D) joker
E) 8
Option C

4. Which word/number is in between the words ‘carbon’ and ‘giant’ in step 5?
A) 42
B) output
C) 8
D) right
E) None of these
Option C

5. If ‘giant’ is related to ‘8’ in step 4 and ’65’ is related to ‘carbon’ in step 2, then in same way to what is ’65’ related to in step 6?
A) 42
B) 8
C) carbon
D) output
E) None of these
Option B

Directions (6 – 10): Answer the questions on the basis of the information given below.
A number arrangement machine when given an input of numbers/words, rearranges them following a particular rule in each step. The following is an illustration of input and steps of rearrangement.
Input: 76 16 built cars 23 cave sign 59 popular 68
Step 1: cave 76 16 built cars 23 sign 59 popular 68
Step 2: cave 16 76 built cars 23 sign 59 popular 68
Step 3: cave 16 sign 76 built cars 23 59 popular 68
Step 4: cave 16 sign 23 76 built cars 59 popular 68
Step 5: cave 16 sign 23 popular 76 built cars 59 68
Step 6: cave 16 sign 23 popular 59 76 built cars 68
Step 7: cave 16 sign 23 popular 59 cars 76 built 68
Step 8: cave 16 sign 23 popular 59 cars 68 76 built
Step 9: cave 16 sign 23 popular 59 cars 68 built 76
This is the final arrangement and step 9 is the last step for this input.

Input: 12 99 disk 58 clown under 62 toy

1. Which step number would be the following output?
“disk 12 clown 58 under 99 toy 62”
A) Step 3
B) Step 4
C) Step 5
D) Step 6
E) There is no such step
Option E

Observe the last step, the words are in ascending order account to their last letter.
Numbers are in ascending order.
Input: 12 99 disk 58 clown under 62 toy
Step 1: disk 12 99 58 clown under 62 toy
Step 2: disk 12 clown 99 58 under 62 toy
Step 3: disk 12 clown 58 99 under 62 toy
Step 4: disk 12 clown 58 under 99 62 toy
Step 5: disk 12 clown 58 under 62 99 toy
Step 6: disk 12 clown 58 under 62 toy 99
2. How many words/numbers are there between ‘clown’ and ‘62’ in step 4?
A) 3
B) 4
C) 2
D) 1
E) None of these
Option A

3. If in the Step 3, ‘disk’ interchanges its position with ‘99’ and ’12’ also interchanges its position with ‘toy’, then which element will be third to the right of ’disk’?
A) toy
B) 58
C) 12
D) clown
E) 99
Option C

4. Which elements come exactly between ‘12’ and ‘under’ in Step 6 of the given input?
A) 58
B) 62
C) clown
D) both ‘clown’ and ‘58’
E) disk
Option D

5. Which of the following combinations represents the first two and last two elements of the step 2?
A) clown 99 62 toy
B) 12, clown, 62, toy
C) disk 12, 62, toy
D) disk 12 under 62
E) None of the Above