What is the ruling on determining the sex of the baby whether through killing the female spermatozoa, or any other way in order to have a male?
If it is done through having a certain type of food, taking a certain type of medication, or organizing the time of the marital relation, then it is permissible.
Is it permissible to pay the Zakah (obligatory charity) for settling the debt of a deceased relative?
It is impermissible to pay the Zakah for settling the debt of the deceased since Zakah is paid to eligible recipients who are alive. As for the debts of the deceased, they are to be settled from the estate before dividing it amongst the heirs, but if the deceased didn`t leave an estate, then it is desirable for his/her heirs to settle those debts if they can afford them. And Allah Knows Best.
Is it permissible for the father to give the Zakat of his money to his poor married son?
It is permissible for the father to give part of the Zakat to his poor son, if the latter was sound and healthy, because in this case the father isn't obliged to spend on his young son, even though; he is considered one of the Muslims poor. And Allah Knows Best.
Is it permissible for the guardian, or the father of the child to hit the latter in order to teach him/her good manners?
It is permissible for the guardian to hit his/her child for teaching them good manners once they become ten years old provided that it is done mildly, harmlessly and without intimidation. Actually, such punishment is to be employed gradually i.e. after: asking, warning, and scolding. As for the teacher, he isn`t allowed to hit the student unless the latter`s father approves of it, and it is done according to necessity without intimidation, or harm.