Machine Language Input-Output 13


Machine Language Input-Output 13

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 input and rearrangement (All the numbers are two digit numbers)
Input     :  unless 46 that 54  format 26 dean 68 both 32
Step I    :   both unless 46 that 54 format 26 dean 32 68
Step II  :   dean both unless 46 that format 26 32 68 54
Step III :  format dean both unless that 26 32 68 54 46
Step IV  : that format dean both unless 26 68 54 46 32
Step V   : unless that format dean both 68 54 46 32 26

Step V is the last step of the above arrangement.
As per the rules followed in the steps given above, find out in each of the following questions the appropriate step for the given input.
Input: motor  48  wall  36  stack  64  have  52  get  18

input output questionsQ1. Which of the following represents the position of ‘64’ in the fifth step?
(a) Eighth from the left end
(b) Sixth from the left end
(c) Fourth from the right end
(d) Sixth from the right end
(e) None of these

Q2. Which of the following would be fourth to the left of second to the right of “18” in Step IV ?
(a) get
(c) has
(d) stock
(e) None of these

Q3. In the last step of the rearrangement, ‘wall’ is related to ‘18’ and ‘stack’ is related to ‘36’ in a certain way. Which of the following would ‘motor’ be related to, following the same pattern?
(a) 48
(b) 52
(c) 64
(d) got
(e) None of these

Q4. How many elements (words or numbers) are there between ‘have’ and ‘18’ as they appear in the last but one of the outputs?
(a) One
(b) Three
(c) Six
(d) Five
(e) None of these

Q5. Which step number would be the following output?
motor have get wall 36 stack 18 64 52 48
(a) Step IV
(b) Step V
(c) Step VI
(d) Step VII
(e) Step III


1)B        2)A          3)A         4)E        5)E 

input output

(Visited 1 time, 1 visit today)