AI InterviewSearch…Search problems, topics, or pages…Ctrl KGet started
Mediumletter values

~75s

Words coded by letter sums

If CAT = 24 and DOG = 26, what is the code for PIG? (A = 1, B = 2, …, Z = 26.)

Show the answer and the worked solution

Correct answer: C.

32

Worked solution

  1. CAT = 3 + 1 + 20 = 24 ✓ and DOG = 4 + 15 + 7 = 26 ✓.
  2. PIG = 16 + 9 + 7 = 32.

Answer: 32.

The idea

Numeric codes are usually the sum of positions, sometimes with a constant added. Verify against both examples before applying.

Shortcut. Once the sum rule checks out, the units digit decides: P (16) + I (9) + G (7) has units 6 + 9 + 7 = 22 → 2, and only 32 ends in 2.

Common trap. "31" — taking P as the 15th letter (that is O); P is the 16th, and 16 + 9 + 7 = 32.

Words coded by letter sums — Aptitude Question

Words coded by letter sums: If CAT = 24 and DOG = 26, what is the code for PIG? (A = 1, B = 2, …, Z = 26.) Answer and worked solution on CodeKairo.

Question

If CAT = 24 and DOG = 26, what is the code for PIG? (A = 1, B = 2, …, Z = 26.)

Options

  1. 30
  2. 31
  3. 32
  4. 34
Show the answer and the worked solution

Correct answer: C. 32

Worked solution

  1. CAT = 3 + 1 + 20 = 24 ✓ and DOG = 4 + 15 + 7 = 26 ✓.
  2. PIG = 16 + 9 + 7 = 32.

Answer: 32.

The idea

Numeric codes are usually the sum of positions, sometimes with a constant added. Verify against both examples before applying.

Shortcut. Once the sum rule checks out, the units digit decides: P (16) + I (9) + G (7) has units 6 + 9 + 7 = 22 → 2, and only 32 ends in 2.

Common trap. "31" — taking P as the 15th letter (that is O); P is the 16th, and 16 + 9 + 7 = 32.

All Coding & Decoding questions · placement mock tests