Four friends, A, B, C, and D, have different pets: a dog, a cat, a bird, and a fish. A does not own a dog or a cat. B owns a bird. C does not own a fish. What pet does D own?
Five friends, P, Q, R, S, and T, are ranked based on their scores. P has a higher score than Q but lower than R. S has a higher score than T but lower than Q. Who has the lowest score?