Machine Language Input-Output Set 14

0
837

Machine Language Input-Output Set 14

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 the input
and its rearrangement:
Input: 70 five always 69 prime 55 nice line 56 40 money 50
Step I: prime 40 70 five always 69 55 nice line 56 money 50
Step II: prime 40 nice 50 70 five always 69 55 line 56 money

Step III: prime 40 nice 50 money 55 70 five always 69 line 56
Step IV: prime 40 nice 50 money 55 line 56 70 five always 69
Step V: prime 40 nice 50 money 55 line 56 five 69 70 always
Step VI: prime 40 nice 50 money 55 line 56 five 69 always 70
Step VI is the last step of the rearrangement of the above input. As per the rules followed in the
above steps, find out in each of the questions the appropriate step for the given input.

Input: 61 go 45 name read 28 pen 14 23 this 35 what 49 same

Q1. How many steps will be required to complete the given input?
(a) Five
(b) Six
(c) Seven
(d) Eight
(e) None of these

Q2. What is the position of ‘name’ from the left end in the last step?
(a) Second
(b) Tenth
(c) Fourth
(d) Eleventh
(e) None of these

Q3. Which element is fifth to the right of ‘read’ in Step VI?
(a) 61
(b) 49
(c) go
(d) this
(e) None of these

Q4. Which of the following is the seventh element from the left end in Step III?
(a) 61
(b) go
(c) read
(d) 35
(e) None of these

Q5. What is the position of ‘35’ in Step IV?
(a) Fifth from the right end
(b) Eighth from the left end
(c) Seventh from the left end
(d) Ninth from the right end
(e) None of these

 

Answers:

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

input output