GovtExamKit

₹0, forever · No signup · Works offline

Input-Output: New Pattern (Mains)

In the new input-output pattern a machine changes a row of numbers in a few steps, each step by one rule (reverse digits, sum of digits, sort, swap pairs and so on). You find the rule of each step from the example, then run the same steps on a new input.

Mock: test yourself → Shorts

What should you know about Input-Output: New Pattern (Mains)?

  • Compare two steps place by place: same numbers in a new order means a sort or a swap; new numbers mean a change to each number.
  • Fewer numbers in the next step means numbers were combined (pairs added or subtracted).
  • Check a rule on every number of the step, not just the first one.
  • The steps are applied in the same order to the new input.

What are the shortcuts for Input-Output: New Pattern (Mains) questions?

  1. Test the easy rules first: sorted? reversed digits? sum of digits?
  2. A number that grows by 1, 2, 3 ... from left to right points to "add the place number".
  3. Write each step of the new input on a new line; most mistakes come from skipping a step.

How do you solve Input-Output: New Pattern (Mains) questions? Worked examples

Example 1

Rules: Step I swaps the 1st and 2nd numbers and the 3rd and 4th; Step II replaces each number by the sum of its digits; Step III arranges them from smallest to largest. Input: 23 48 15 36. What is Step III?

Solution

  1. Step I: 48 23 36 15
  2. Step II: 12 5 9 6
  3. Step III: 5 6 9 12

Answer: 5 6 9 12

Example 2

Rules: Step I doubles odd numbers and halves even numbers; Step II adds 1 to the 1st number, 2 to the 2nd, and so on; Step III adds the 1st and 2nd numbers, then the 3rd and 4th. Input: 14 9 22 7. What is Step III?

Solution

  1. Step I: 7 18 11 14
  2. Step II: 8 20 14 18
  3. Step III: 8 + 20 = 28, 14 + 18 = 32

Answer: 28 32

What mistakes should you avoid in Input-Output: New Pattern (Mains)?

  • Sorting by the first digit instead of the value (12 comes after 9).
  • Applying the next rule to the input instead of to the previous step.

Input-Output: New Pattern (Mains) question book: practice each sub-topic

  1. Input-Output: New Pattern (Mains)

Question book · 1 chapters

Input-Output: New Pattern (Mains)

Chapter 1 · Input-Output: New Pattern (Mains)Question 1 / 1000

A number arrangement machine changes an input line step by step. It uses the same rules every time. Here is an example: Input: 67 85 41 68 32 21 Step I: 13 13 5 14 5 3 Step II: 14 15 8 18 10 9 Step III: 1 10 1 Now the input is: 41 16 37 33 27 47 What is the sum of the numbers in Step II for this input?

Solution

Rules found from the example:

  • Step I: each number is replaced by the sum of its digits.
  • Step II: the number in place 1 gets +1, place 2 gets +2, and so on.
  • Step III: the difference of the 1st and 2nd numbers is written, then of the 3rd and 4th, then of the 5th and 6th.
  • For the new input: Step I: 5 7 10 6 9 11; Step II: 6 9 13 10 14 17; Step III: 3 3 3

Answer: 69

Shortcut: Compare each step with the one before it: did every number change (a rule on each number), or did only the order change?
1

Open the book to turn the pages: every question with its answer and full solution.

Ready? Take a mock: fresh questions every time, each with a step-by-step solution.

← All Learn topics