Five books are arranged on a shelf. Book A is to the left of Book B but to the right of Book C. Book D is to the left of Book E. What is the correct order of the books from left to right?

A. C, A, B, D, E

In a competition, M ranked higher than N but lower than O. P ranked lower than M but higher than N. Who is in the highest position?

C. O

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 a male. S is not a teacher. Who is the doctor?

B. Q

Four friends, A, B, C, and D, have different pets: a dog, a cat, a bird, and a fish. A does not have a dog. B has a cat. C does not have a bird. Who has the fish?

D. D

Five people - A, B, C, D, and E - are sitting in a row. A is to the left of B. C is to the right of D. E is not next to A. Who is sitting in the middle?

C. C