In a certain code language, ‘MANGO’ is coded as ‘13-2-42-28-75’and ‘GRAPE’ is coded as ‘7-36-3-64-25’. How will ‘APPLE’ be coded in that language?
1-32-48-48-25
This question asks us to find the code for the word 'APPLE' based on the coding pattern used for 'MANGO' and 'GRAPE' in a specific language. These types of problems require us to identify the rule or logic applied to convert a word into a code, often involving the letters' positions in the alphabet or their positions within the word.
Let's look at the codes for 'MANGO' and 'GRAPE' and compare them with the alphabetical positions of their letters (A=1, B=2, ..., Z=26).
For MANGO:
| Letter | Alphabetical Position | Position in Word | Given Code |
|---|---|---|---|
| M | 13 | 1st | 13 |
| A | 1 | 2nd | 2 |
| N | 14 | 3rd | 42 |
| G | 7 | 4th | 28 |
| O | 15 | 5th | 75 |
Let's observe the relationship between the alphabetical position, position in the word, and the given code. It appears the code might be the product of the alphabetical position and the position in the word.
This pattern perfectly matches the code for MANGO (13-2-42-28-75).
Let's verify this pattern with GRAPE:
| Letter | Alphabetical Position | Position in Word | Given Code | Calculated Code (Alpha Pos × Word Pos) |
|---|---|---|---|---|
| G | 7 | 1st | 7 | \(7 \times 1 = 7\) |
| R | 18 | 2nd | 36 | \(18 \times 2 = 36\) |
| A | 1 | 3rd | 3 | \(1 \times 3 = 3\) |
| P | 16 | 4th | 64 | \(16 \times 4 = 64\) |
| E | 5 | 5th | 25 | \(5 \times 5 = 25\) |
The calculated codes for GRAPE also match the given code (7-36-3-64-25). The pattern is confirmed.
Now, we will apply the same rule to find the code for the word 'APPLE'.
Rule: Code for a letter = (Alphabetical position of the letter) × (Position of the letter in the word)
| Letter | Alphabetical Position | Position in Word | Calculated Code |
|---|---|---|---|
| A | 1 | 1st | \(1 \times 1 = 1\) |
| P | 16 | 2nd | \(16 \times 2 = 32\) |
| P | 16 | 3rd | \(16 \times 3 = 48\) |
| L | 12 | 4th | \(12 \times 4 = 48\) |
| E | 5 | 5th | \(5 \times 5 = 25\) |
So, the code for 'APPLE' is 1-32-48-48-25.
Let's compare our calculated code with the given options:
Our calculated code, 1-32-48-48-25, matches Option 3.
Therefore, in this code language, 'APPLE' is coded as '1-32-48-48-25'.
| Concept | Description | Example (from this problem) |
|---|---|---|
| Alphabetical Position | The numerical order of a letter in the English alphabet (A=1, B=2, ...). | A=1, M=13, P=16, L=12, E=5 |
| Position in Word | The sequential position of a letter within a given word (1st, 2nd, 3rd, ...). | In APPLE, the first P is 2nd, the second P is 3rd. |
| Coding Pattern | The specific rule or logic used to transform a word or letter into a code. Can involve arithmetic operations, letter swapping, etc. | Code = Alphabetical Position × Position in Word. |
| Decoding | Applying the reverse logic of the coding pattern to find the original word from the code, or applying the identified pattern to a new word. | Finding the code for APPLE using the MANGO/GRAPE pattern. |
Coding and decoding questions are common in competitive exams and test your logical reasoning ability. Besides the letter position-based pattern seen here, other common types include:
Practicing different types helps in quickly identifying the pattern during an exam.
In a certain code language, ‘AROUND’ is coded as ‘52182412144’ and ‘FIX’ is coded as ‘63624’. How will ‘PLASTIC’ be coded in that language?
If POSTER is coded as 592314 and DARK is coded as 8647, then how will STROKE be coded as?
In a certain code language, ‘CROW’ is coded as ‘64’ and ‘EAGLE’ is coded as ‘125’. How will ‘PARROT’ be coded in that language?
In a certain code language, "NIGHT" is written as "ODDGM" and "DARK" is written as "GOYC". How is "GREEN" written in that code language?
In a certain code language, "who are you" is written as "4 3 2", "they is you" is written as "4 8 5" and "they are dangerous" is written as "2 9 5". How is "dangerous" written in that code language?
In a certain code language, ‘POUND’ is coded as ‘106’ and ‘CLEAN’ is coded as ‘41’. How will ‘MAKER’ be coded as in that language?
In a code language, REGULAR is written as GERTRAL. How will BROTHER be written as in that language?
If 5 * 2 = 35, 4 * 3 = 28, then what is 6 * 4?
If ETHANOL is coded as HWKDQRO , then how will MIX be coded as?
If MARBLES is coded as PDUEOHV , then how will GIN be coded as?
If ‘Monday’ is encrypted as 123456 and ‘Belt’ is encrypted as 0789, how would you encrypt the word ‘Tombay’?
In a certain code language, 'IT' is written as '58', 'SAD' is written as '48'. What is the code for 'FISH' in that code language?
If 31 L 31 J 5 = 186 and 47 J 2 L 43 = 137, then 52 L 64 J 3 = ?
If R is coded as 4, M is coded as 1, N is coded as 5, S is coded as 8, Q is coded as 0, L is coded as 6 and P is coded as 3, then what is the coded form of SMLRP ?
If BUN = 18, MICE = 32, then what is the code for DEMON?