A student is given one compound among the following compounds that gives positive test with Tollen's reagent. The compound is: 
D
The question asks which compound gives a positive test with Tollen's reagent. Tollen's reagent is used to identify aldehydes and some alpha-hydroxy ketones. A compound gives a positive Tollen's test if it can reduce the Tollen's reagent, indicating the presence of an aldehyde group or an alpha-hydroxy ketone.
In the given options:
Therefore, only compound C with the alpha-hydroxy ketone group will give a positive Tollen's test.
Conclusion: Option C is the correct answer as it gives a positive Tollen's test
Observe the following reaction and same reaction is carried out with the following compound: 
X and Y can be differentiated by: