Machine Language Input-Output 11

0
959
input output

Machine Language Input-Output 11

Hello Readers,

Directions (Q. 1-5): Study the following information carefully to answer the given 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. The following is an illustration of an input and its rearrangement:

Input: all 24 nest call English 36 lamp oven 43 jug under 38
Step I: call nest English 36 lamp oven 43 jug under 38 all 24
Step II: call jug nest lamp oven 43 under 38 all 24 English 36
Step III: call jug lamp nest under 38 all 24 English 36 oven 43
Step IV: call jug lamp nest all 24 English 36 oven 43 under 38
And step IV is the last step of the above input. As per the rules followed in the above step, find out the approximate step for the given input.

Input: people turn copper each 23 order 33 flower king inner 28 aptitude 42 holeinput output

Q1. What is the position of ‘order’ in Step II?
a) Fifth from the left
b) Sixth from the left
c) Eighth from the right
d) Ninth from the right
e) None of the above

Q2. Which step would be the following output?
Copper flower hole people turn order 33 king aptitude 42 each 23 inner 28’
a) II
b) III
c) V
d) There is no such step
e) None of the above

Q3. How many steps will be required to complete the arrangement of the above input?
a) Five
b) Six
c) Four
d) Seven
e) None of the above

Q4. Which of the following words/numbers would be at the eighth position from the right end in the last step?
a) 33
b) order
c) 42
d) aptitude
e) None of the above

Q5. How many elements are there between ‘33’ and ‘inner’ in Step III?
a) One
b) Three
c) Five
d) None
e) None of the above

 

Answer:

1)A        2)B          3)C         4)D        5)C 

input output