Five students: A, B, C, D, and E, participated in a quiz competition. A scored more than B but less than C. D scored less than E but more than A. Who scored the highest?

C. C

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

Five people - P, Q, R, S, and T - have different pets: a dog, a cat, a bird, a fish, and a rabbit. P has a dog, Q does not have a cat or a fish, R has a rabbit, S has a bird. What pet does T have?

C. FISH

Three people, X, Y, and Z, are from different cities: New York, Los Angeles, and Chicago. X is not from New York. Y is from Los Angeles. Where is Z from?

C. CHICAGO

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 or a bird. B has a cat. C does not have a fish. What pet does D have?

D. FISH