In a coding system, 'RAT' is coded as '912' and 'BAT' is coded as '312'. What is the code for 'TAB'?

Answer: C. 321
The code for 'TAB' can be derived from the codes for 'BAT' and 'RAT', as they share the letters 'A' and 'T'.