If the word 'CAT' is coded as 3120, what is the code for 'DOG'?

A. 4157

A, B, C, D, and E are five friends who play different sports: football, basketball, cricket, tennis, and badminton. A does not play football or cricket. B plays basketball. C plays tennis. Who plays badminton?

D. E

Five friends, P, Q, R, S, and T are sitting in a row. R is sitting to the left of S but to the right of Q. T is sitting at one of the ends. Who is sitting in the middle?

C. R

From the input 'dog cat mouse', what is the output after rearranging by the length of the words?

A. CAT DOG MOUSE

If J is the father of K and K is the daughter of L, what is the relationship between J and L?

A. HUSBAND AND WIFE