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', which is '415', by rearranging the letters.