In a certain code language, 'BED' is written as '122' and 'CAB' is written as '37'. How will 'ADD' be written in that code language?
82
This question involves a coding-decoding pattern where words are represented by numbers. We need to decipher the logic used to convert 'BED' to '122' and 'CAB' to '37' to find the code for 'ADD'.
Let's look at the letters and their standard positional values in the English alphabet (A=1, B=2, C=3, ..., Z=26):
Now, let's try to find a mathematical relationship between the positional values and the given codes (122 and 37).
Let's consider possible operations on the positional values:
Neither 11 nor 6 directly relates to 122 or 37 through simple multiplication or addition.
Let's try squaring the sum of positional values:
We can see that 121 is very close to 122, and 36 is very close to 37. In both cases, the given code is exactly 1 more than the square of the sum of the positional values.
This suggests the coding pattern is: $(\text{Sum of positional values of letters})^2 + 1$
Let's confirm the pattern with the given words:
| Word | Positional Values | Sum of Positional Values | $(\text{Sum})^2$ | $(\text{Sum})^2 + 1$ | Given Code | Matches? |
|---|---|---|---|---|---|---|
| BED | 2, 5, 4 | $2+5+4 = 11$ | $11^2 = 121$ | $121 + 1 = 122$ | 122 | Yes |
| CAB | 3, 1, 2 | $3+1+2 = 6$ | $6^2 = 36$ | $36 + 1 = 37$ | 37 | Yes |
The pattern holds true for both examples.
Now, let's apply the same logic to find the code for 'ADD'.
Positional values for 'ADD': A=1, D=4, D=4
Therefore, 'ADD' will be written as '82' in this code language.
Based on the established pattern, the code for 'ADD' is 82.
| Concept | Description | Example Logic |
|---|---|---|
| Positional Value | Assigning numerical value based on alphabet order (A=1, B=2, etc. or A=26, B=25, etc.). | BED: B=2, E=5, D=4 |
| Sum of Values | Adding the positional values of letters in a word. | BED: $2+5+4=11$ |
| Mathematical Operations | Applying arithmetic operations (addition, subtraction, multiplication, division, squaring, cubing) to the sum or individual values. | $(Sum)^2 + 1$ |
| Pattern Recognition | Identifying the consistent rule applied across multiple examples. | The rule $(\text{Sum})^2 + 1$ works for both BED and CAB. |
Coding decoding questions test your ability to identify patterns and apply them. Common types include:
Practicing different types helps you become familiar with various logic patterns, including positional values, reverse positional values, skipping letters, arithmetic operations, etc.
In a certain code language, ‘RAJ’ is coded as ‘87’ and ‘GITA’ is coded as ‘148’. How will ‘VARUN’ be coded in that language?
In a certain code language, ‘ALPINE’ is coded as ‘171’ and ‘SPRING’ is coded as ‘83’. How will ‘CAPITAL’ be coded in that language?
In a certain code language, ‘SERVANT’ is coded as ‘192182211420’. How will ‘MAGNIFY’ be coded as in that language?
If CAB is coded as 6 and BED is coded as 40, then how will HAD be coded as?
In a certain code language, 'FUEL’ is coded as '50' and 'JEER' is coded as '44'. How will 'FARE' be coded in that language?