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

In a certain code language, 'BOSS’ is coded as '21967' and 'DEAL' is coded as '19192414'. How will 'GAIN' be coded in that language?

This question was previously asked in
SSC CGL 2022 Tier-II (Paper 2 JSO) Previous Year Paper (04-Mar-2023)
The correct answer is

16231612

Understanding the Coding-Decoding Pattern

This question involves a coding-decoding puzzle where words are converted into numerical codes based on a specific pattern or rule. We are given two examples:

  • 'BOSS' is coded as '21967'
  • 'DEAL' is coded as '19192414'

Our goal is to determine the code for the word 'GAIN' using the same logic.

Analyzing the Given Codes

Let's look at the letters and their positions in the standard English alphabet (A=1, B=2, ..., Z=26).

  • BOSS: B(2), O(15), S(19), S(19) -> Code: 21967 (5 digits)
  • DEAL: D(4), E(5), A(1), L(12) -> Code: 19192414 (8 digits)

The number of digits in the codes is different for words of the same length (4 letters). This suggests the coding isn't a simple concatenation of standard alphabetical positions.

Let's examine the second example, 'DEAL', more closely as its code '19192414' seems to split nicely into four two-digit numbers: 19, 19, 24, 14. If each letter is coded as a two-digit number:

  • D -> 19
  • E -> 19
  • A -> 24
  • L -> 14

Comparing this with the standard positions (D=4, E=5, A=1, L=12) or their reverse positions (D=23, E=22, A=26, L=15) doesn't reveal a simple arithmetic operation.

Discovering the Coding Logic

Let's look at the reverse alphabetical positions. The reverse position of a letter is calculated as $\text{Reverse Position} = 27 - \text{Alphabetical Position}$.

  • DEAL:
  • D: Standard 4, Reverse 27-4 = 23. Code 19. Difference: 23 - 19 = 4.
  • E: Standard 5, Reverse 27-5 = 22. Code 19. Difference: 22 - 19 = 3.
  • A: Standard 1, Reverse 27-1 = 26. Code 24. Difference: 26 - 24 = 2.
  • L: Standard 12, Reverse 27-12 = 15. Code 14. Difference: 15 - 14 = 1.

A pattern emerges: for a 4-letter word, the code for each letter is its reverse alphabetical position minus a decreasing sequence of numbers (4, 3, 2, 1).

Let's test this logic with 'BOSS'. It's also a 4-letter word (N=4), so the subtraction sequence should be 4, 3, 2, 1.

  • BOSS:
  • B: Standard 2, Reverse 27-2 = 25. Subtract 4: 25 - 4 = 21.
  • O: Standard 15, Reverse 27-15 = 12. Subtract 3: 12 - 3 = 9.
  • S: Standard 19, Reverse 27-19 = 8. Subtract 2: 8 - 2 = 6.
  • S: Standard 19, Reverse 27-19 = 8. Subtract 1: 8 - 1 = 7.

Concatenating these results (21, 9, 6, 7) gives '21967', which matches the code for 'BOSS'. The logic holds true for both examples.

Coding the Word 'GAIN'

'GAIN' is a 4-letter word (N=4), so we will use the same pattern: find the reverse alphabetical position of each letter and subtract 4, 3, 2, and 1 respectively.

  • G: Standard 7, Reverse 27-7 = 20. Subtract 4: 20 - 4 = 16.
  • A: Standard 1, Reverse 27-1 = 26. Subtract 3: 26 - 3 = 23.
  • I: Standard 9, Reverse 27-9 = 18. Subtract 2: 18 - 2 = 16.
  • N: Standard 14, Reverse 27-14 = 13. Subtract 1: 13 - 1 = 12.

Concatenating the resulting numbers gives the code for 'GAIN': 16231612.

Comparing with Options

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

  1. 16231512
  2. 16241612
  3. 16231612
  4. 16231611

Our calculated code '16231612' matches Option 3.

Revision Table: Coding Logic Summary

Word Letters Alphabetical Positions Reverse Alphabetical Positions Subtraction Sequence (N=4) Calculation (Reverse Pos - Subtraction) Result Code
BOSS B, O, S, S 2, 15, 19, 19 25, 12, 8, 8 4, 3, 2, 1 25-4=21, 12-3=9, 8-2=6, 8-1=7 21, 9, 6, 7 21967
DEAL D, E, A, L 4, 5, 1, 12 23, 22, 26, 15 4, 3, 2, 1 23-4=19, 22-3=19, 26-2=24, 15-1=14 19, 19, 24, 14 19192414
GAIN G, A, I, N 7, 1, 9, 14 20, 26, 18, 13 4, 3, 2, 1 20-4=16, 26-3=23, 18-2=16, 13-1=12 16, 23, 16, 12 16231612

Additional Information: Types of Coding-Decoding

Coding-decoding questions are common in logical reasoning tests. They assess your ability to identify patterns and rules. Common types include:

  • Letter Coding: Letters are substituted by other letters based on a pattern (e.g., shifting position in the alphabet).
  • Number Coding: Words are coded into numbers. This can be based on alphabetical position, reverse position, number of letters, vowel/consonant counts, or complex arithmetic operations as seen in this problem.
  • Symbol Coding: Letters or words are coded using symbols.
  • Mixed Coding: Words, numbers, and symbols are all used in the coding.
  • Substitution: One word is substituted for another (e.g., 'red' is called 'blue', 'blue' is called 'green').

Solving these questions requires careful observation, pattern identification, and systematic application of the logic derived from the examples.

Was this answer helpful?

Similar Questions

  1. In a code language, CLIMAX is written as 312913124. How will RESIGN be written as in that language?

  2. In a certain code language, ‘FIGURE’ is written as ‘DJEVPF’. How will ‘DECODE’ be written as in that language?

  3. In certain code language, ‘CAUGHT’ is coded as ‘326212087’. How will ‘SOLDER’ be coded as in that language?

  4. In a certain code language, ‘HAMMER’ is written as ‘ICPQJX’. How will ‘WRENCH’ be written as in that language?

  5. In a certain code language, 'REFUSAL' is coded as '2101239103' and 'POETRY' is coded as '1067927'. How will 'PROFIT' be coded in that language?

  6. In a certain code language, ‘PRINTER’ is coded as ‘11181814759’ and ‘LOGIC’ is coded as ‘151520924’. How will ‘TERMITE’ be coded in that language?

  7. In a certain code language, LOOK is coded as 2330 and BALL is coded as 1413. How will HELP be coded in that language?

  8. In a certain code language, 'LOAD' is coded as '27241613' and 'CLEAN' is coded as '2725231614'. How will 'STRIKE' be coded in that language?

  9. In a certain code language, 'STREAM' is coded as 161418445228. How will 'PERIOD' be coded in that language?

  10. If SQUALOR is coded as USWCNQT, then how will WHY be coded as?


Important Questions from Coding Letters of a Word

  1. If JACKAL is coded as 11-2-4-12-2-13, then what is the code for TIGER?

  2. If TEACHER is coded as CAHEETR and STUDENT is coded as DUETNST, then what is the code for SUCCESS?

  3. If SEAT is coded as 4321 and STORM is coded as 41675, then MASTER would be coded as:

  4. FIRE is coded as 3542 and SOAP is coded as 1768, then PREPARE would be coded as

  5. In a certain code language, ‘HAPPY’ is written as ‘JCRRA’ and ‘MAGIC’ is written as ‘OCIKE’. How will ‘LEVEL’ be written in that language?

Need Expert Advice?
Upcoming Exams
UPSSSC PET
October 25, 2026
SSC JE
November 02, 2026
SSC CPO
November 20, 2026
SSC CHSL
November 30, 2026
Test Series
SSC CGL img
SSC
SSC CGL (Tier I + Tier II) 2026 Mock Test Series - Latest Pattern
2503 Tests 6 Tests Free
7930 Attempts
4.2(907)
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