Correct option is D
Grammar Rule:
1.
Yes/No Questions:
· "Have you got a computer?" is a
yes/no question →
"whether" or "if" is used in indirect speech.
· "Have" (Present Perfect) changes to
"had" (Past Perfect).
2.
Incorrect
· "Where is your computer?" (Not related to the given sentence).
· "Do you have a computer?" (This is still direct speech).
· "He wanted to know about the computer." (Too vague).
Correct Sentence: "He wanted to know whether you had a computer."