Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
Should Al-Basmalah (i.e. saying Bismillaaahi Ar-Rahmaani Ar-Raheemi) be recited after Takbeerat Al-Ihram (saying Allahuakbar) which marks the beginning of prayer?
All perfect praise be to Allah,The Lord of The Worlds A praying person is obliged to recite Al-Basmalah at the beginning of Chapter Al-Faatihah, and in every Rak`ah (unit of prayer) because it is a verse of it. 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 to offer Salah (prayer) on behalf of the sick who is on his/her death bed, and is incapable of offering it?
It`s impermissible to offer Salah on behalf of the sick, or the dead.