If the code for LAMP is MZNO, the rule is that

  • A. every letter moves forward one place
  • B. consonants move forward and vowels move backward one place
  • C. every letter moves backward one place
  • D. the word is reversed

Explanation

L becomes M and M becomes N, both forward, but A becomes Z and P becomes O, which is backward, so the rule depends on whether the letter is a vowel. Mixed rules of this kind are common at the harder end of coding questions. Testing each letter separately rather than assuming one uniform shift is essential.

Related questions