ReasoningVery hardInfosys · Cognizant

Using A = 1, ..., Z = 26 (after 26 the count restarts at 1), a word is coded by keeping its first letter and replacing each later letter by the letter whose value equals its own value plus the value of the previous letter in the CODED word. How is BOAT coded?

  1. A. BQPU
  2. B. DQCV
  3. C. BQRM
  4. D. BQRL

Correct answer: D. BQRL

B stays. O: 15+2=17→Q. A: 1+17=18→R. T: 20+18=38→12→L. So BOAT becomes BQRL.

More Coding–Decoding questions

Exams that ask this topic