Your answer to (d) is not correct: it should be $$\binom{16}{7} + \binom{12}{7},$$ because the choice of an all-male group is **exclusive** of the choice of an all-female group. Therefore, the number of such choices is the sum, not the product, of the number of choices within each sex.
For a simpler example, suppose I have $3$ red balls labeled $R_1, R_2, R_3$ and $2$ blue balls labeled $B_1, B_2$. How many ways can I choose $2$ balls of the same color? There are $\binom{3}{2} = 3$ ways to choose two red balls. There is only $\binom{2}{2} = 1$ way to choose two blue balls. There should be $3 + 1 = 4$ ways to get two balls of the same color.