ReasoningHardTCS NQT · Infosys

In a cipher, letters from A to M are replaced by the letter 13 places ahead and letters from N to Z by the letter 13 places behind. How is PYTHON ciphered?

  1. A. QZUIPO
  2. B. KBGSLM
  3. C. BKFTAZ
  4. D. CLGUBA

Correct answer: D. CLGUBA

P(16) is after M, so it goes back 13 to C, Y→L, T→G, H(8) goes forward 13 to U, O→B, N→A, giving CLGUBA.

More Coding–Decoding questions

Exams that ask this topic