All Exams Test series for 1 year @ ₹349 only
Question

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?

This question was previously asked in
SSC CGL 2020 Tier-II (English) Previous Year Paper (29-Jan-2022)
The correct answer is

1-32-48-48-25

Decoding the Pattern in Coding Language Questions

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.

Analyzing the Given Codes: MANGO and GRAPE

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.

  • For M (1st letter): \(13 \times 1 = 13\)
  • For A (2nd letter): \(1 \times 2 = 2\)
  • For N (3rd letter): \(14 \times 3 = 42\)
  • For G (4th letter): \(7 \times 4 = 28\)
  • For O (5th letter): \(15 \times 5 = 75\)

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.

Applying the Pattern to APPLE

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.

Comparing with Options

Let's compare our calculated code with the given options:

  • Option 1: 1-32-24-21-30
  • Option 2: 2-16-48-21-25
  • Option 3: 1-32-48-48-25
  • Option 4: 2-32-48-24-28

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'.

Revision Table: Coding Decoding Key Concepts

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.

Additional Information: Types of Coding Decoding

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:

  • Letter Coding: Letters are replaced by other letters based on a shift (e.g., A becomes C, B becomes D - shift by +2) or a specific pattern.
  • Number Coding: Words are coded as numbers based on patterns related to alphabetical position, sum of positions, number of letters, etc., similar to this problem.
  • Symbol Coding: Letters or words are replaced by symbols.
  • Mixed Coding: Words and codes are given in sentences, and you need to deduce the code for a specific word by comparing sentences.
  • Substitution: Words are replaced by other words (e.g., 'red' is called 'blue', 'blue' is called 'green').

Practicing different types helps in quickly identifying the pattern during an exam.

Was this answer helpful?

Similar Questions

  1. In a certain code language, ‘AROUND’ is coded as ‘52182412144’ and ‘FIX’ is coded as ‘63624’. How will ‘PLASTIC’ be coded in that language?

  2. If POSTER is coded as 592314 and DARK is coded as 8647, then how will STROKE be coded as?

  3. In a certain code language, ‘CROW’ is coded as ‘64’ and ‘EAGLE’ is coded as ‘125’. How will ‘PARROT’ be coded in that language?

  4. In a certain code language, "NIGHT" is written as "ODDGM" and "DARK" is written as "GOYC". How is "GREEN" written in that code language?

  5. 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?

  6. 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?

  7. In a code language, REGULAR is written as GERTRAL. How will BROTHER be written as in that language?

  8. If 5 * 2 = 35, 4 * 3 = 28, then what is 6 * 4?

  9. If ETHANOL is coded as HWKDQRO , then how will MIX be coded as?

  10. If MARBLES is coded as PDUEOHV , then how will GIN be coded as?


Important Questions from Coding Decoding Based on Numbers

  1. If ‘Monday’ is encrypted as 123456 and ‘Belt’ is encrypted as 0789, how would you encrypt the word ‘Tombay’?

  2. 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?

  3. If 31 L 31 J 5 = 186 and 47 J 2 L 43 = 137, then 52 L 64 J 3 = ?

  4. 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 ?

  5. If BUN = 18, MICE = 32, then what is the code for DEMON?

Need Expert Advice?
Upcoming Exams
SSC CGL
September 30, 2026
UPSSSC PET
October 23, 2026
Test Series
SSC CGL img
SSC
SSC CGL (Tier I + Tier II) 2026 Mock Test Series - Latest Pattern
2503 Tests 6 Tests Free
5205 Attempts
4.2(860)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App