A committee consists of members from three departments: HR, IT, and Marketing. If the committee must have at least one member from each department and the total members cannot exceed five, which of the following combinations is valid?
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 or a cat. B has a bird. C does not have a fish. Who has the cat?
In a family of five members - P, Q, R, S, and T - there are two males and three females. P is a teacher, Q is a doctor, and R is a male. S is not a teacher. Who is the doctor?