TECHNOLOGIESTieInn Technologies

Coding-decoding

Coding-decoding: word and number codes

6 min read · 8 practice questions · free

Useful for:IT testsBanksSSC / RailwaysTNPSC

What it is

In number codes, a word becomes a number (or a string of numbers). The question shows one word and its code; you find the rule and code another word.

Common rules:

  1. Sum of positions (A = 1 … Z = 26): CAT = 3 + 1 + 20 = 24
  2. Each letter replaced by its position, written out: BAD = 2 1 4
  3. Reverse positions (Z = 1 … A = 26): CAT = 24 26 7
  4. A combination: sum × number of letters, sum + length, and so on

How to solve it

  1. Write the normal positions of the given word.
  2. Compare them with the code. Is the code their sum? The same numbers? 27 minus each?
  3. If the sum doesn't match, try sum × letters or sum + letters.
  4. Apply the rule to the new word.

Tips and shortcuts

  • Reverse position = 27 − normal position. M (13) → 14, D (4) → 23.
  • If the code is bigger than the sum, try multiplying by the length. If it's a little bigger, try adding the length.
  • Repeated letters make good checks: in MOON, both O's must get the same number.
  • Write the alphabet with numbers once at the start of the exam. It saves time on every coding question.

Solved examples

Example 1 (easy): sum of positions

If PEN = 35, what is INK?

PEN: 16 + 5 + 14 = 35 (sum of positions). INK: 9 + 14 + 11 = 34.

Example 2 (medium): reverse positions

If RICE is written 9 18 24 22, how is DESK written?

R (18) → 9, I (9) → 18: reverse positions. DESK → 23 22 8 16. 23 22 8 16.

Example 3 (hard): sum × length

If TREE = 192, what is SHIP?

TREE: 20 + 18 + 5 + 5 = 48. 192 ÷ 48 = 4, the number of letters. So the rule is sum × length.

SHIP: 19 + 8 + 9 + 16 = 52, × 4 = 208.

Example 4 (medium): checking the rule on a second word

If DOG = 78, what is CAT?

DOG: 4 + 15 + 7 = 26, and 26 × 3 = 78 ✓. CAT: 3 + 1 + 20 = 24, × 3 = 72.

Try it

Pick an answer and press Check. Generated questions get new numbers every time you ask.

  1. Question 1easy

    If A = 1, B = 2, … Z = 26 and DESK = 39, what is GOLD?

  2. Question 2easy

    If A = 1, B = 2, … Z = 26 and BELL = 31, what is LEAF?

  3. Question 3easy

    If A = 1, B = 2, … Z = 26 and BOOK = 43, what is WIND?

  4. Question 4medium

    In a code, PEN is written as 11 22 13. How is STAR written?

  5. Question 5medium

    In a code, LAMP is written as 15 26 14 11. How is RAIN written?

  6. Question 6medium

    In a code, MOON is written as 14 12 12 13. How is WIND written?

  7. Question 7hard

    In a code, the value of a word is (sum of letter positions, A = 1) × (number of letters). FISH = 168. What is LAMP?

  8. Question 8hard

    In a code, the value of a word is (sum of letter positions, A = 1) × (number of letters). WIND = 200. What is SHIP?

Ready for a timed set?

Fresh questions on just this problem type, with a score and every explanation at the end. Free.

Test me on this →