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.

Q16

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: pig 36 moon 49 nest 18 owl 27
Step 1: moon pig 36 49 nest 18 owl 27
Step 2: moon 18 pig 36 49 nest owl 27
Step 3: moon 18 nest pig 36 49 owl 27
Step 4: moon 18 nest 27 pig 36 49 owl
Step 5: moon 18 nest 27 owl pig 36 49
Step 6: moon 18 nest 27 owl 36 pig 49
Step 6 is the last step of the above input.

Given the Input: owl 49 nest 18 pig 27 moon 36
How many steps will be required to complete the arrangement?

medium
Q17

For the same Input: owl 49 nest 18 pig 27 moon 36
What will be Step II?

medium
Q18

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

medium
Q19

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

medium
Q20

For the same Input, which step number is this: 'moon 18 nest 27 owl 36 pig 49'?

medium