Is it permissible for the guardian to give Sadaqa (voluntary charity) from the money of the orphans?
It is impermissible for the guardian to donate from the money of the orphans because he is entrusted with the safekeeping of that money, and is prohibited from donating it.
When the soul leaves the body, does it hear and see? And where does the soul go?
The important thing is that the soul departs while its owner is a believing, repentant Muslim, as this is a good ending. As for the details, they are lengthy. The grave is either a garden from the gardens of Paradise or a pit from the pits of Hellfire. And Allah The Almighty Knows Best.
Is it permissible for the doctor to uncover the hair of a female patient out of necessity?
It is only permissible for him to do so when there is no female doctor, and he should examine the patient in the presence of one of her Mahrams (unmarriageable kin).
I am an author, and I have books stored with me. Is it permissible to pay my zakat in the form of books containing beneficial knowledge for poor students, such as chemistry and mathematics, or religious books that spread Islamic sciences?
Zakat on wealth must be paid in cash from the wealth itself. Therefore, you should pay your zakat in monetary form so that the poor can purchase what they need. And Allah Knows Best.