If 'HELLO' is coded as '12345' and 'WORLD' is coded as '67890', what is the code for 'O'?

Answer: B. 5
In 'HELLO', 'O' is the 5th letter, coded as '5'.