In a mixed letter coding system, if 'CAT' is coded as '312' and 'DOG' is coded as '415', what is the code for 'GAT'?

Answer: B. 314
By analyzing the codes, 'G' corresponds to '4', 'A' to '1', and 'T' to '3'. Therefore, 'GAT' is coded as '413'.