Use hydroxide’s role and the reaction conditions to distinguish alcohol formation from alkene formation, then connect equations to a preparation and yield calculation.
Same reagent, different role
With warm aqueous hydroxide, substitution to an alcohol is favoured. Hot ethanolic hydroxide favours elimination to an alkene. Both pathways can compete, and the substrate’s structure also affects the product mixture. Avoid saying that one solvent makes the other pathway impossible.
In substitution OH⁻ donates a pair to carbon and acts as a nucleophile. In elimination it accepts a proton from a carbon next to the one carrying X and acts as a base. This neighbouring carbon is often called the β-carbon.
