Is the prayer of someone who didn`t face Quibla (Ka`ba direction) valid?
All perfect praise be to Allah,The Lord of The Worlds. Facing the Quibla is a condition for the validity of prayer, and the prayer of the person who hadn`t faced the direction of the Quibla is invalid, and he is obliged to repeat it. And Allah Knows Best.
Is it permissible for a woman who is in her confinement to fast upon seeing blood signs that are neither black, nor red ?
Brownish, reddish, and yellowish discharges are all considered confinement until there is no colored discharge which marks the end of confinement. Moreover, the aforesaid woman is prohibited from fasting until she attains ritual purity. And Allah Knows Best.
Is wearing a cap permissible for boys, or girls?
All Perfect Praise is due to Allah, The Lord of The Worlds.
In principle, anything is permissible sol long as there is no Sharia evidence prohibiting it, thus wearing the cap by boys is permissible as long as it isn`t done in imitation of the disbelievers. Moreover, a Muslim woman should avoid all that which attracts the attention of men because whatever leads to the forbidden is forbidden. And Allah 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).