Fix two clean iron nails through a cork and connect them in series with a battery, switch and bulb. Place the cork over a beaker so that the nail ends dip into the test liquid.
With dilute HCl, the bulb glows because HCl forms mobile ions in water. Rinse the apparatus and repeat with glucose solution and then alcohol solution. The bulb does not glow because these molecular substances do not ionise to produce \(\ce{H+}\) ions.
Thus acidic behaviour depends on formation of hydronium ions in water, not merely on hydrogen atoms being present in the formula.
Final results1Only the acid solution conducts
2glucose and alcohol do not ionise to give hydronium ions.