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

Answer: A. 514
The letters G, O, and D correspond to the numbers 7, 15, and 4 respectively, so 'GOD' is coded as '514'.