Input Output SNAP 2020

· by SNAPking

Q1. Direction:  Study the following information carefully to answer the given questions.

Number arrangement machine when given an input line of numbers rearranges them by following a particular rule in each step. The following is an illustration of input and rearrangement.

Input: 92 babu India 50 danger 12 grass figure 75 18

Step I: babu India 50 danger 12 grass figure 75 18 92

Step II: danger babu India 50 12 grass figure 18 75 92

Step III: figure danger babu India 12 grass 18 50 75 92

Step IV: grass figure danger babu India 12 18 50 75 92

Step V: India grass figure danger babu 12 18 50 75 92

Step V is the last step.

Input: 84 Arun jockey 65 earth 20 horse gentle 80 22

How many words or numbers are there between the one which is second from the left end and ‘22’ in step IV?

  1. One
  2. More than three
  3. Three
  4. None
EXPLANATION

Answer: 2

Logic: At each step, a word in the alphabetical order is arranged from right to left in the increasing order in the left end and a number in the decending order is arranged from left to right in the right end.

Input: 84 arun jockey 65 earth 20 horse gentle 80 22

Step I: arun jockey 65 earth 20 horse gentle 80 22 84

Step II: earth arun jockey 65 20 horse gentle 2280 84

Step III: gentle earth arun jockey 20 horse 2265 80 84

Step IV: horse gentle earth arun jockey 2022 6580 84

Step V: jockey horse gentle earth arun 20 22 65 80 84

Step V is the last step.

Frequently asked questions

What is this number-arrangement-machine puzzle testing?

It's a step-by-step input-reordering puzzle: at each step, one word is moved to the left end in alphabetical order and one number is moved to the right end in descending order, and you must track an intermediate step.

How do I solve this type of machine-input puzzle?

Write out each step fully rather than trying to jump ahead — the page's own worked example shows the rearrangement being written out step by step (Step I through Step V) until the final order is reached.

What's the trick to the 'alphabetical from right, numbers descending from left' rule?

At each step, exactly one word moves to the left-most available slot in alphabetical order, and simultaneously one number moves to the right-most available slot in descending order — both movements happen together in the same step.

What next

Admit cards · CAT admit card · © Cetking Universe · Terms & Privacy · By using this site, you agree to Cetking's Terms.