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?
- A. QZUIPO
- B. KBGSLM
- C. BKFTAZ
- 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
- A six-letter word is coded by reversing its first three letters, then reversing its last three letters, and finally moving every letter 2…
- A word is coded by moving its letters forward by the Fibonacci numbers 1, 1, 2, 3, 5, ... respectively (1st letter by 1, 2nd by 1, 3rd by…
- In a code, every letter is moved forward by as many places as the number of letters in the word, and the result is then reversed. How is…
- 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…
- A word is coded in three steps: move every letter 3 places forward, reverse the resulting string, and then replace each letter by its…
- In a code language, 'go to school' is written as 'rz px qy', 'school is near' is written as 'tw rz sv' and 'near to home' is written as…