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

In a certain code language, ‘DKQX’ is written as ‘WPJC’. How will ‘AFKP’ be written as in that language?

This question was previously asked in
SSC CGL 2019 (Tier 2) GS Finance & Economics Previous Year Paper (17-Nov-2020)
The correct answer is

ZUPK

Understanding Code Language Patterns: Decoding DKQX to WPJC

This question asks us to decipher a coding pattern used to transform the word 'DKQX' into 'WPJC' and then apply that same pattern to code the word 'AFKP'. These types of problems test our ability to recognize logical relationships between letters.

Analyzing the Given Code: DKQX to WPJC

Let's examine the relationship between each letter in 'DKQX' and its corresponding letter in 'WPJC'. We can use the position of each letter in the English alphabet (A=1, B=2, ..., Z=26) to find the pattern.

Original Letter Position Coded Letter Position Relationship
D 4 W 23 $4 + 23 = 27$
K 11 P 16 $11 + 16 = 27$
Q 17 J 10 $17 + 10 = 27$
X 24 C 3 $24 + 3 = 27$

Observing the relationship column, we see that the sum of the positions of the original letter and the coded letter is always 27. This indicates that each letter is replaced by its "opposite" letter in the alphabet. Opposite letters are pairs like A and Z, B and Y, C and X, and so on, where counting from the beginning and end of the alphabet meets.

Applying the Code Pattern to AFKP

Now we will apply this same rule (replacing each letter with its opposite) to the word 'AFKP'.

  • A: The position of A is 1. The letter whose position is $27 - 1 = 26$ is Z. So, A codes to Z.
  • F: The position of F is 6. The letter whose position is $27 - 6 = 21$ is U. So, F codes to U.
  • K: The position of K is 11. The letter whose position is $27 - 11 = 16$ is P. So, K codes to P.
  • P: The position of P is 16. The letter whose position is $27 - 16 = 11$ is K. So, P codes to K.

Combining the coded letters, 'AFKP' is coded as 'ZUPK'.

Conclusion on AFKP Encoding

Following the coding rule where each letter is replaced by its alphabetical opposite (sum of positions equals 27), the word 'AFKP' is coded as 'ZUPK'.

Revision Table: Key Concepts in Coding Decoding

Concept Description Example
Letter Positioning Assigning a numerical value to each letter based on its alphabetical order (A=1, Z=26). C=3, L=12, Y=25
Opposite Letters Pairs of letters whose positions sum to 27 (A-Z, B-Y, etc.). D is opposite W ($4+23=27$)
Pattern Recognition Identifying the logical rule or transformation between the original word and its coded form. Addition, subtraction, position shifts, reversal, opposite letters, etc.
Application Applying the identified pattern consistently to a new word to find its code. Using the same rule for AFKP as found for DKQX.

Additional Information: Types of Letter Coding

Coding and decoding questions often involve different types of patterns. Understanding these can help solve problems quickly:

  • Letter Shifting/Position Shifting: Each letter is shifted a fixed number of positions forward or backward in the alphabet. (e.g., A becomes C, B becomes D - a shift of +2).
  • Direct Letter Replacement: A specific letter is always replaced by another specific letter, but without a consistent shift pattern throughout the word. Often seen in larger coding examples.
  • Opposite Letters: As seen in this problem, letters are replaced by their alphabetical opposites.
  • Reversal: The order of letters in the word might be reversed before or after another rule is applied.
  • Mixed Patterns: Sometimes a combination of rules is used, possibly applying different rules to different parts of the word or alternating rules.

Solving more coding decoding practice questions helps in quickly identifying these various patterns.

Was this answer helpful?

Similar Questions

  1. In a certain code language, ‘STAR’ is written as ‘8110291’, ‘GIFT’ is written as '02697'. How will ‘DOLL’ be written 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, ‘CROWD’ is coded as 23415924 and ‘TRHICK’ is coded as 162491997. How will ‘FRUGAL’ be coded in that language?

  8. In a certain code language, ‘TURKEY’ is written as ‘76911525’. How will ‘BREATH’ be written in that language? 

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

  10. In a certain code language, ‘NOSTALGIA’ is coded as ‘81’. How will ‘FRICTION’ be coded 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 CGL img
SSC
SSC CGL (Tier I + Tier II) 2026 Mock Test Series - Latest Pattern
2503 Tests 6 Tests Free
5375 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