Five people A, B, C, D, and E are sitting in a row. A is to the left of B but to the right of C. D is sitting at one of the ends. E is sitting between A and D. Who is sitting at the extreme right?

C. D

In a group of friends, X is taller than Y but shorter than Z. W is shorter than X. Who is the tallest among them?

C. Z

Four friends, A, B, C, and D, are sitting in a row. A is not at either end. B is sitting next to C. D is at one of the ends. Who is sitting in the middle?

A. A

Five books are arranged on a shelf: P, Q, R, S, and T. Q is to the left of R but to the right of S. T is at one end. Which book is second from the left?

B. Q

In a family of five members: P, Q, R, S, and T, there are two males and three females. P is a teacher, Q is a doctor, and R is the mother of S. If T is male, who is the father?

B. Q