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.

Q66

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: hay 65 ear 85 fly 25 gem 45
Step 1: ear hay 65 85 fly 25 gem 45
Step 2: ear 25 hay 65 85 fly gem 45
Step 3: ear 25 fly hay 65 85 gem 45
Step 4: ear 25 fly 45 hay 65 85 gem
Step 5: ear 25 fly 45 gem hay 65 85
Step 6: ear 25 fly 45 gem 65 hay 85
Step 6 is the last step of the above input.

Given the Input: gem 85 fly 25 hay 45 ear 65
How many steps will be required to complete the arrangement?

medium
Q67

For the same Input: gem 85 fly 25 hay 45 ear 65
What will be Step II?

medium
Q68

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

medium
Q69

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

medium
Q70

For the same Input, which step number is this: 'ear 25 fly 45 gem 65 hay 85'?

medium