Coding - Decoding 6

Download as pdf or txt
Download as pdf or txt
You are on page 1of 40

Coding - Decoding

INPUT - OUTPUT
In such type of reasoning based question, you are
given a word and number arrangement. With each
subsequent operation, the arrangement of the words
and numbers changes following a particular pattern.
These operations are performed until a final
arrangement is reached or is performed in a loop.
You are required to identify the hidden pattern in the
rearrangement and apply it to the questions.
Following the above pattern, how many steps will
be required to complete the arrangement for the
below given input?
84 out sown even 35 54 around 46
Following the above pattern, how many steps will
be required to complete the arrangement for the
below given input?
84 out sown even 35 54 around 46
Example 1: Input: Cat Rail Snow Moon Fear
Step 1: Snow Cat Rail Moon Fear
Step 2: Snow Rail Cat Moon Fear
Step 3: Snow Rail Moon Cat Fear
Step 4: Snow Rail Moon Fear Cat
This is the final arrangement and STEP IV is the last step
for this input.
What will be the last step of the following input?
INPUT: Care Steel Brick Nap Bomb Cry
To understand the pattern, often it is sufficient to
look at the input, 1st, 2nd and final steps of the
arrangement.
Now, if we apply the same pattern rules to the
second input, we can immediately tell what the
output (final step after rearrangement) would be:
Input: Care Steel Brick Nap Bomb Cry
Output: Steel Nap Cry Care Brick Bomb
INPUT: Care Steel Brick Nap Bomb Cry
Step 1: Steel Care Brick Nap Bomb Cry
Step 2: Steel Nap Care Brick Bomb Cry
Step 3: Steel Nap Cry Care Brick Bomb
This is the final arrangement and STEP 3 is the
last step for this input.
Input: good more 63 39 28 for again 66
Step 1 : 66 good more 63 39 28 for again
Step 2 : 66 again good more 63 39 28 for
Step 3 : 66 again 63 good more 39 28 for
Step 4 : 66 again 63 for good more 39 28
Step 5 : 66 again 63 for 39 good more 28
Step 6 : 66 again 63 for 39 good 28 more
As per this rule answer the following questions.
Input: Chanakya Wind 23 43 56 Heir Beach 71
How many steps will be required to complete the rearrangement?
Input: Chanakya Wind 23 43 56 Heir Beach 71
Step 1 : 71 Chanakya Wind 23 43 56 Heir Beach
Step 2 : 71 Beach Chanakya Wind 23 43 56 Heir
Step 3 : 71 Beach 56 Chanakya Wind 23 43 Heir
Step 4 : 71 Beach 56 Chanakya 43 Wind 23 Heir
Step 5 : 71 Beach 56 Chanakya 43 Heir Wind 23
Step 6 : 71 Beach 56 Chanakya 43 Heir 23 Wind
Hence, there are six steps for this.
Input – 262 153 237 308 156 261 482 555
1) Which of the following is the middle number in the last step?
a. 26
b. 18
c. 10
d. 30
e. None of these
2) What will be resultant if 3rd element from the left end in step II is multiplied to 2nd element from
the right
end in step III?
a. 164
b. 1510
c. 2310
d. 60
e. None of these
3) If all the numbers in step IV are arranged in the ascending order from the left to right, then how many
numbers remain unchanged considering their original positions?
a. One
b. Two
c. Four
d. Three
e. None of these
4) Which of the following element is 2nd to the right of the element which is 6th from the right end in
the step
III?
a. 10
b. 13
c. 26
d. 18
e. None of these
5) What is the sum of the elements which are 3rd from the right end of
step II and III?
a. 163
b. 174
c. 173
d. 189
e. None of these
Given input is
262 153 237 308 156 261 482 555
Step I: Divide all the even numbers by 2 and then subtract 1 from the
obtained numbers and divide all the odd
numbers by 3 and then subtract 1 from the obtained numbers.
Step II: Sum of first and 2nd number from the left side of step I then
difference of 2nd and 3rd number then sum of 3rd and 4th number
and so on.
Step III: Add all the digits of each number.
Step IV: Multiply odd number by 2 and even number by 3.
Input – 262 153 237 308 156 261 482 555
1) Which of the following is the middle number in the last step?
a. 26
b. 18
c. 10
d. 30
e. None of these
2) What will be resultant if 3rd element from the left end in step II is multiplied to 2nd element from
the right
end in step III?
a. 164
b. 1510
c. 2310
d. 60
e. None of these
3) If all the numbers in step IV are arranged in the ascending order from the left to right, then how many
numbers remain unchanged considering their original positions?
a. One
b. Two
c. Four
d. Three
e. None of these
4) Which of the following element is 2nd to the right of the element which is 6th from the right end in
the step
III?
a. 10
b. 13
c. 26
d. 18
e. None of these
5) What is the sum of the elements which are 3rd from the
right end of step II and III?
a. 163
b. 174
c. 173
d. 189
e. None of these
6) Which of the following combinations represents the first digit of 2nd table of step II
and second digit of first Table of step III?
a. 4, 1
b. 3, 2
c. 2, 1
d. 5, 3
e. None of these
7) Which of the following combinations represents the 2nd table of step III?
a. 3,2
b. 2,6
c. 6,8
d. 1, 3
e. None of thes
8) What is the product of 1st digit of 2nd table of step II and 2nd digit of 3rd table of
step I?
a. 20
b. 14
c. 24
d. 30
e. None of these
9) What is the difference between the 1st digit and 2nd digit of step IV of the given input?
a. 1
b. 2
c. 3
d. 7
e. None of these
10) What is the sum of 2nd digit of 2nd tables in step I and 2nd digit of 2nd
table of step III?
a. 5
b. 7
c. 6
d. 9
e. None of these
Solutions (6-10):
Step I: First digit of first column is multiplied by the 2nd digit of 4th column and 2nd digit of
1st column is multiplied by 1st digit of 4th column.
Similar operation is applied on the 2nd and 3rd column with 5th and 6th columns
respectively.
In step II: Addition of 1st digits of all the columns and then multiply by 2, similarly addition
of 2nd digits of all the Columns and then multiply by 2.
In step III: Square each digit in first and 2nd column and then add both the squared number
of each column of step II.
In step IV: Subtract 1st digit of 1st column with the 1st digit of 2nd column and similarly
subtract the 2nd digit of 1st column with 2nd digit of 2nd column of step III.
The final arrangement is as follows:
6. e
7. c
8. b
9. c
10.d
11) What will be the sum of the numbers in Step 1?
a. 159
b. 162
c. 48
d. 164
e. None of these
12) Which of the following number is obtained in the last step?
a. 3
b. 27
c. 64
d. 50
e. 125
13) What is the multiplication of all numbers in step2?
a. 250
b. 382
c. 135
d. 180
e. 278
14) Which of the following is the step 3?
a. 15, 09
b. 75,20
c. 12, 25
d. 24, 36
e. There is no such step.
15) What is the sum of second block in step 1 and second digit of a
number in second block in step 2?
a. 64
b. 73
c. 72
d. 79
e. 15
Solutions(11-15)
Step 1: Add the digits within blocks. Resultant of 1st block is summed with the resultant of 2nd
block and obtained Sum is multiplied with smallest number among them. In the same way
resultant of 3rd block and 4th block is added, resultant number is multiplied with smallest
number among two and so on.
Example, consider 1st two blocks
23 and 73
Sum of digits of 23 = 5
Sum of digits of 73 = 10
Then adding both result = 5 + 10 = 15.
Multiplying with smallest number among them = 15 × 5 = 75. And So on.
Step 2: 1st digits of each block of step 1 is added to a get single block and the second digits of
each block is added to form a single number.
Step 3: Add within the blocks of step 2 and then multiply with 4.
Step 4: Add both block to obtained result to get single number.
11. a
12. d
13. c
14. d
15. b
THANKS

You might also like