If 'MANGO' is coded as '31524', 'GRAPE' as '21453', and 'PEAR' as '45312', what is the code for 'RAMP'?

Answer: B. 4312
The common letters 'R' and 'A' in 'PEAR' and 'MANGO' help establish that 'R' = 4 and 'A' = 1. Thus, 'RAMP' = 4312.