In a certain code, 'DOG' is written as '514'. How is 'CAT' coded in the same language?

Answer: A. 312
Following the same pattern, C=3, A=1, T=2, so 'CAT' is coded as '312'.