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?
- A. KMBPRW
- B. XMBPRX
- C. WMBPRK
- 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.
Practise more Logical Reasoning for Placements questionsLogical Reasoning for Placements: notes and key points
More Logical Reasoning for Placements questions
- A's mother is the sister of B. C is B's father and D is C's wife. E is A's sister. How is D related to E?
- A + B means A is the mother of B; A − B means A is the brother of B; A × B means A is the father of B; A ÷ B means A is the sister of B…
- Tara walks 12 m south, turns right and walks 5 m, turns right again and walks 24 m, then turns left and walks 7 m. How far is she from her…
- Question: Is the integer x divisible by 15? Statement I: x is divisible by both 5 and 6. Statement II: x² is divisible by 15. Which of the…
- Question: What is the two-digit number N? Statement I: N is both a perfect square and a perfect cube. Statement II: The digits of N add up…
- Over five years the number of cars in a town doubled, yet the number of road accidents fell. Which of the following, if true, best…