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.

Q56

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: pin 56 mat 78 nut 22 oar 34
Step 1: mat pin 56 78 nut 22 oar 34
Step 2: mat 22 pin 56 78 nut oar 34
Step 3: mat 22 nut pin 56 78 oar 34
Step 4: mat 22 nut 34 pin 56 78 oar
Step 5: mat 22 nut 34 oar pin 56 78
Step 6: mat 22 nut 34 oar 56 pin 78
Step 6 is the last step of the above input.

Given the Input: oar 78 nut 22 pin 34 mat 56
How many steps will be required to complete the arrangement?

medium
Q57

For the same Input: oar 78 nut 22 pin 34 mat 56
What will be Step II?

medium
Q58

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

medium
Q59

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

medium
Q60

For the same Input, which step number is this: 'mat 22 nut 34 oar 56 pin 78'?

medium