Question:medium

In a coding system, each letter in a word is replaced by the letter that is two positions ahead in the alphabet (e.g., A becomes C, B becomes D, ..., Z becomes B). If the word "CAT" is coded using this system, what will be the code for the word "DOG"?

Show Hint

Remember: In coding-decoding, identify the pattern (e.g., shifting letters by a fixed number) and apply it consistently to each letter. Use alphabet positions (A=1, Z=26) for clarity.
Updated On: Jan 16, 2026
  • FQI
  • GPH
  • HPJ
  • IQK
Show Solution

The Correct Option is A

Solution and Explanation

Given:
Word: DOG
Rule: Each letter is replaced by the letter two positions ahead in the alphabet.

Step 1: Analyze the Coding Rule
The alphabet spans A (position 1) to Z (position 26). The rule dictates a shift of +2 positions for each letter. Alphabetical wrapping applies: if the resulting position exceeds 26, subtract 26. Example: A (1) becomes C (3), Z (26) becomes B (2). This means the coded letter's position is (original position + 2) mod 26, adjusted for 1-based indexing. Step 2: Encode "DOG"
Apply the +2 shift to each letter of "DOG":
- D (4th letter): 4 + 2 = 6. The 6th letter is F.
- O (15th letter): 15 + 2 = 17. The 17th letter is Q.
- G (7th letter): 7 + 2 = 9. The 9th letter is I.
Therefore, "DOG" encodes to FQI. Step 3: Verify with "CAT"
To confirm the rule's application, encode "CAT":
- C (3rd letter): 3 + 2 = 5. The 5th letter is E.
- A (1st letter): 1 + 2 = 3. The 3rd letter is C.
- T (20th letter): 20 + 2 = 22. The 22nd letter is V.
"CAT" becomes ECV. This confirms the encoding logic. Re-checking "DOG" yields FQI, consistent with the calculation.

Answer: The coded word for DOG is FQI.

Was this answer helpful?
4