(a) Naphthalene is an unsaturated, carbon-rich compound: its molecule (C10H8) has more carbon atoms than hydrogen atoms (10 to 8), joined in rings that contain double bonds. In an open flame there is not enough oxygen to burn all this carbon to carbon dioxide, so the combustion is incomplete. Unburnt carbon particles glow and make the flame yellow, rise as black smoke, and settle on the plate as soot.
Alcohol (ethanol, C2H5OH) is a saturated compound with relatively little carbon. It burns completely in the available air, all of its carbon becomes carbon dioxide, and the flame is clean and blue, so nothing is deposited on the plate.
(b) A clean plate does not mean carbon is absent; it means the carbon has been burnt completely, into colourless carbon dioxide gas, which does not collect on the plate:
C2H5OH+3O2→2CO2+3H2O
A clean blue flame is the sign of complete combustion: there was enough oxygen for every carbon atom in the alcohol to be converted into carbon dioxide, so no unburnt carbon was left to glow yellow or to settle as soot. The absence of soot shows how completely the carbon burnt, not that there was no carbon. The same alcohol burnt with a limited supply of air would give a sooty flame, because then some of its carbon would be left unburnt.