Step 1: Understand the reaction.
To prepare iodoform (CHI\(_3\)) from acetylene (C\(_2\)H\(_2\)), we use the reaction between acetylene and iodine in the presence of a base. The process involves the halogenation of the acetylene molecule.
Step 2: Reaction mechanism.
The reaction is a halogenation reaction, where acetylene reacts with iodine (I\(_2\)) in the presence of a base, such as sodium hydroxide (NaOH), leading to the formation of iodoform. The steps are:
1. Acetylene (\(C_2H_2\)) reacts with iodine to form a diiodo compound.
2. Further halogenation leads to the formation of triiodomethane (iodoform, CHI\(_3\)).
The reaction is as follows:
\[
C_2H_2 + 3I_2 \xrightarrow{NaOH} CHI_3 + 2 NaI
\]
Step 3: Explanation.
In this reaction, the iodine atoms replace the hydrogen atoms on the acetylene molecule, leading to the formation of iodoform.
Final Answer:
Iodoform can be prepared from acetylene by halogenating acetylene with iodine in the presence of sodium hydroxide.
Final Answer:
\[
\boxed{\text{Iodoform can be prepared from acetylene by reacting it with iodine in the presence of NaOH.}}
\]