• Foundation
  • About 14 min
  • 5 practice questions

Mixed and multi-step codes

Handle codes that combine two steps, such as reversing a word and then shifting letters, and decide in what order to undo them.

If something looks wrong, please tell us.

Harder questions combine two operations. The key is to do them in the order the question gives. When you decode, undo the steps in the reverse order.

Typical combinations

  • Reverse the word, then shift each letter forward by 1.
  • Swap the first and last letters, then use the next letter in the alphabet.
  • Replace each letter with the opposite letter, then reverse.
  • Use letter positions, then add a fixed number.

Worked examples

Example 1. Rule: reverse the word, then move each letter forward by 1. Code the word NOTE. Reversed, NOTE becomes ETON. Then shift each letter by +1: E to F, T to U, O to P, N to O. The code is FUPO.

Example 2. Rule: swap the first and last letters. Code BOAT. The first letter is B and the last is T. Swapping gives T, O, A, B: TOAB.

Example 3. Rule: replace each letter with its opposite, then reverse the result. Code CAT. Opposites: C to X, A to Z, T to G, which gives XZG. Reversed: GZX.

Example 4 (decoding a two-step code). The code is FUPO, made by reversing and then shifting +1. To decode, undo the steps in reverse order. First undo the shift: F to E, U to T, P to O, O to N, which gives ETON. Then undo the reversal: NOTE.

NOTE and FUPO: two steps each way

  • Coding: steps in the order given
    • 1. Reverse: NOTE becomes ETON
    • 2. Shift +1: ETON becomes FUPO
  • Decoding: undo in reverse order
    • 1. Undo the shift: FUPO becomes ETON
    • 2. Undo the reversal: ETON becomes NOTE

Example 5. Rule: positions of the letters, then add 2 to each. Code the word BAD. Positions 2, 1, 4. Add 2 to each: 4-3-6.

To decode a multi-step code, undo the steps in the reverse order of coding.

— Rule to remember

Key takeaways

  • Apply the steps in the order given.
  • Decode by undoing the last step first.
  • Write the intermediate result so you can check each step.

Check your understanding

  1. 1. Rule: reverse the word, then move each letter forward by 1. What is the code for SUN?

    1. OVT
    2. OUT
    3. RTM
    4. TVO
    Show answer

    Answer: A. Reversed, SUN becomes NUS. Then +1: N to O, U to V, S to T. The code is OVT.

  2. 2. Rule: swap the first and last letters. What is the code for PLANT?

    1. TLANP
    2. LPANT
    3. PLANT
    4. TNALP
    Show answer

    Answer: A. The first letter is P and the last is T. Swapping them gives T, L, A, N, P: TLANP.

  3. 3. Rule: replace each letter with its opposite, then reverse the result. What is the code for BAG?

    1. TYZ
    2. YZT
    3. ZTY
    4. TZY
    Show answer

    Answer: D. Opposites: B to Y, A to Z, G (7) to T (20), giving YZT. Reversed: TZY.

  4. 4. A word was coded by reversing it and then moving each letter forward by 1. The code is UBD. What is the word?

    1. ACT
    2. TAC
    3. CAT
    4. VCE
    Show answer

    Answer: C. Undo the steps in reverse order. First undo the shift: U to T, B to A, D to C, giving TAC. Then undo the reversal: CAT.

  5. 5. Rule: write the position of each letter, then add 3. What is the code for CAB?

    1. 3-1-2
    2. 6-4-5
    3. 5-4-5
    4. 6-4-6
    Show answer

    Answer: B. Positions are C = 3, A = 1, B = 2. Adding 3 to each gives 6, 4, 5, so the code is 6-4-5.

Privacy · Terms · Refunds · Delivery