The correct answer is: A. went, did he go.
The first blank should be filled with the simple past tense of the verb "go", which is "went". This is because the sentence is in the past tense, and the action of going out happened before the conversation took place.
The second blank should be filled with the simple past tense of the verb "do", which is "did". This is because the sentence is asking for information about a specific time in the past, and the simple past tense is used to ask questions about specific times in the past.
The other options are incorrect because they do not use the correct tense. Option B uses the present perfect tense, which is not appropriate for a sentence about an event that happened in the past. Option C uses the past perfect tense, which is not appropriate for a sentence that is asking for information about a specific time in the past. Option D uses the present tense, which is not appropriate for a sentence about an event that happened in the past.