Example 7: Direct character assignment code
Last Updated On: Sat Aug 29 2026Given Data
- In a certain code language, 'BEAT' is written as '5621'.
- 'SWEET' is written as '48661'.
Question
How will 'TEASE' be written in that code language?
Answer
16246.
Solution
- Check if letters map directly to digits across given words:
- From 'BEAT' (5621): B = 5, E = 6, A = 2, T = 1.
- From 'SWEET' (48661): S = 4, W = 8, E = 6, T = 1.
- Both words give consistent digit assignments: T = 1, E = 6, A = 2, S = 4, B = 5, W = 8.
- Substitute these values directly into 'TEASE':
- T = 1, E = 6, A = 2, S = 4, E = 6.
- Therefore, 'TEASE' is written as '16246'.