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 tasks P, Q, R, S, and T need to be completed. P must be done before Q, R must be done before S, and T must be done after Q. What is the correct sequence of tasks?

C. P, R, Q, S, T

In a cooking competition, the following dishes were prepared: Soup, Salad, Main Course, and Dessert. The Soup was made before the Salad, the Salad was made before the Main Course, and the Dessert was made last. What is the correct order of preparation?

A. SOUP, SALAD, MAIN COURSE, DESSERT

There are four animals: a dog, a cat, a rabbit, and a parrot. The dog is not a mammal, the cat is a mammal, the rabbit is a mammal, and the parrot is a bird. Which of the following is true?

B. ONLY THE CAT AND RABBIT ARE MAMMALS

Three siblings - X, Y, and Z - have different favorite colors: red, blue, and green. X does not like blue. Y's favorite color is not red. What is Z's favorite color?

C. GREEN