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

B. B

Five books are arranged on a shelf. Book A is to the left of Book B but to the right of Book C. Book D is to the right of Book E but to the left of Book A. What is the correct order of the books from left to right?

C. C, E, D, A, B

Five books are arranged on a shelf. Book A is to the left of Book B but to the right of Book C. Book D is to the right of Book A, and Book E is to the left of Book D. What is the order of the books from left to right?

B. C, E, A, B, D

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. What is the correct order from left to right?

A. C, A, B, D

Five tasks P, Q, R, S, and T need to be completed. Task P must be done before Q but after R. Task S must be completed before T but after Q. What is the correct sequence of tasks?

A. R, P, Q, S, T