Placement AptitudeHardTCS NQT · Infosys SP

Digits are coded as letters: 3 → K, 5 → M, 7 → P, 2 → R, 9 → T, 4 → W, 8 → B. Conditions: (i) if the first digit is odd and the last digit is even, their codes are interchanged; (ii) if both the first and last digits are odd, both are coded as X. How is 358724 coded?

  1. A. KMBPRW
  2. B. XMBPRX
  3. C. WMBPRK
  4. D. WMBPRW

Correct answer: C. WMBPRK

Plain coding gives K M B P R W. The first digit 3 is odd and the last digit 4 is even, so condition (i) swaps the first and last codes: W M B P R K. Condition (ii) does not apply because 4 is even.

More Logical Reasoning for Placements questions

Exams that ask this topic