In a race, five participants A, B, C, D, and E finish in the following order: A is ahead of B but behind C. D finishes before E but after A. Who finishes last?

D. E

Four friends - A, B, C, and D - are sitting in a row. A is to the left of B but to the right of C. D is not at either end. Who is sitting in the middle?

A. A

In a family of five members: M, N, O, P, and Q, each has a different hobby: Painting, Gardening, Reading, Cooking, and Traveling. M does not like Painting or Gardening. N likes Cooking. O does not like Traveling. What hobby does P have?

C. READING

In a family of five members: P, Q, R, S, and T, there are two teachers, one doctor, one engineer, and one artist. P is not a teacher. Q is the doctor. R is not the artist. Who is the engineer?

C. S

There are four houses in a row: Red, Blue, Green, and Yellow. The Red house is not next to the Blue house. The Green house is to the left of the Yellow house. Which house is in the middle?

C. GREEN