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

In a certain code language, HUNGER is written as UHATRE. How will SWIMMING be written as in that language?

This question was previously asked in
RRB NTPC 2019 CBT 1 Question Paper (8-Mar-2021) (Shift 2)
The correct answer is
FJVZZVAT

Code Logic: HUNGER to UHATRE

The problem requires identifying the coding pattern used to transform HUNGER into UHATRE and applying it to encode SWIMMING.

Pattern Identification

Comparing HUNGER and UHATRE reveals a letter-by-letter transformation:

  • H -> U
  • U -> H
  • N -> A
  • G -> T
  • E -> R
  • R -> E

This transformation follows an alternating pattern of the ROT13 cipher, where each letter is shifted by 13 positions forward (+13) or backward (-13) in the alphabet. Alphabetical positions are calculated modulo 26.

  • H (position 8): $8 + 13 = 21$, which corresponds to U.
  • U (position 21): $21 - 13 = 8$, which corresponds to H.
  • N (position 14): $14 + 13 = 27$. Calculated as $27 \pmod{26} = 1$, which corresponds to A.
  • G (position 7): $7 - 13 = -6$. Calculated as $-6 \pmod{26} = 20$, which corresponds to T.
  • E (position 5): $5 + 13 = 18$, which corresponds to R.
  • R (position 18): $18 - 13 = 5$, which corresponds to E.

The sequence of operations is +13, -13, +13, -13, +13, -13.

Encoding SWIMMING

Applying the identified alternating +13/-13 pattern to SWIMMING:

Letter Position Operation Calculation Encoded Letter
S 19 +13 $19 + 13 = 32 \pmod{26} = 6$ F
W 23 -13 $23 - 13 = 10$ J
I 9 +13 $9 + 13 = 22$ V
M 13 -13 $13 - 13 = 0 \pmod{26} = 26$ Z
M 13 +13 $13 + 13 = 26$ Z
I 9 -13 $9 - 13 = -4 \pmod{26} = 22$ V
N 14 +13 $14 + 13 = 27 \pmod{26} = 1$ A
G 7 -13 $7 - 13 = -6 \pmod{26} = 20$ T

Thus, SWIMMING is coded as FJVZZVAT.

Was this answer helpful?

Similar Questions

  1. In a certain code language, 'GIFT' is coded as '7529' and 'FITS' is coded as '2596'.What is the code for 'S' in the given code language?
  2. If LIT is coded as 123, LEFT is coded as 4512 and YELL is coded as 2247, then what will be the code for 'FLY'?
  3. In a certain code language, '924' means 'they like tomato', '935' means 'we love tomato' and '956' means 'tomato love mango'. Which digit is used for 'mango'?
  4. If in a certain code, UNSURE is written as ELGEHU, which of the following options will be written as YNYHM in the same code?
  5. IGBF is related to OMHL in a certain way based on the English alphabetical order. In the same way, KIDH is related to QOJN. To which of the given options is MKFJ related, following the same logic?
  6. In a certain code language, ‘PEST’ is coded as ‘4597’ and ‘HEPS’ is coded as ‘7654’. What is the code for ‘H’ in the given code language?
  7. Select the pair that follows the same pattern as that followed by the two pairs given below. Both pairs follow the same pattern.
    SDF : RCE
    MVZ : LUY
  8. In a certain code language, 'RSMPLDFN' is written as 'LLEGFWXE'. What is the code for 'XZBHQNTV' in that code language?
  9. If A = 26 and T = 7, then AUTHENTIC = ?
  10. In a certain code, ZEBRA is written as ZQADY. How will HINTS be written as in that code?

Important Questions from Coding Decoding

  1. In a code language, INDICATOR is written as JOEJBCVQT. How will EMOTIONAL be written in that language?

  2. There are two rows, each containing 3 numbers. Below are some rules to be used to get the resultant number for each row separately. Use the rule from left to right for each row and find the answer to the question.

    Rule:

    1. If an even number is followed by an even number, then the first number will be subtracted from the second.

    2. If an odd number is followed by an odd number, then both will be added.

    3. If an odd number is followed by an even number, then the even number will be subtracted from the square of the odd number.

    4. If an even number is followed by an odd number, then the odd number will be subtracted from the even number.

    Row I: 9,11, 34

    Row II: 16, 9, 8

    What is the difference between the resultant numbers in the first row and the second row

  3. In a certain code language, 'I belong to you' is written as '# @ © *', 'you belong to them' is written as '©@ % *', 'we belong them' is written as '+ %©'. What is the code for 'we to you' in that code language?

  4. In a certain code language, ' IN' is coded as '23', and 'ARE' is coded as '24'. How will ' HUNGRY'  be coded in that language?

  5. In a certain code language, 'LEATHER' is written as '1251208518', 'ABSCOND' is written as '1219315144'. What is the code for 'DESTROY' in this code language?

Need Expert Advice?
Upcoming Exams
RRB Technician
October 06, 2026
RRB JE
October 27, 2026
RRB ALP
November 03, 2026
Test Series
RRB NTPC img
Railways
RRB NTPC Under Graduate 2026 New Mock Test Series
1580 Tests 2 Tests Free
544 Attempts
4.3(498)
English, Hindi, Telugu +7 More

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