Is prayer mandatory on a dying person who goes through a state of unconsciousness, then wakes up?
If he wakes up and was conscious, then he should pray the way/manner he could, but if he wasn't, then he is exempted from obligatory prayer as Allah Says in this regard (What means): "On no soul doth God Place a burden greater than it can bear." [Al-Baqarah/286].
What is the ruling of Sharia on looking at one`s Mahram women?
All perfect praise be to Allah, the Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad, sallallahu ‘alayhi wa sallam, is His slave and Messenger.
A Mahram man (man impermissible for a woman to marry) is permitted to look at what usually appears from his Mahram women (women impermissible for a man to marry) while doing their daily housework, with the exception of their private parts. And Allah The Almighty Knows Best.
Is it permissible for a person who has to make up for missed fasts to fast six days of Shawwal (the month directly after Ramadan) before making up for the missed fasts?
Yes, it is permissible for him/her to do so, but it is better that they make up for missed fasts first. 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.