Revision notes

Coding-Decoding: Foundation

The key points, rules to remember, tables and diagrams from all 9 lessons, on one page for quick revision. To keep a copy, use your browser's Print and choose "Save as PDF".

Lesson 1

What coding and decoding means

How to find the rule

  1. Word above its code CAT above DBU.
  2. Write the positions A = 1 ... Z = 26.
  3. Find each change C to D is +1, A to B is +1, T to U is +1.
  4. Same change everywhere? That is the rule; if not, look for a pattern in the changes.

Coding and decoding

  • Coding
    • Word to code, using the rule
    • Rule +1: CAT becomes DBU
  • Decoding
    • Code back to the word
    • Apply the opposite operation
    • Move back 1: KPF becomes JOE

Write alphabet positions under the word and its code. The same change on every letter is the rule.

— Rule to remember
  • Compare each letter with its code letter and use positions to see the shift.
  • Test the rule on every letter, not only the first.
  • To decode, apply the opposite operation.
Read the full lesson

Lesson 2

Letter shifting and the opposite alphabet

The three rules

  • Forward shift +n
    • The letter n steps later
    • Y with +2 wraps around to A
  • Backward shift −n
    • The reverse of a forward shift
    • B with −2 wraps around to Z
  • Opposite letter
    • A and Z, B and Y, C and X
    • A pair's positions add up to 27

Finding the opposite letter

  1. Take the position D = 4.
  2. Subtract from 27 27 − 4 = 23.
  3. Name the letter 23 is W.

Opposite letters add up to 27. For wrap-around, add or subtract 26.

— Rule to remember
  • Use position arithmetic; add or subtract 26 for wrap-around.
  • Opposite pairs sum to 27.
  • Decode by reversing the operation.
Read the full lesson

Lesson 3

Substitution codes and word codes

Substitution: follow the chain

  1. Read the question What is the colour of blood?
  2. Find the real object Blood is red in reality.
  3. Look up its new name Red is called black.

Word codes: find the repeat

  1. A code word in two sentences 'ko' is in 'pi ko' and 'ko ma'.
  2. An English word in the same two 'sky' is in both, so ko means sky.
  3. Match what is left pi means blue.
  4. Build a code table
Code table from Example 3
CodeMeaning
piblue
kosky
mahigh
ruhill

In word codes, the word common to two sentences matches the code common to those sentences.

— Rule to remember
  • In substitution codes, identify the real object first, then give its new name.
  • In word codes, match repeated words across sentences.
  • Make a small code table as you go.
Read the full lesson

Lesson 4

Number codes and letter-to-number coding

Letters into numbers

  • Alphabet position PAN is 16-1-14.
  • Sum of the positions CAT = 3 + 1 + 20 = 24.
  • Fixed numbers given in the question R = 1, A = 2, M = 3, S = 4, so MARS is 3214.
LetterAEIMRTZ
Position15913182026

Know your alphabet positions well; memorise A=1, E=5, J=10, O=15, T=20, Z=26 as anchor points.

— Rule to remember
  • A = 1 to Z = 26 is the standard unless the question gives other values.
  • Check whether the question wants a list of positions or their sum.
  • Decode numbers back to letters by counting along the alphabet.
Read the full lesson

Lesson 5

Mixed and multi-step codes

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

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

— Rule to remember
  • Apply the steps in the order given.
  • Decode by undoing the last step first.
  • Write the intermediate result so you can check each step.
Read the full lesson

Lesson 6

Rearranging letters: reversal, swaps and jumbling

Six rearrangement rules
RuleExample wordCode
Reverse the whole wordFAMILYYLIMAF
Move the first letter to the endSTONETONES
Move the last letter to the frontGARDENNGARDE
Swap each pair of neighbouring lettersSPRINGPSIRGN
Arrange the letters in alphabetical orderPLANETAELNPT
Swap the first and last lettersBOATTOAB

How to work without mistakes

  1. Number the letters 1, 2, 3 and so on.
  2. Write the new order Reversing six letters: 6, 5, 4, 3, 2, 1.
  3. Copy the letters in that order
  4. Count the letters Same number as the word.

Decoding a rearrangement

  • A reversal
    • Reverse again
    • A reversal undoes itself
    • NAMOW becomes WOMAN
  • Last letter moved to the front
    • Move the first letter to the end
    • The opposite move
    • NGARDE becomes GARDEN

Number the letters, write the new order, then copy the letters. To decode, apply the opposite move.

— Rule to remember
  • Rearrangement codes keep the same letters.
  • Numbering the letters makes any rearrangement easy to follow.
  • To decode, undo the move: reverse again, or move the other way.
Read the full lesson

Lesson 7

Vowel and consonant rules in codes

Four rules that treat vowels and consonants differently
RuleExample wordCode
Every vowel becomes a star (*)PLANETPL*N*T
Every vowel moves one letter forward (A to B, E to F, I to J, O to P, U to V)MANGOMBNGP
Every vowel is replaced by its rank (A = 1, E = 2, I = 3, O = 4, U = 5)HOUSEH45S2
Every consonant moves one letter forward; vowels stay the sameDOGEOH

Method

  1. Mark each letter V or C
  2. Apply the vowel rule Only to letters marked V.
  3. Apply the consonant rule Only to letters marked C.
  4. Rejoin in the original order

Can the code be decoded?

  • Rank rule: yes
    • Each number stands for only one vowel
    • 4 is O, 5 is U, 2 is E
    • H45S2 is HOUSE
  • Star rule: not exactly
    • The star does not tell you which vowel it replaced
    • It can code a word but not decode a unique word

Split the word into vowels and consonants, apply each rule to its own letters, and rejoin in order.

— Rule to remember
  • Mark each letter as a vowel or a consonant first.
  • Apply each rule only to the correct kind of letter.
  • A star rule can be used to code but not to decode a unique word.
Read the full lesson

Lesson 8

Letter-to-number codes: sums, differences and products

Rules to know

  • Double each position BAG is 4-2-14.
  • Triple each position ACE is 3-9-15.
  • Add the first and last CAT is 3 + 20 = 23.
  • Multiply all the positions BAD is 2 x 1 x 4 = 8.
  • Add 1 to each position BAD is 3-2-5.
Rules for number codes
RuleExampleResult
Double each positionBAG4-2-14
Triple each positionACE3-9-15
Add the first and last positionsCAT3 + 20 = 23
Multiply all the positionsBAD2 x 1 x 4 = 8
Add 1 to each positionBAD3-2-5

Decoding 4-16-8 (rule: add 1)

  1. Undo the arithmetic Subtract 1 from each: 3, 15, 7.
  2. Turn numbers into letters C, O, G.
  3. The word COG.

Write the positions first. Then do the arithmetic the rule asks for, one step at a time.

— Rule to remember
  • Write letters as numbers before doing any arithmetic.
  • Sums do not change when the letters are rearranged. Products do not change either.
  • To decode, undo the arithmetic and then turn the numbers back into letters.
Read the full lesson

Lesson 9

Building a letter table from coded examples

Building a letter table

  1. Letter under symbol Each coded word with its code underneath.
  2. Find a shared letter And the symbol that appears in both codes.
  3. Write the pair in a table
  4. Continue Until every letter you need is in the table.
  5. Check, then use Against every given word.

PEN is 312, PIN is 342

  • What is the same
    • P is first: 3
    • N is last: 2
  • What differs
    • Second letter E or I
    • Second digit 1 or 4
    • So E = 1 and I = 4

Match words to codes position by position. Build the table first, then check it, then use it.

— Rule to remember
  • A letter table is built by matching shared letters and shared symbols.
  • Check the table on every given word.
  • Words with one different letter show exactly which symbol belongs to that letter.
Read the full lesson

Privacy · Terms · Refunds · Delivery