Practice30Create account

Digits are coded as: 4→P, 7→A, 2→R, 5→M, with these conditions: (i) if the first digit is odd and the last is even, both are coded as the code of the last digit; (ii) otherwise each digit uses its own code. Code the number 5472.

Competition practiceCoding-Decoding
  • AMPAA
  • BRPAM
  • CRPAR
  • DMPAR

Step-by-Step Solution

First digit 5 is odd and last digit 2 is even, so condition (i) applies: both are coded as the code of 2, which is R. The middle digits 4 and 7 keep their codes P and A, giving R P A R.
Answer: C) RPAR

Master this topic in 30 minutes a day.

Don't just memorise the answer — build a daily practice habit.

Practice 5 Similar Questions Free →

All Coding-Decoding practice questions

More Coding-Decoding practice

'CODE' is written as '1234' and 'RATE' as '5674' in a secret code. How is 'CARE' written?Riya's diary code writes 'LAMP' as 'PMAL' and 'DESK' as 'KSED'. How is 'CHAIR' written?A code replaces each vowel in a word by the next letter of the alphabet and each…Suppose 'A star B' means 'A is greater than B' and 'A dot B' means 'A is smaller than…Let 'A plus B' mean 'A is taller than B' and 'A minus B' mean 'A is shorter than B'. If…