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

In a code language, NEEDLE is written as MFDEKF. How will HAMMER be written in the same language?

This question was previously asked in
SSC CGL 2018 (Tier 2) Statistics Previous Year Paper (22-feb-2018)
The correct answer is

GBLNDS

Solving the Coding Decoding Problem: NEEDLE to MFDEKF

This question involves decoding a pattern in a given code language and applying it to a new word. We are given that the word NEEDLE is coded as MFDEKF. Our task is to find how the word HAMMER will be written in the same language.

Analysing the Code Language Pattern

Let's look at the relationship between the letters of NEEDLE and its code MFDEKF letter by letter. We can compare the positions of these letters in the English alphabet.

Original Word (NEEDLE) Coded Word (MFDEKF) Position Shift
N (14) M (13) 13 - 14 = -1 (N-1)
E (5) F (6) 6 - 5 = +1 (E+1)
E (5) D (4) 4 - 5 = -1 (E-1)
D (4) E (5) 5 - 4 = +1 (D+1)
L (12) K (11) 11 - 12 = -1 (L-1)
E (5) F (6) 6 - 5 = +1 (E+1)

From the analysis, we can see a clear pattern in the coding rule. The first letter is shifted by -1, the second by +1, the third by -1, the fourth by +1, and so on. The pattern of shifts is alternating: \(-1, +1, -1, +1, -1, +1, \dots\).

Applying the Code Rule to HAMMER

Now, we will apply this alternating \(-1, +1\) shift pattern to the letters of the word HAMMER:

  • For the first letter 'H': H \(-1\) shift gives the letter before H, which is G. (\(H \rightarrow G\))
  • For the second letter 'A': A \(+1\) shift gives the letter after A, which is B. (\(A \rightarrow B\))
  • For the third letter 'M': M \(-1\) shift gives the letter before M, which is L. (\(M \rightarrow L\))
  • For the fourth letter 'M': M \(+1\) shift gives the letter after M, which is N. (\(M \rightarrow N\))
  • For the fifth letter 'E': E \(-1\) shift gives the letter before E, which is D. (\(E \rightarrow D\))
  • For the sixth letter 'R': R \(+1\) shift gives the letter after R, which is S. (\(R \rightarrow S\))

Combining the resulting letters, HAMMER is coded as GBLNDS.

Comparing with Options

Let's compare our coded word GBLNDS with the given options:

  • Option 1: IBLNDS
  • Option 2: GALNDS
  • Option 3: GBLNFT
  • Option 4: GBLNDS

Our result, GBLNDS, matches Option 4.

Conclusion on Coding Decoding

The code language uses an alternating shift pattern for each letter in the word. By identifying this pattern from the example NEEDLE to MFDEKF, we successfully applied it to HAMMER to find its code.

The coded word for HAMMER in this language is GBLNDS.

Revision Table: Coding Decoding Concepts

Concept Description Example (based on question)
Coding Converting a word, number, or series into a secret code based on a specific rule. NEEDLE is coded as MFDEKF.
Decoding Converting the coded message back into the original form. Finding the original word from MFDEKF (which is NEEDLE).
Letter Coding A type of coding where letters of a word are replaced by other letters based on a rule. Using shifts (\(+1\), \(-1\), etc.) or substituting letters.
Pattern Recognition Identifying the specific rule or pattern used in the coding process. Discovering the alternating \(-1\), \(+1\) shift pattern.

Additional Information: Types of Coding Decoding

Coding and decoding questions are common in reasoning tests. They assess your ability to identify patterns and apply rules. Here are some common types:

  • Letter Coding: As seen in this problem, letters are replaced by other letters. The rules can involve shifting positions in the alphabet (\(+n\) or \(-n\)), reversing the alphabet position (A becomes Z, B becomes Y), substituting letters based on a jumbled sequence, or alternating rules like in this question.
  • Number Coding: Words are coded into numbers. This can be based on the positional value of letters (A=1, B=2, etc.), number of letters, sum/product of positional values, or other numerical patterns.
  • Symbol Coding: Words are coded using symbols. Each letter might be assigned a unique symbol.
  • Mixed Coding: A combination of letters, numbers, and symbols is used in the code. Often involves common codes for common words in a given set of statements.
  • Sentence Coding: Entire sentences are coded, often where codes for individual words need to be figured out by comparing different coded sentences.

Practicing different types helps in quickly identifying the pattern during exams.

Was this answer helpful?

Similar Questions

  1. In a certain code language, ‘FROST’ is written as ‘156’ and ‘CANDLE’ is written as ‘78’. How will ‘SCREAM’ be written in that language?

  2. In a certain code language, 'LABOUR' is written as 'XZSECM' and ‘GAINED’ is written as ‘JJRLCH’. How will 'EARNED' be written in that language?

  3. In a certain code language, 'CAKES’ is written as 'FXNBV' and 'ABUSE' is written as 'DYXPH'. How will 'BARKS' be written in that language?

  4. In a certain code language, 'ANNUAL' is written as 'CPRYGR' and ‘AMOUNT’ is written as ‘COSYTZ’. How will 'AGENDA' be written in that language?

  5. In a certain code language, 'TEACHER' is written as 'AETCREH', and ‘STUDENT’ is written as ‘UTSDTNE’. How will 'CLASSES' be written in that language?

  6. In a certain code language, ‘COMMUNITY’ is written as ‘YITUNMCOM’ and ‘AUTHORITY’ is written as ‘YITORHAUT’. How will ‘ISOLATION’ be written in that language?
  7. In a certain code language, ‘FOREST’ is written as ‘GUSITU’, and ‘MANGROVE’ is written as ‘NEOHSUWI’. How will ‘REINCARNATE’ be written in that language?

  8. In a certain code language, ‘DARK’ is written as ‘CBQJ’ and ‘SOUND’ is written as ‘RPVMC’. How will ‘TOXIC’ be written in that language?

  9. In a code language, TROPICAL is written as PORTLACI. How will DISTANCE be written in that language?

  10. In a code language, COMPUTER is written as OCREPMTU. How will DAUGHTER be written in the same language?


Important Questions from Coding and Decoding By Letter Shifting

  1. In a certain code language, BEAT is written as YVZG. What will be the code of MILD?
  2. If BE QUICK is coded as ZC OSGAI, then the code of the last letter of the third word in the sentence I LOVE MY COUNTRY is
  3. In a certain code language, THANKS is written as SKNTHA. How is STUPID written in that code language?
  4. In a certain code, GARNISH is written as RGAINHS. How will GENIOUS be written in that code?

  5. In a certain code language, NOIDA is coded as STNIF. What will be the code for MEERUT?

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
5389 Attempts
4.2(868)
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