In a class of students, there are four students: Alex, Brian, Charlie, and Diana. Each student has a different favorite subject: Math, Science, History, and Art. Alex does not like Math or Science. Brian's favorite is not History. Charlie likes Science. What subject does Diana like?

Answer: D. Art
Since Alex cannot like Math or Science, he must like Art. Brian cannot like History, so he must like Math. Charlie likes Science. Therefore, Diana must like History.