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.

Q36

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: palm 65 mist 87 nail 21 oak 43
Step 1: mist palm 65 87 nail 21 oak 43
Step 2: mist 21 palm 65 87 nail oak 43
Step 3: mist 21 nail palm 65 87 oak 43
Step 4: mist 21 nail 43 palm 65 87 oak
Step 5: mist 21 nail 43 oak palm 65 87
Step 6: mist 21 nail 43 oak 65 palm 87
Step 6 is the last step of the above input.

Given the Input: oak 87 nail 21 palm 43 mist 65
How many steps will be required to complete the arrangement?

medium
Q37

For the same Input: oak 87 nail 21 palm 43 mist 65
What will be Step II?

medium
Q38

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

medium
Q39

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

medium
Q40

For the same Input, which step number is this: 'mist 21 nail 43 oak 65 palm 87'?

medium