- Foundation
- About 13 min
- 5 practice questions
Building a letter table from coded examples
When a code has no shift or pattern, compare coded words that share letters to work out what each symbol stands for, and use the table to code new words.
If something looks wrong, please tell us.
Some codes do not follow a shift, a mirror or a fixed arithmetic rule. Each letter has its own symbol or number, and you are given a few coded words from which to work out the table. This lesson shows how to build that table without guessing.
The idea
If two coded words contain the same letter, the same symbol appears in both codes at the matching place. By comparing words, you can match letters to symbols one at a time. Once a letter-symbol pair is known, you can use it in every other word.
Steps
Building a letter table
- Letter under symbol Each coded word with its code underneath.
- Find a shared letter And the symbol that appears in both codes.
- Write the pair in a table
- Continue Until every letter you need is in the table.
- Check, then use Against every given word.
- Write each coded word with its code directly underneath, letter under symbol.
- Find a letter that appears in two words, and find the symbol that appears in both codes.
- Write that pair in a table.
- Continue until every letter you need is in the table.
- Check the table against every given word before using it.
Worked examples
Example 1. In a code, BEAR is written 3517 and BARE is written 3175. Compare the two words. B is first in both, and 3 is first in both codes, so B = 3. In BEAR, E is second, and in BARE, E is fourth. The second symbol in the first code is 5 and the fourth in the second code is 5, so E = 5. Then A = 1 and R = 7. The code for EAR is 517.
Example 2. In a code, TEA is 247, EAT is 472 and ATE is 724. The three words use the same letters, so the same numbers appear in each code. In TEA, T is first and its code number 2 is first. So T = 2. In EAT, E is first and its code number is 4, so E = 4. Then A = 7. The code for TEAT is 2472.
Example 3. In a code, PEN is 312 and PIN is 342. The words differ only in the second letter, and the codes differ only in the second digit. So E = 1 and I = 4. P = 3 and N = 2. The code for NIP is 243.
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
Example 4 (decoding). In a code, LOT is 182 and TOP is 283. L = 1, O = 8, T = 2, P = 3. What word has the code 382? The digits give P, O, T. The word is POT.
Match words to codes position by position. Build the table first, then check it, then use it.
Traps
- A symbol may appear twice in a code if a letter repeats. In a word such as TOOT, the two Os have the same symbol.
- If a letter you need is not in the table, the question cannot be answered. Look for a different pair of words.
- Do not assume the letters are shifted. If two letters in the same word have the same symbol, a shift rule would not fit.
Key takeaways
- 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.
Check your understanding
-
1. BEAR = 3517 and BARE = 3175. What is the code for EAR?
- 571
- 715
- 517
- 157
Show answer
Answer: C. From the codes, B = 3, E = 5, A = 1 and R = 7. So EAR is 5, 1, 7, which is 517.
-
2. TEA = 247, EAT = 472 and ATE = 724. What is the code for TEAT?
- 2742
- 2472
- 2427
- 2274
Show answer
Answer: B. T = 2, E = 4 and A = 7. TEAT gives 2, 4, 7, 2.
-
3. PEN = 312 and PIN = 342. What is the code for NIP?
- 423
- 234
- 342
- 243
Show answer
Answer: D. The second digit changes from 1 to 4 when E changes to I, so I = 4. N = 2 and P = 3. NIP is 2, 4, 3.
-
4. LOT = 182 and TOP = 283. What is the code for POLT?
- 3812
- 3182
- 3821
- 3281
Show answer
Answer: A. L = 1, O = 8, T = 2 and P = 3. POLT is 3, 8, 1, 2.
-
5. LOT = 182 and TOP = 283. Which word has the code 382?
- POT
- LOP
- TOP
- TOL
Show answer
Answer: A. The digits 3, 8, 2 stand for P, O, T. The word is POT.
Sign in to keep track of the lessons you finish.