In a certain code language, CUSTOMER is written as DWVXPOHV, then how will…

2024

In a certain code language, CUSTOMER is written as DWVXPOHV, then how will PREVIOUS be written in that code language?

  1. A.

    QTIZZJPXW

  2. B.

    OTHZKPXW

  3. C.

    QTHZJQXW

  4. D.

    OTIZJPXW

Attempted by 3 students.

Show answer & explanation

Correct answer: C

Concept

This is a positional letter-shift cipher: each letter of the word is moved forward through the alphabet by a number of places that depends on its position, and the shift amounts repeat in a fixed cycle. Decoding it means first finding that position-wise shift pattern from the given example, then applying the very same pattern to the new word.

Application

Compare CUSTOMER with its code DWVXPOHV, letter by letter, to read off the forward shift at each position:

  1. C → D : +1

  2. U → W : +2

  3. S → V : +3

  4. T → X : +4

  5. O → P : +1

  6. M → O : +2

  7. E → H : +3

  8. R → V : +4

So the shift pattern is the repeating cycle +1, +2, +3, +4, +1, +2, +3, +4. Now apply the identical cycle to PREVIOUS:

  1. P +1 → Q

  2. R +2 → T

  3. E +3 → H

  4. V +4 → Z

  5. I +1 → J

  6. O +2 → Q

  7. U +3 → X

  8. S +4 → W

Reading the coded letters in order gives QTHZJQXW.

Cross-check

The cycle must restart at +1 on the fifth letter: in the example O → P confirms the +1 restart, and here I → J does the same, so the pattern is applied consistently. Both words have 8 letters, so the four-step cycle runs exactly twice and the coded word also has 8 letters.

Explore the full course: Niacl Ao It Specialist