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

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

D. FISH

A, B, C, D, and E are five friends who play different sports: football, basketball, cricket, tennis, and badminton. A plays cricket, B does not play football or badminton, C plays basketball, D plays tennis. Who plays badminton?

D. E

In a class of five students - Emma, Liam, Noah, Olivia, and Sophia - each student has a different favorite subject: Math, Science, History, English, and Art. Emma does not like Math or Science. Liam's favorite subject is not History. Noah likes Science. What subject does Olivia like?

D. ART

Five books are arranged on a shelf: A, B, C, D, and E. A is to the left of B but to the right of C. D is to the right of E. Which book is at the extreme right?

B. B