If the word 'CAT' is coded as '312', and 'DOG' is coded as '415', what is the code for the word 'BAD'?

Answer: A. 213
The letters correspond to numbers based on their position in the alphabet: C=3, A=1, T=20; D=4, O=15, G=7. Therefore, B=2, A=1, D=4 gives '213'.