The choice of halogen will also have an effect.
For example, chlorination of propane will produce two chloropropane isomers, 1-chloropropane (45%) and 2-chloropropane (55%). This shows a substantial preference for substitution at the internal, rather than the terminal, carbon as the product distribution if the site of substitution was random would be 75% 1-chloropropane and 25% 2-chloropropane.
Bromination is even more selective, the monobromopropane isomers being produced from free radical bromination of propane are 97% 2-bromopropane against 3% 1-bromopropane.
We do not consider fluorination as it tends to produce an explosion, and also ignore iodination as it is very slow.
More substituted sites are even more favoured. Chlorination of methylpropane yields 2-chloro-2-methylpropane in 65% yield over 1-chloro-2-methylpropane despite the substitution sites being present in 9:1 ratio for the primary over the tertiary site.
Alkanes with more sites, like pentane, will yield a mixture of 3-halo, 2-halo, and 1-halo isomers. The questions will then likely be constrained either by a subsequent reaction (as in Jazz's example) or by separating the products, as in:
Question
2-methylbutane, C5H12, reacts with chlorine in the presence of light to yield 3 products, A, B, and C, all with formula C5H11Cl. A, B and C each react with aqueous potassium hydroxide to yield X, Y, and Z. When these are tested with zinc chloride and concentrated hydrochloric acid, the mixture containing Y becomes cloudy almost instantly, the mixture containing Z develops cloudiness over several minutes, while the mixture containing X remains clear.
(a) Provide the structures and IUPAC names for A, B, and C.
(b) Which of X, Y, and Z would not cause a colour change when added to acidified potassium dichromate solution? Justify your answer.
(c) Rank X, Y, and Z in terms of the their boiling points and explain your answer.
(d) Draw the structure of an alkene that could be converted to X by a one-step hydration reaction. Which of Y and Z would not be produced in this reaction? What would be the major product of the reaction. Support you answer with suitable chemical equations and reasoning.