Five students: A, B, C, D, and E scored different marks in a test. A scored more than B but less than C. D scored the highest. E scored less than A. Who scored the second highest?

C. C

Four friends, A, B, C, and D, are sitting in a row. A is not next to B. C is sitting to the right of D. Who is sitting in the middle?

C. C

Five people are standing in a line: X, Y, Z, W, and V. X is to the left of Y but to the right of Z. W is to the right of V. Who is standing at the extreme right?

C. W

Four friends - Alice, Bob, Charlie, and David - have different pets: a dog, a cat, a bird, and a fish. Alice does not have a dog or a cat. Bob has a pet that is not a bird. Charlie does not have a fish. Who has the cat?

D. DAVID

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