Solution:
Concept: Stoichiometry: the coefficients of a balanced equation give the ratio of moles in which substances react and form. So we change the given quantity to moles (mass ÷ molar mass, or volume at S.T.P. ÷ 22.4 L), use the mole ratio, and change back to mass (moles × molar mass) or volume (moles × 22.4 L at S.T.P.).
Step 1 — Read the mole ratio.
From the balanced equation:
2C8H18+25O2→16CO2+18H2O
So 2 moles of octane give 16 moles of carbon dioxide.
Step 2 — (i) Moles of CO₂ from one mole of octane.
We take half of 16, since the equation is for 2 moles.
moles of CO2=1×216=8
Step 3 — (ii) Volume at S.T.P.
Each mole occupies 22.4 dm³ at S.T.P.
volume=8×22.4 dm3=179.2 dm3
Step 4 — (iii) Mass of CO₂ from two moles of octane.
Two moles of octane give 16 moles of CO₂, each of 44 g.
mass=16×44 g=704 g
Step 5 — (iv) Empirical formula.
C₈H₁₈ has C : H = 8 : 18. Dividing by the HCF, 2, gives 4 : 9, so the empirical formula is C₄H₉.

Watch out: The equation is written for 2 moles of octane; halve the coefficients for 1 mole.
Therefore, (i) 8 moles of CO₂; (ii) 179.2 dm³ at S.T.P.; (iii) 704 g of CO₂; (iv) the empirical formula of octane is C₄H₉.