- Foundation
- About 13 min
- 5 practice questions
Vowel and consonant rules in codes
Learn codes in which vowels and consonants are treated differently, such as vowels replaced by a symbol or number while consonants shift.
If something looks wrong, please tell us.
In some codes the rule depends on the kind of letter. Vowels (A, E, I, O, U) are treated in one way, and consonants (all other letters) in another. This makes the code look complicated, but if you split the word into vowels and consonants and handle each kind separately, it becomes simple.
Typical rules
| Rule | Example word | Code |
|---|---|---|
| Every vowel becomes a star (*) | PLANET | PL*N*T |
| Every vowel moves one letter forward (A to B, E to F, I to J, O to P, U to V) | MANGO | MBNGP |
| Every vowel is replaced by its rank (A = 1, E = 2, I = 3, O = 4, U = 5) | HOUSE | H45S2 |
| Every consonant moves one letter forward; vowels stay the same | DOG | EOH |
Method
Method
- Mark each letter V or C
- Apply the vowel rule Only to letters marked V.
- Apply the consonant rule Only to letters marked C.
- Rejoin in the original order
- Write the word and mark each letter V (vowel) or C (consonant) underneath.
- Apply the rule for vowels only to the letters marked V.
- Apply the rule for consonants only to the letters marked C.
- Join the letters back in the original order.
Worked examples
Example 1. Replace every vowel in PLANET with *. The letters are P, L, A, N, E, T. A and E are vowels. The code is **PL*N*T**.
Example 2. Move every vowel of MANGO one letter forward and leave consonants as they are. M stays M. A becomes B. N stays N. G stays G. O becomes P. The code is MBNGP.
Example 3. Replace each vowel in HOUSE by its rank, where A = 1, E = 2, I = 3, O = 4 and U = 5. The letters are H, O, U, S, E. H stays H. O becomes 4. U becomes 5. S stays S. E becomes 2. The code is H45S2.
Example 4. Move every consonant one letter forward and leave vowels. For DOG, D becomes E, O stays O and G becomes H. The code is EOH.
Example 5 (decoding). The code for a word is H45S2 under the rank rule. Put back the vowel for each number: 4 is O, 5 is U, 2 is E. The word is HOUSE. Decoding works when each number or symbol stands for only one letter. With the star rule alone you cannot decode a word exactly, because the star does not tell you which vowel it replaced.
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.
Example 6. Move every consonant one letter forward and every vowel one letter back. Code PEN. P is a consonant, so it becomes Q. E is a vowel, so it becomes D. N is a consonant, so it becomes O. The code is QDO. Mark each letter first; it is easy to apply the wrong rule to a letter when you do two things in one pass.
Examiners like vowel-and-consonant codes because they test care, not knowledge. The arithmetic is simple, but the rule changes from letter to letter. Work slowly, and always write V or C under each letter before you begin.
Common mistakes
- Treating Y as a vowel. In these questions only A, E, I, O and U are vowels unless the question says otherwise.
- Shifting the vowels when the rule says to shift the consonants.
- Forgetting that Z wraps round to A, if a consonant shift reaches the end of the alphabet.
Key takeaways
- 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.
Check your understanding
-
1. Every vowel is replaced by a star (*). What is the code for BOAT?
- B*AT
- BO*T
- OT
- B**T
Show answer
Answer: D. The vowels in BOAT are O and A. Replacing them gives B, , , T.
-
2. Every vowel moves one letter forward. What is the code for ROPE?
- RPPF
- SPQF
- RQPF
- RPOF
Show answer
Answer: A. R stays R. O becomes P. P stays P. E becomes F. The code is RPPF.
-
3. Every consonant moves one letter forward and vowels stay the same. What is the code for CAT?
- DBU
- CBU
- DAU
- DAT
Show answer
Answer: C. C becomes D. A stays A. T becomes U. The code is DAU.
-
4. Vowels are replaced by rank (A = 1, E = 2, I = 3, O = 4, U = 5). What is the code for MUSIC?
- M4S3C
- M5S3C
- M5S2C
- M3S5C
Show answer
Answer: B. M stays M. U is 5. S stays S. I is 3. C stays C. The code is M5S3C.
-
5. How many letters of EDUCATION are changed by a rule that changes only vowels?
- Four
- Six
- Seven
- Five
Show answer
Answer: D. The vowels in EDUCATION are E, U, A, I and O. That is five letters.
Sign in to keep track of the lessons you finish.