A woman used contraceptive pills, and her menses exceeded (15) days, is it permissible for her to fast?
The maximum of menstrual blood is (15) days, but if it exceeded that due to a medication, or the like, then it is Istihadah (bleeding outside the monthly period), and in this case she should perform Ghusl (ritual bath), pray, and fast. Moreover, she is obliged to make up for the missed fasting days which exceeded her regular menses. And Allah Knows Best.
Is it permissible for a woman to ride a taxi without a Mahram (unmarriageable kin) in order to attend a gathering of knowledge?
It is permissible for the woman to pursue the knowledge that she needs in order to perform the religious requirements due on her if there was nobody to teach her at home, provided that there is no temptation involved. Moreover, we don`t recommend that she rides a taxi without a Mahram although such an act isn`t from the forbidden Khulwah (seclusion).
Is prayer nullified by having thoughts while performing it?
Prayer isn`t nullified by having thoughts while performing it, provided that the praying person offers all of its pillars and meets all of its conditions. However, the reward decreases significantly in the absence of reverence since a praying person is rewarded according to the attentiveness of his/her heart during prayer.
Is it permissible to pay the Zakah to my grandmother who lives alone in a rented accommodation with bad conditions noting she had three sons.
Zakah cannot be given to ascendants (parents and grandparents). It is obligatory for her sons and grandsons to provide for her, and they would be sinful if they fail to do so. And Allah Knows Best.