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.

Q41

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: den 35 art 46 box 13 car 24
Step 1: art den 35 46 box 13 car 24
Step 2: art 13 den 35 46 box car 24
Step 3: art 13 box den 35 46 car 24
Step 4: art 13 box 24 den 35 46 car
Step 5: art 13 box 24 car den 35 46
Step 6: art 13 box 24 car 35 den 46
Step 6 is the last step of the above input.

Given the Input: car 46 box 13 den 24 art 35
How many steps will be required to complete the arrangement?

medium
Q42

For the same Input: car 46 box 13 den 24 art 35
What will be Step II?

medium
Q43

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

medium
Q44

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

medium
Q45

For the same Input, which step number is this: 'art 13 box 24 car 35 den 46'?

medium