In a certain code language SISTER is written as RJRUDS. How would CARPET be…
2017
In a certain code language SISTER is written as RJRUDS. How would CARPET be written in that code language?
- A.
BBQQFS
- B.
DBSQFU
- C.
BBQQDU
- D.
TEPRAC
Attempted by 2 students.
Show answer & explanation
Correct answer: C
Concept
In a letter-shift (substitution) code, each letter of the original word moves a fixed number of places along the alphabet to give the coded letter. The shift can be the same for every letter, or it can follow a repeating pattern across positions. To break such a code, compare the original word with its code letter-by-letter, find the shift at each position, and then apply the very same position-wise shifts to the new word.
Decode the rule from SISTER → RJRUDS
Line up the two words and read the shift (coded letter minus original letter) at each position:
S → R: one step back, shift −1
I → J: one step forward, shift +1
S → R: shift −1
T → U: shift +1
E → D: shift −1
R → S: shift +1
So the rule is a fixed alternating pattern of shifts by position: −1, +1, −1, +1, −1, +1 — odd positions move one letter back, even positions move one letter forward.
Apply the same pattern to CARPET
C (pos 1, −1) → B
A (pos 2, +1) → B
R (pos 3, −1) → Q
P (pos 4, +1) → Q
E (pos 5, −1) → D
T (pos 6, +1) → U
Reading the coded letters in order gives BBQQDU.
Cross-check
Re-apply the derived pattern to the given example: S−1=R, I+1=J, S−1=R, T+1=U, E−1=D, R+1=S, which reproduces RJRUDS exactly. The same pattern therefore reliably turns CARPET into BBQQDU.