Answer: 3 moles of water would be produced in present case.
Reason:
Reaction involved in present case is:
C5H12 + 8O2 → 5CO2 + 6H2O
In above reaction, 1 mole of C5H12 reacts with 8 moles of oxygen to give 6 moles of water.
Thus, 4 moles of oxygen will react with 0.5 mole of C5H12, to generate 3 moles of H2O.