- 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
- Compare the first letter of the word and its code to find the shift.
- Check the second and third letters to confirm the shift is the same.
- Apply the confirmed rule to the new word.
- 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.
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. If each letter is shifted 1 forward, what is the code for WIND?
- XJOE
- VHMC
- XIOE
- XJOF
Show answer
Answer: A. W to X, I to J, N to O, D to E gives XJOE.
-
2. If each letter is shifted 2 forward, what is the code for CODE?
- DPEF
- EQFG
- EQFF
- ERFG
Show answer
Answer: B. C to E, O to Q, D to F, E to G gives EQFG.
-
3. If GATE is coded as HBUF, what is the code for SALT?
- RZKS
- TBMT
- TBMU
- 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. Using the opposite-letter rule, what is the code for KING?
- PRMS
- PSMT
- QRMT
- 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. If MAT is coded as KYR, what is the code for PIN?
- NGM
- NGL
- OHM
- 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.