If the code for 'CAT' is represented by the numbers 3, 1, 20 and the code for 'DOG' is represented by 4, 15, 7, what is the code for 'BAD'?

A. 2, 1, 4

If 'FISH' is coded as 6, 9, 19, 8 and 'BIRD' is coded as 2, 9, 18, 4, what is the code for 'HIDE'?

A. 8, 9, 4, 5

From the input 'red blue green yellow', which output represents the correct sequence after arranging the colors based on the first letter?

A. BLUE GREEN RED YELLOW

In a race, five runners P, Q, R, S, and T finished in the following order: P finished before Q but after R. S finished before T. What is the sequence of their finishing?

C. R, P, S, Q, T

If 'MANGO' is coded as 'PDRQJ', what is the code for 'LEMON'?

A. OHPQR