AI InterviewSearch…Search problems, topics, or pages…Ctrl KGet started
Easyletter shift

~40s

If CAT is DBU

In a certain code, CAT is written as DBU. How is DOG written in that code?

Show the answer and the worked solution

Correct answer: D.

EPH

Worked solution

  1. C → D, A → B, T → U: each letter shifts +1.
  2. D → E, O → P, G → H, so DOG becomes EPH.

Answer: EPH.

The idea

Line the words up letter by letter and note the shift for each position. A constant shift is the simplest code and the most common.

Shortcut. Check one letter per option: D must become E (drops DPH) and G must become H (drops EPG); FQI shifts by two, leaving EPH.

Common trap. "DPH" — keeping the D because the code DBU already starts with D; every letter moves one step, so D → E.

Coding & Decoding

1 of 42

Level

Easy

Target time

~40s

PreviousNext

If CAT is DBU — Coding & Decoding Aptitude Question

If CAT is DBU: In a certain code, CAT is written as DBU. How is DOG written in that code? Answer and worked solution on CodeKairo.

Question

In a certain code, CAT is written as DBU. How is DOG written in that code?

Options

  1. EPG
  2. DPH
  3. FQI
  4. EPH
Show the answer and the worked solution

Correct answer: D. EPH

Worked solution

  1. C → D, A → B, T → U: each letter shifts +1.
  2. D → E, O → P, G → H, so DOG becomes EPH.

Answer: EPH.

The idea

Line the words up letter by letter and note the shift for each position. A constant shift is the simplest code and the most common.

Shortcut. Check one letter per option: D must become E (drops DPH) and G must become H (drops EPG); FQI shifts by two, leaving EPH.

Common trap. "DPH" — keeping the D because the code DBU already starts with D; every letter moves one step, so D → E.

All Coding & Decoding questions · placement mock tests