Question: If in a certain code, \'CAT\' is written as \'31220\', how is \'DOG\' written in that code?
Options:
Correct Answer: 4157
Solution:
In the code, each letter corresponds to its position in the alphabet: C=3, A=1, T=20. Therefore, D=4, O=15, G=7, which gives \'DOG\' as \'4157\'.