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

In a certain code language, 'BAYONET' is written as '2176552' and 'JOKE' is written as '1625'. How will 'HAPPIER' be written as in that language?

This question was previously asked in
SSC Stenographer 2020-21 Previous Year Paper (15-Nov-2021) (Shift 2)
The correct answer is

8177959

Understanding the Coding Decoding Logic

This coding decoding question asks us to find the rule used to convert words into numbers. We are given two examples: 'BAYONET' is coded as '2176552' and 'JOKE' is coded as '1625'. We need to apply the same rule to find the code for 'HAPPIER'.

Let's look at the alphabetical position of each letter in the given words and compare it with the corresponding numbers in the code.

Analyzing the Code for 'BAYONET'

The letters in 'BAYONET' and their alphabetical positions are:

  • B is the 2nd letter
  • A is the 1st letter
  • Y is the 25th letter
  • O is the 15th letter
  • N is the 14th letter
  • E is the 5th letter
  • T is the 20th letter

The code for 'BAYONET' is '2176552'. Let's compare:

  • B (2) → 2
  • A (1) → 1
  • Y (25) → 7
  • O (15) → 6
  • N (14) → 5
  • E (5) → 5
  • T (20) → 2

Notice that for single-digit positions (A, B, E), the digit is used directly. For double-digit positions (Y, O, N, T), the digit in the code is the sum of the digits of the position number.

  • Y (25): \(2 + 5 = 7\)
  • O (15): \(1 + 5 = 6\)
  • N (14): \(1 + 4 = 5\)
  • T (20): \(2 + 0 = 2\)

Verifying the Rule with 'JOKE'

Let's apply this rule to 'JOKE'. The letters and their alphabetical positions are:

  • J is the 10th letter
  • O is the 15th letter
  • K is the 11th letter
  • E is the 5th letter

Applying the rule:

  • J (10): \(1 + 0 = 1\)
  • O (15): \(1 + 5 = 6\)
  • K (11): \(1 + 1 = 2\)
  • E (5): \(5\)

This gives the code '1625', which matches the code provided for 'JOKE'. The rule is confirmed: use the digit for single-digit positions and the sum of digits for double-digit positions.

Decoding 'HAPPIER' using the Alphabet Position Logic

Now, we apply the same logic to the word 'HAPPIER'. We will find the alphabetical position of each letter and apply the rule.

  • H is the 8th letter → 8
  • A is the 1st letter → 1
  • P is the 16th letter → \(1 + 6 = 7\)
  • P is the 16th letter → \(1 + 6 = 7\)
  • I is the 9th letter → 9
  • E is the 5th letter → 5
  • R is the 18th letter → \(1 + 8 = 9\)

Final Coded Word for 'HAPPIER'

Combining the digits derived for each letter of 'HAPPIER', we get the code:

8177959

Comparing with Options

Let's compare our derived code '8177959' with the given options:

  1. 8166959
  2. 9188959
  3. 8177918
  4. 8177959

Our result matches option 4.

Revision Table: Coding-Decoding Logic

Concept Explanation Example (from question)
Alphabetical Position The numerical order of a letter in the English alphabet (A=1, B=2, ... Z=26). B is 2nd, Y is 25th, J is 10th.
Single-Digit Position Rule If a letter's position is a single digit (1-9), that digit is used in the code. A (1) → 1, B (2) → 2, E (5) → 5, I (9) → 9, H (8) → 8.
Double-Digit Position Rule If a letter's position is a double digit (10-26), the sum of the digits is used in the code. J (10) → 1+0=1, P (16) → 1+6=7, R (18) → 1+8=9.

Additional Information: Alphabetical Position Coding

Coding based on alphabetical position is a common type of reasoning question. The rules can vary widely. Some common variations include:

  • Using the position directly.
  • Using the position from the end of the alphabet (Z=1, Y=2, etc.).
  • Adding or subtracting a fixed number from the position.
  • Multiplying or dividing the position.
  • Using the sum of digits (as in this question).
  • Squaring the position or digits.
  • Using only vowels or consonants.

To solve these problems, always look for a consistent pattern or rule that applies to all the given examples before applying it to the word you need to code or decode.

Was this answer helpful?

Similar Questions

  1. In a certain code, PAINTER is written as 7195259. How will POEM be written in that code?

  2. In a certain code language, 'UNTIL’ is coded as '201319811' and 'WHERE' is coded as '2274174'. How will 'LIMIT' be coded in that language?

  3. In a certain code language, 'CUT’ is coded as '52322' and 'CAN' is coded as '5316'. How will 'HIT' be coded in that language?

  4. In a certain code language, 'SUM’ is coded as '212519' and 'NET' is coded as '16926'. How will 'MOP' be coded in that language?

  5. In a certain code language, ‘MARS’ is written as ‘1752223’ and ‘TIDE’ is written as ‘241389’. How will ‘BABY’ be written in that language?

  6. In a certain code language, ‘STORM’ is written as ‘12694’ and ‘TREND’ is written as ‘29554’. How will ‘WATER’ be written in that language?

  7. In a certain code language, 'COUNTRY' is written as ‘3-15-21-14-20-18-25' and ‘PEOPLE’ is written as 16-5-15-16-12-5'. How will 'HIGHWAY' be written in that language?


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
SSC CGL
September 30, 2026
UPSSSC PET
October 23, 2026
Test Series
SSC Stenographer img
SSC
SSC Stenographer 2026 Mock Test Series (Latest Version)
1172 Tests 2 Tests Free
3048 Attempts
4.6(263)
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