The splinter bursting into a flame indicates that the tube contains:
A student added acetic acid to test tubes I, II, III and IV containing the labeled substance and then brought a burning splinter near the mouth of each test tube.
The splinter would be extinguished when brought near the mouth of test tube: