- Practice
- About 13 min
- 5 practice questions
Mixed and double-rule codes
Apply codes that combine two steps, such as alternate shifts or a shift followed by a reversal, and decode them reliably.
If something looks wrong, please tell us.
Harder questions combine two rules, for example +1 and -1 on alternate letters, or reversing the word and then shifting. Do each rule separately and in the stated order.
Method
- Find out the rule for each position of the word from the given example.
- Write the steps in order.
- Apply the steps one at a time to the new word, writing the result after each step.
- Check the final answer against the example, if possible.
Worked example 1
If each odd-position letter moves 1 forward and each even-position letter moves 1 back, code COT. C (position 1) goes to D, O (position 2) goes to N, T (position 3) goes to U. The code is DNU.
Worked example 2
Reverse the word BAT and then shift each letter 1 forward. Reversal gives TAB. Shifting gives T to U, A to B, B to C, so the code is UBC.
Do the steps in the stated order and write each intermediate result.
Key takeaways: handle each rule separately, in order; write intermediate steps; check the example.
Check your understanding
-
1. Alternate letters move +1 and -1, starting with +1. What is the code for FISH?
- EHRG
- GHSG
- GHTG
- GJTI
Show answer
Answer: C. F +1 = G, I -1 = H, S +1 = T, H -1 = G. The code is GHTG.
-
2. Reverse the word PEN, then shift each letter 1 forward. What is the code?
- MDO
- OFQ
- OFP
- QFO
Show answer
Answer: B. Reversal gives NEP. Shifting +1: N to O, E to F, P to Q, so the code is OFQ.
-
3. Shift each letter of ROAD 1 forward, then reverse the result. What is the code?
- DAOR
- EBQS
- SPBE
- EBPS
Show answer
Answer: D. Shifting gives SPBE (R to S, O to P, A to B, D to E). Reversing SPBE gives EBPS.
-
4. Reverse the word CUP, then shift each letter 2 forward. What is the code?
- EWR
- QVD
- RWE
- RVE
Show answer
Answer: C. Reversal gives PUC. Then P + 2 = R, U + 2 = W, C + 2 = E, so the code is RWE.
-
5. Letters in odd positions move 2 forward and letters in even positions move 1 back. What is the code for MAKE?
- OZMD
- KZID
- OBMF
- OZME
Show answer
Answer: A. M (1st) +2 = O, A (2nd) -1 wraps to Z, K (3rd) +2 = M, E (4th) -1 = D. The code is OZMD.
Sign in to keep track of the lessons you finish.