Input & Output Questions and Answers for Practice

Gajanand2 years ago 3.8K Views Join Examsbookapp store google play
Input & Output Questions and Answers

Direction: Study the following information carefully and answer the given questions. When a word and number arrangement machine is given an input line of words and numbers, it arranges them following a particular rule. The following is an illustration of the input and rearrangement.

Input: variety 13 enough 7 12 maximum union 24 tree 4

Step I: enough variety 13 7 12 maximum union 24 tree 4

Step II: enough variety 13 12 maximum union 24 tree 4 7

Step III: enough maximum variety 13 12 union 24 tree 4 7

Step IV: enough maximum variety 13 union 24 tree 4 7 12

Step V: enough maximum union variety 13 24 tree 4 7 12

Step VI: enough maximum union variety 24 tree 4 7 12 13

Step VII: enough maximum union tree variety 24 4 7 12 13

Step VIII: enough maximum union tree variety 24 7 12 13 4

Step IX: enough maximum union tree variety 7 12 13 4 24

And step IX is the last step of the above arrangement. As per the rules followed in the above step, find out the appropriate step for the given input.

Input : Step 22 onion apt 19 tribe 4 new 18 13

Q :  

How many steps will be required to complete the rearrangement of the above input?

(A) Six

(B) Eight

(C) Ten

(D) more than ten

(E) Both 3 and 4


Correct Answer : B

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.
Input: cold fold 14 yak 28 41 load 50 70 89 door sold
Step I: yak cold fold 14 28 41 load 50 70 89 door sold
Step II: yak cold fold 28 41 load 50 70 89 door sold 14
Step III: yak sold cold fold 28 41 load 50 70 89 door 14
Step IV: yak sold cold fold 41 load 50 70 89 door 28 14
Step V: yak sold load cold fold 41 50 70 89 door 28 14
Step VI: yak sold load cold fold 50 70 89 door 41 28 14
Step VII: yak sold load fold cold 50 70 89 door 41 28 14
Step VIII: yak sold load fold cold 70 89 door 50 41 28 14
Step IX: yak sold load fold door cold 70 89 50 41 28 14
Step X: yak sold load fold door cold 89 70 50 41 28 14
Step X is the last step for the given input.
As per rules followed in the above steps, find out in each of the following questions the appropriate steps for the given input.
Input: 46 22 great had 84 38 jack bold 55 93 made candle

Q :  

How many elements are there between ‘great’ and ‘55’ in step III?

(A) Six

(B) Four

(C) Three

(D) Five

(E) None of these


Correct Answer : B

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.
Input: cold fold 14 yak 28 41 load 50 70 89 door sold
Step I: yak cold fold 14 28 41 load 50 70 89 door sold
Step II: yak cold fold 28 41 load 50 70 89 door sold 14
Step III: yak sold cold fold 28 41 load 50 70 89 door 14
Step IV: yak sold cold fold 41 load 50 70 89 door 28 14
Step V: yak sold load cold fold 41 50 70 89 door 28 14
Step VI: yak sold load cold fold 50 70 89 door 41 28 14
Step VII: yak sold load fold cold 50 70 89 door 41 28 14
Step VIII: yak sold load fold cold 70 89 door 50 41 28 14
Step IX: yak sold load fold door cold 70 89 50 41 28 14
Step X: yak sold load fold door cold 89 70 50 41 28 14
Step X is the last step for the given input.
As per rules followed in the above steps, find out in each of the following questions the appropriate steps for the given input.
Input: 46 22 great had 84 38 jack bold 55 93 made candle

Q :  

Which step number is the following output ‘made jack had great 84 bold 93 candle 55 46 38 22’?

(A) There will be no such step

(B) XII

(C) IV

(D) VII

(E) None of these


Correct Answer : D

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.
Input: cold fold 14 yak 28 41 load 50 70 89 door sold
Step I: yak cold fold 14 28 41 load 50 70 89 door sold
Step II: yak cold fold 28 41 load 50 70 89 door sold 14
Step III: yak sold cold fold 28 41 load 50 70 89 door 14
Step IV: yak sold cold fold 41 load 50 70 89 door 28 14
Step V: yak sold load cold fold 41 50 70 89 door 28 14
Step VI: yak sold load cold fold 50 70 89 door 41 28 14
Step VII: yak sold load fold cold 50 70 89 door 41 28 14
Step VIII: yak sold load fold cold 70 89 door 50 41 28 14
Step IX: yak sold load fold door cold 70 89 50 41 28 14
Step X: yak sold load fold door cold 89 70 50 41 28 14
Step X is the last step for the given input.
As per rules followed in the above steps, find out in each of the following questions the appropriate steps for the given input.
Input: 46 22 great had 84 38 jack bold 55 93 made candle

Q :  

Which of the following is the last but one step?

(A) made jack had great candle bold 84 93 55 46 38 22

(B) made jack had great bold candle 93 84 55 46 38 22

(C) made jack had great bold 93 candle 84 55 46 38 22

(D) made jack had great candle 84 bold 93 55 46 38 22

(E) None of these


Correct Answer : D

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.
Input: cold fold 14 yak 28 41 load 50 70 89 door sold
Step I: yak cold fold 14 28 41 load 50 70 89 door sold
Step II: yak cold fold 28 41 load 50 70 89 door sold 14
Step III: yak sold cold fold 28 41 load 50 70 89 door 14
Step IV: yak sold cold fold 41 load 50 70 89 door 28 14
Step V: yak sold load cold fold 41 50 70 89 door 28 14
Step VI: yak sold load cold fold 50 70 89 door 41 28 14
Step VII: yak sold load fold cold 50 70 89 door 41 28 14
Step VIII: yak sold load fold cold 70 89 door 50 41 28 14
Step IX: yak sold load fold door cold 70 89 50 41 28 14
Step X: yak sold load fold door cold 89 70 50 41 28 14
Step X is the last step for the given input.
As per rules followed in the above steps, find out in each of the following questions the appropriate steps for the given input.
Input: 46 22 great had 84 38 jack bold 55 93 made candle

Q :  

Which word/number is fifth from the right end in step IV?

(A) 55

(B) Bold

(C) 93

(D) Candle

(E) None of these


Correct Answer : A

Showing page 3 of 5

    Choose from these tabs.

    You may also like

    About author

    Gajanand

    B-Tech Electronic and Communication Engineering select the SSC CGL Tier-1 and Tier-2 in 2016 and Rajasthan state Govt. Exams Expert in Mathematics , Reasoning Gk and English.

    Read more articles

      Report Error: Input & Output Questions and Answers for Practice

    Please Enter Message
    Error Reported Successfully