• Practice
  • About 12 min
  • 5 practice questions

Letter shifting codes

Encode and decode words by shifting every letter forward or backward by a fixed number of places, and by using the opposite-letter rule.

If something looks wrong, please tell us.

In coding-decoding, a word is changed into a code by a fixed rule and you must apply the same rule to a new word. The most common rule shifts every letter by the same number of places in the alphabet.

Method

  1. Compare the first letter of the word and its code to find the shift.
  2. Check the second and third letters to confirm the shift is the same.
  3. Apply the confirmed rule to the new word.
  4. For the opposite-letter rule, position p becomes 27 - p (A with Z, B with Y).

Worked example 1

If CAT is coded as DBU, find the code for DOG. Each letter moves 1 forward (C to D, A to B, T to U). For DOG: D to E, O to P, G to H. The code is EPH.

Worked example 2

Using the opposite-letter rule, find the code for SKY. S is position 19, and 27 - 19 = 8, which is H. K is 11, and 27 - 11 = 16, which is P. Y is 25, and 27 - 25 = 2, which is B. The code is HPB.

Find the shift on the first pair, confirm on a second letter, then apply.

— Rule to remember

Key takeaways: find and confirm the shift, remember 27 - p for opposite letters, and apply the rule to every letter of the new word.

Check your understanding

  1. 1. If each letter is shifted 1 forward, what is the code for WIND?

    1. XJOE
    2. VHMC
    3. XIOE
    4. XJOF
    Show answer

    Answer: A. W to X, I to J, N to O, D to E gives XJOE.

  2. 2. If each letter is shifted 2 forward, what is the code for CODE?

    1. DPEF
    2. EQFG
    3. EQFF
    4. ERFG
    Show answer

    Answer: B. C to E, O to Q, D to F, E to G gives EQFG.

  3. 3. If GATE is coded as HBUF, what is the code for SALT?

    1. RZKS
    2. TBMT
    3. TBMU
    4. UBMU
    Show answer

    Answer: C. G to H, A to B, T to U, E to F: the shift is 1 forward, confirmed on every letter. So S to T, A to B, L to M, T to U, giving TBMU.

  4. 4. Using the opposite-letter rule, what is the code for KING?

    1. PRMS
    2. PSMT
    3. QRMT
    4. PRMT
    Show answer

    Answer: D. Use 27 - p. K (11) to 16 = P, I (9) to 18 = R, N (14) to 13 = M, G (7) to 20 = T. The code is PRMT.

  5. 5. If MAT is coded as KYR, what is the code for PIN?

    1. NGM
    2. NGL
    3. OHM
    4. RKP
    Show answer

    Answer: B. M to K is 2 back; confirm on A to Y (wrapping round) and T to R. So P to N, I to G, N to L, giving NGL.

Sign in to keep track of the lessons you finish.

Next lesson → Substitution codes

Privacy · Terms · Refunds · Delivery