ReasoningHardTCS NQT · Wipro

A word is coded by this rule: if its first letter is a vowel, every letter moves 1 place forward; otherwise every letter moves 1 place backward. What is the code of ORANGE?

  1. A. NQZMFD
  2. B. QTCPIG
  3. C. FHOBSP
  4. D. PSBOHF

Correct answer: D. PSBOHF

O is a vowel, so each letter gets +1: O→P, R→S, A→B, N→O, G→H, E→F, giving PSBOHF.

More Coding–Decoding questions

Exams that ask this topic