In a certain code, 'CAT' is coded as '3120'. How is 'DOG' coded if 'D' is 4, 'O' is 15, and 'G' is 7?

A. 4157

In a certain code, 'HELLO' is written as 'IFMMP'. How would 'WORLD' be coded in the same language?

A. XPSME