It will depend on your UAI and the course you want to get into. If you need a credit average, then all your courses in total must average to a credit. (not individually, but the SUM of)
Yeh it all depends on your other marks, like a fail + distinction = credit. Also depends on the course and uni, some don't mind a fail as long as your other marks are fine.