Practice30Create account

In a certain code, digits map to symbols as 1=*, 2=%, 3=#, 5=@, 7=&, 8=$. Rule: if the number both begins and ends with an even digit, the symbols for its first and last digits are swapped after coding. Using this rule, how is '28578' written?

Competition practiceCoding-Decoding
  • A%$@&$
  • B$@&%$
  • C$$@&%
  • D%@&$$

Step-by-Step Solution

Coding 2,8,5,7,8 gives % $ @ & $. The number starts and ends with even digits (2 and 8), so the first and last symbols swap, yielding $ $ @ & %.
Answer: C) $$@&%

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

Under a code rule, every consonant is replaced by the letter that immediately follows it…A word's number in a code is the sum of the alphabetical positions of its letters (A=1,…A code first writes a word in reverse and then moves each letter one step backward in…Suppose each vowel is replaced by a digit equal to its rank among the vowels (A=1, E=2,…'LIGHT' is written as 'JGEFR' in a code language. Using the same rule, how is 'MONTH'…