In a race, five runners A, B, C, D, and E finished in the following order: A finished before B but after C. D finished before E but after A. Who finished last?

D. E

Four friends, A, B, C, and D, have different pets: a dog, a cat, a bird, and a fish. A does not have a bird. B has a pet that is not a cat. C has a pet that is not a dog. D has a fish. Which pet does A have?

B. CAT

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

D. D

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

B. Q

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

D. S