Question:

In a certain code language, if the word RESERVE is coded as GXTGUGT, then how is the word PRESENT coded in that language

Updated On: Dec 23, 2025
  • VPGUGTR
  • VPUGGTR
  • VPGUTGR
  • RGTUGPV
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

The question involves decoding words using a specific pattern found in a code language. Let's analyze the given example and then apply the same logic to find out how the word "PRESENT" will be coded in that language.

Firstly, let's decode the conversion from "RESERVE" to "GXTGUGT": 

  1. Writing down the alphabet positions for "RESERVE":
    • R - Position 18
    • E - Position 5
    • S - Position 19
    • E - Position 5
    • R - Position 18
    • V - Position 22
    • E - Position 5
  2. Writing down the positions for the coded word "GXTGUGT":
    • G - Position 7
    • X - Position 24
    • T - Position 20
    • G - Position 7
    • U - Position 21
    • G - Position 7
    • T - Position 20

Now, we notice the pattern used in encoding. Observe the difference in positions:

  • The shift pattern for each letter in "RESERVE" to get the coded "GXTGUGT" is a forward shift by 13 places. For instance, \(R \to G, E \to X\) where \(R \to 18+13=7\ (G)\) and \(E \to 5+19=24\ (X)\). Here, a wrap around the alphabet is considered.

Applying this same shift of +13 to "PRESENT":

  1. P - Position 16: \(16+13=29\) (V after wrapping)
  2. R - Position 18: \(18+13=31\) (P after wrapping)
  3. E - Position 5: \(5+13=18\) (G after wrapping)
  4. S - Position 19: \(19+13=32\) (U after wrapping)
  5. E - Position 5: \(5+13=18\) (G after wrapping)
  6. N - Position 14: \(14+13=27\) (T after wrapping)
  7. T - Position 20: \(20+13=33\) (R after wrapping)

The encoded string for "PRESENT" thus becomes "VPGUGTR".

The correct answer is: VPGUGTR.

Was this answer helpful?
0
0