The correct answer is D. no article.
The word "garden" is a common noun, which means that it refers to a general class of things. In this case, the speaker is asking if the house has a garden in general, not a specific garden. Therefore, no article is needed.
The word "a" is used before singular common nouns that refer to a specific thing. For example, if the speaker was asking if the house has a garden that is known to both the speaker and the listener, they would say "Has this house got a garden?"
The word "an" is used before singular common nouns that begin with a vowel sound. For example, if the speaker was asking if the house has a garden that is very small, they might say "Has this house got an herb garden?"
The word "the" is used before singular common nouns that refer to a specific thing that is already known to both the speaker and the listener. For example, if the speaker was asking about a garden that they have already talked about, they might say "Has this house got the garden that we talked about last week?"
In this case, the speaker is not asking about a specific garden, so no article is needed.