In a certain code, 'RAT' is coded as '789' and 'BAT' is coded as '456'. What is the code for 'TAB'?

Answer: A. 654
The letters in 'TAB' correspond to the letters in 'BAT', where 'T' is coded as '4', 'A' as '5', and 'B' as '6', resulting in '654'.