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.

Q46

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: hut 38 egg 57 fan 17 gum 29
Step 1: egg hut 38 57 fan 17 gum 29
Step 2: egg 17 hut 38 57 fan gum 29
Step 3: egg 17 fan hut 38 57 gum 29
Step 4: egg 17 fan 29 hut 38 57 gum
Step 5: egg 17 fan 29 gum hut 38 57
Step 6: egg 17 fan 29 gum 38 hut 57
Step 6 is the last step of the above input.

Given the Input: gum 57 fan 17 hut 29 egg 38
How many steps will be required to complete the arrangement?

medium
Q47

For the same Input: gum 57 fan 17 hut 29 egg 38
What will be Step II?

medium
Q48

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

medium
Q49

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

medium
Q50

For the same Input, which step number is this: 'egg 17 fan 29 gum 38 hut 57'?

medium