If the code for 'CAT' is 12, 15, 18 and the code for 'DOG' is 14, 17, 20, what is the code for 'BAD'?

Answer: B. 8, 10, 12
The letters correspond to their positions in the alphabet adjusted by a consistent pattern.