If in a certain code, 'CAT' is coded as '312' and 'DOG' is coded as '415', what is the code for 'GOD'?

Answer: A. 514
The code for 'GOD' can be derived from the code for 'DOG' by rearranging the letters.