If in a certain language 943 is coded as BED and 12448 is coded as SWE...
The numbers are coded as shown:
9431 2 8
BEDSWT
i.e. 4 as E,
9 as B,
2 as W,
3 as D and
1 as S.
So, 492311 is coded as EBWDSS.
If in a certain language 943 is coded as BED and 12448 is coded as SWE...
Coding-Decoding Problem
Given numbers are coded as words in a certain language. To solve this problem, we need to find the pattern of coding and apply it to the given number.
Given:
943 is coded as BED
12448 is coded as SWEET
To find:
How is 492311 coded in that language?
Solution:
From the given information, we can observe that the number of digits in the coded word is not always equal to the number of digits in the original number. Therefore, we cannot simply group the digits and match them with the given coded words.
On closer observation, we can see that each digit in the original number is replaced with a corresponding letter in the coded word. Let's see how:
- 9 is replaced with B
- 4 is replaced with E
- 3 is replaced with D
Therefore, 943 is coded as BED.
Similarly, for 12448, we can see that:
- 1 is replaced with S
- 2 is replaced with W
- 4 is replaced with E
- 8 is replaced with T
Therefore, 12448 is coded as SWEET.
Now, let's apply the same pattern to 492311:
- 4 is replaced with E
- 9 is replaced with B
- 2 is replaced with W
- 3 is replaced with D
- 1 is replaced with S
- 1 is replaced with S
Therefore, the coded word for 492311 is EBWDSS.
Hence, option D is the correct answer.