Placement AptitudeHardTCS NQT · Cognizant

In a code, letters in odd positions of a word move 2 places forward and letters in even positions move 1 place back, so PLANET is written as RKCMGS. How is MARKET written in that code?

  1. A. OBTLGU
  2. B. KBPLCU
  3. C. OZTJGU
  4. D. OZTJGS

Correct answer: D. OZTJGS

Odd positions: M → O, R → T, E → G. Even positions: A → Z (one back from A wraps to Z), K → J, T → S. So OZTJGS. KBPLCU swaps the two directions, and OZTJGU moves the last letter forward.

More Logical Reasoning for Placements questions

Exams that ask this topic