http://www.eng.mcmaster.ca/eng1/requirements.html
This link shows that you need 31 credits all from:
Chem 1E03
Engineer 1A00, 1C03, 1D04, 1P03
Matls 1M03
Math 1N03, 1NN3, 1H03
Physics 1D03, 1E03
I'm not sure if your programming course you are talking about is engineer 1D04, but if it's not then I think you are good if you take physics. You would still considered for a second year program and you can take the course next year. Otherwise I can't help much since I'm not in engineering or even in upper years so I wowuldn't know what to do, sorry.