Final answer:
A 'Riwak' is a court or series of courts that provide shelter and act as a buffer for a mosque from immediate contact with secular buildings.
Step-by-step explanation:
The term that describes a court or series of courts serving to shelter a mosque from immediate contact with secular buildings is Riwak (option D). In Islamic architecture, a riwak is an arcade or portico that is open on at least one side. Generally, a riwak is found surrounding or adjacent to the courtyard of a mosque, providing a covered space for social interaction and prayer while protecting the mosque from the immediate hustle of the surrounding city. Unlike the iwan, which are halls enclosed on three sides and open to the courtyard used for seminars or prayer, the riwak serves as a buffer between the secular and the sacred.