In a coding system, 'RAT' is coded as '918' and 'BAT' is coded as '218'. What is the code for 'A'?

Answer: B. 2
The common letter 'A' in both codes shows that it corresponds to '2'.