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

Answer: A. 415
C=3, A=1, T=20; D=4, O=15, G=7; thus DOG=415.