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

In a certain code language, 'PUBLIC' is written as 'TIEIUY' and 'SERVER' is written as 'WEUSEN'. How will 'DIRECT' be written in that language?

This question was previously asked in
SSC CGL 2023 (Tier-II) Paper 1 Previous Year Paper (26-Oct-2023) (Shift-1)
The correct answer is

HCUBIP

Finding the Coding Pattern

This question involves a letter coding pattern where words are transformed into coded versions based on a specific rule. We are given two examples: 'PUBLIC' coded as 'TIEIUY' and 'SERVER' coded as 'WEUSEN'. We need to find the rule and apply it to 'DIRECT'.

Let's analyze the transformation by looking at the letters at each position in the original and coded words:

Position PUBLIC TIEIUY SERVER WEUSEN
1 P T S W
2 U I E E
3 B E R U
4 L I V S
5 I U E E
6 C Y R N

Analyzing Positional Transformations

Let's observe the letter changes at each position:

  • Position 1: P → T (+4), S → W (+4). The pattern is adding 4 to the letter's alphabetical value. $P(16) \xrightarrow{+4} T(20)$, $S(19) \xrightarrow{+4} W(23)$.
  • Position 3: B → E (+3), R → U (+3). The pattern is adding 3. $B(2) \xrightarrow{+3} E(5)$, $R(18) \xrightarrow{+3} U(21)$.
  • Position 4: L → I (-3), V → S (-3). The pattern is subtracting 3. $L(12) \xrightarrow{-3} I(9)$, $V(22) \xrightarrow{-3} S(19)$.
  • Position 6: C → Y (-4), R → N (-4). The pattern is subtracting 4. $C(3) \xrightarrow{-4} Y(25)$ (wrapping around Z to A), $R(18) \xrightarrow{-4} N(14)$.

It seems positions 1, 3, 4, and 6 follow consistent shifts: +4, +3, -3, -4 respectively.

Now let's look at positions 2 and 5:

  • Position 2 & 5 (PUBLIC): Original letters are U and I. Coded letters are I and U. The letters U and I seem to swap positions in the coded word relative to their original positions 2 and 5.
  • Position 2 & 5 (SERVER): Original letters are E and E. Coded letters are E and E. The letters E and E seem to swap positions, resulting in no apparent change.

This suggests a rule where the letters at positions 2 and 5 are swapped in the coded word, while the letters at positions 1, 3, 4, and 6 are transformed using the discovered shifts (+4, +3, -3, -4).

Let's verify this combined pattern:

Applying to PUBLIC:

  • Letters at Pos 2 & 5: U, I. Swap them: I, U. These will go into coded positions 2 and 5.
  • Letters at Pos 1, 3, 4, 6: P, B, L, C. Apply shifts:
    • Pos 1: P $\xrightarrow{+4}$ T
    • Pos 3: B $\xrightarrow{+3}$ E
    • Pos 4: L $\xrightarrow{-3}$ I
    • Pos 6: C $\xrightarrow{-4}$ Y
  • Combine the results:
    • Pos 1: T (shifted P)
    • Pos 2: I (swapped U)
    • Pos 3: E (shifted B)
    • Pos 4: I (shifted L)
    • Pos 5: U (swapped I)
    • Pos 6: Y (shifted C)
  • Coded word: TIEIUY. This matches the given code for PUBLIC.

Applying to SERVER:

  • Letters at Pos 2 & 5: E, E. Swap them: E, E. These will go into coded positions 2 and 5.
  • Letters at Pos 1, 3, 4, 6: S, R, V, R. Apply shifts:
    • Pos 1: S $\xrightarrow{+4}$ W
    • Pos 3: R $\xrightarrow{+3}$ U
    • Pos 4: V $\xrightarrow{-3}$ S
    • Pos 6: R $\xrightarrow{-4}$ N
  • Combine the results:
    • Pos 1: W (shifted S)
    • Pos 2: E (swapped E)
    • Pos 3: U (shifted R)
    • Pos 4: S (shifted V)
    • Pos 5: E (swapped E)
    • Pos 6: N (shifted R)
  • Coded word: WEUSEN. This matches the given code for SERVER.

The pattern is confirmed. Apply the same rule to 'DIRECT'.

Applying the Pattern to DIRECT

Original word: D I R E C T

  • Letters at Pos 2 & 5: I, C. Swap them: C, I. These will go into coded positions 2 and 5.
  • Letters at Pos 1, 3, 4, 6: D, R, E, T. Apply the shifts (+4, +3, -3, -4):
    • Pos 1: D $\xrightarrow{+4}$ H
    • Pos 3: R $\xrightarrow{+3}$ U
    • Pos 4: E $\xrightarrow{-3}$ B
    • Pos 6: T $\xrightarrow{-4}$ P
  • Combine the results:
    • Pos 1: H (shifted D)
    • Pos 2: C (swapped I)
    • Pos 3: U (shifted R)
    • Pos 4: B (shifted E)
    • Pos 5: I (swapped C)
    • Pos 6: P (shifted T)
  • The coded word for DIRECT is HCUBIP.

Coded Word for DIRECT

Based on the identified pattern, the word 'DIRECT' is coded as 'HCUBIP'.

Revision Table: Coding-Decoding Pattern

Original Position Rule Applied Example (PUBLIC) Example (SERVER) Applied to DIRECT
1 Letter + 4 P $\xrightarrow{+4}$ T S $\xrightarrow{+4}$ W D $\xrightarrow{+4}$ H
2 Swap letters at Pos 2 & 5 U (swapped to Pos 2) $\rightarrow$ I E (swapped to Pos 2) $\rightarrow$ E I (swapped to Pos 2) $\rightarrow$ C
5 I (swapped to Pos 5) $\rightarrow$ U E (swapped to Pos 5) $\rightarrow$ E C (swapped to Pos 5) $\rightarrow$ I
3 Letter + 3 B $\xrightarrow{+3}$ E R $\xrightarrow{+3}$ U R $\xrightarrow{+3}$ U
4 Letter - 3 L $\xrightarrow{-3}$ I V $\xrightarrow{-3}$ S E $\xrightarrow{-3}$ B
6 Letter - 4 C $\xrightarrow{-4}$ Y R $\xrightarrow{-4}$ N T $\xrightarrow{-4}$ P

Additional Information on Coding-Decoding

Coding-decoding questions are common in logical reasoning sections of competitive exams. They test your ability to identify patterns and rules in how letters, numbers, or words are substituted or rearranged.

Common types of coding-decoding patterns include:

  • Letter Coding: Letters are shifted forward or backward in the alphabet, or specific letters are substituted based on a rule.
  • Number/Symbol Coding: Words are assigned numerical values or symbols based on letter positions, values, or other rules.
  • Mixed Coding: A combination of letters, numbers, or symbols is used, often involving multiple words and their codes to deduce common elements.
  • Word/Phrase Coding: Entire words or phrases are coded, sometimes in a jumbled order, requiring you to match words based on contextual clues or patterns.

Solving these problems often involves comparing the original word and the coded word letter by letter, position by position, looking for shifts, reversals, substitutions, or rearrangements. Identifying the pattern in the given examples is key to applying it to the word you need to code or decode.

Was this answer helpful?

Similar Questions

  1. Which group has letters with a position sum = 29?
  2. In the word "PHYSICS", what is the alphabetical index ($A=1$ to $Z=26$) of the $2^{nd}$ letter from the right?
  3. In a certain code language, if 'PDU' is written as '40' and 'HXO' is written as '34', how will 'BMW' be written in the same code language?

  4. In a certain code language, 'ROSE' is coded as ‘228’ and TULIP" is coded as ‘390'. How will ‘LOTUS’ be coded in that language?

  5. In a certain code language, ‘PLACE’ is written as ‘CONHA’ and ‘SHOCK’ is written as ‘QKQNA’. How will ‘FROWN’ be written in that language?

  6. In a certain code language, if 'DXF' is written as '102 and 'URO' is written as '162', how will 'LNZ' be written in the same code language?

  7. In a certain code language, 'AROUND' is coded as 'CVUCXP' and 'ONLINE' is coded as 'QRRQXQ'. How will 'RUSTIC' be coded in the same language?

  8. In a certain code language, 'ABOVE' is written as '9' and 'SHINE' is written as '11'. How will 'PARTY' be written in that language?

  9. In a certain code language, 'RAT' is coded as '39' and 'MICE' is coded as '30'. How will 'ZEBRA' be coded in that language?

  10. In a certain code language, 'BOOK' is written as '325', 'READ' is written as '400'. How will 'ABLE' be written in that language?


Important Questions from Operations on Place Value

  1. In a certain code language, GRAPES is written as 66. How will PRAISE be written in the same language?

  2. In a certain code language, RAMP is coded as 3611332. How will DELL be coded in that language?

  3. In a certain code language, ALARMING is coded as 150. How will FLOATER be coded in that language?

  4. If B = 3 and H = 9, then SCHOOL = _____

  5. If SCIENCE is coded as 14 and MATHS is coded as 10, then what will be the code for EXAMINATION?

Need Expert Advice?
Upcoming Exams
SSC JHT
September 08, 2026
SSC Stenographer
September 09, 2026
SSC Selection Post
September 16, 2026
Test Series
SSC CGL img
SSC
SSC CGL (Tier I + Tier II) 2026 Mock Test Series - Latest Pattern
2500 Tests 6 Tests Free
3743 Attempts
4.2(832)
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