AbhiPrep

Input-Output

80 Questions

Practice Input-Output questions with answers and step-by-step solutions. These problems are curated from recent campus placement test papers (TCS, Infosys, Wipro, Cognizant, Accenture) and competitive government exams (SSC CGL, Bank PO, RRB NTPC, UPSC).

Input-Output: Reference Context & Data Shared for questions below
Reference Caselet

Reasoning Ability: Input-Output (80 Questions)

Read the given instructions/statements carefully and answer the questions that follow.

Q21

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: deer 47 ant 86 bear 14 crab 25
Step 1: ant deer 47 86 bear 14 crab 25
Step 2: ant 14 deer 47 86 bear crab 25
Step 3: ant 14 bear deer 47 86 crab 25
Step 4: ant 14 bear 25 deer 47 86 crab
Step 5: ant 14 bear 25 crab deer 47 86
Step 6: ant 14 bear 25 crab 47 deer 86
Step 6 is the last step of the above input.

Given the Input: crab 86 bear 14 deer 25 ant 47
How many steps will be required to complete the arrangement?

medium
Q22

For the same Input: crab 86 bear 14 deer 25 ant 47
What will be Step II?

medium
Q23

For the same Input, which element is 3rd from the right in Step III?

medium
Q24

For the same Input, what is the position of 'deer' in Step I?

medium
Q25

For the same Input, which step number is this: 'ant 14 bear 25 crab 47 deer 86'?

medium