In a certain code language, 'GOAL' is coded as '917314', and 'PBKS' is coded as '1841321'. How will 'HAMD' be coded in that language?
This question asks us to decipher a code language based on given examples and then apply the pattern to a new word. We are given the codes for 'GOAL' and 'PBKS' and need to find the code for 'HAMD'.
Let's analyze the relationship between the letters in the words and the numbers in their respective codes.
The given codes are:
Let's consider the alphabetical position of each letter:
Let's look at 'GOAL':
The code is '917314'. If we separate the numbers, we get 9, 17, 3, 14. Let's compare these to the alphabetical positions:
| Letter | Alphabetical Position | Code Segment |
|---|---|---|
| G | 7 | 9 |
| O | 15 | 17 |
| A | 1 | 3 |
| L | 12 | 14 |
Observing the numbers, it appears that each code segment is the alphabetical position plus 2:
Concatenating these results (9, 17, 3, 14) gives '917314', which matches the code for 'GOAL'.
Let's verify this pattern with the second example, 'PBKS'.
Applying the same pattern (alphabetical position + 2):
| Letter | Alphabetical Position | Position + 2 |
|---|---|---|
| P | 16 | 16 + 2 = 18 |
| B | 2 | 2 + 2 = 4 |
| K | 11 | 11 + 2 = 13 |
| S | 19 | 19 + 2 = 21 |
Concatenating these results (18, 4, 13, 21) gives '1841321', which matches the code for 'PBKS'.
The pattern is consistently adding 2 to the alphabetical position of each letter and concatenating the results to form the code.
Now, let's apply this coding pattern to the word 'HAMD'.
Applying the pattern (alphabetical position + 2):
| Letter | Alphabetical Position | Position + 2 |
|---|---|---|
| H | 8 | 8 + 2 = 10 |
| A | 1 | 1 + 2 = 3 |
| M | 13 | 13 + 2 = 15 |
| D | 4 | 4 + 2 = 6 |
Concatenating the results (10, 3, 15, 6) gives '103156'.
Therefore, 'HAMD' is coded as '103156' in this language.
The coding rule is to add 2 to the alphabetical position of each letter and concatenate the resulting numbers. Applying this rule to 'HAMD' gives the code 103156.
| Word | Letters | Alphabetical Position | Position + 2 | Concatenated Code |
|---|---|---|---|---|
| GOAL | G | 7 | 9 | \texttt{917314} |
| O | 15 | 17 | ||
| A | 1 | 3 | ||
| L | 12 | 14 | ||
| PBKS | P | 16 | 18 | \texttt{1841321} |
| B | 2 | 4 | ||
| K | 11 | 13 | ||
| S | 19 | 21 | ||
| HAMD | H | 8 | 10 | \texttt{103156} |
| A | 1 | 3 | ||
| M | 13 | 15 | ||
| D | 4 | 6 |
Coding-decoding questions are common in reasoning sections of various exams. They test your ability to identify patterns and apply rules. Common patterns include:
To solve these problems, it's helpful to write down the alphabet and its positions, carefully observe the given examples, and try different potential patterns.
In a certain code language, 'RAKHI' is coded as 36 - 2 - 22 - 16 - 18 and 'SHALU' is coded as 38 - 16 - 2 - 24 - 42. How will 'MANJU' be coded in that language?
In a code language, if PEN is written as 17717, then how will CAP be written in the same language?
In a certain code language, 'GANGA' is coded as 21-3-42-21-3 and 'KOSHI' is coded as 33-45-57-24-27. How will 'GOMTI' be coded in that language?
In a certain code language, 'LOAD' is coded as '27241613' and 'CLEAN' is coded as '2725231614'. How will 'STRIKE' be coded in that language?