Undergraduate transcript for graduate addmission If your undergraduate degree transcript shows that you failed one subject, and in the other you barely passed but still you have a good WAM (say 85) or GPA (say 6.5 out of 7), would those two subjects in your transcript destroy your chances of being admitted?

To be more specific, I graduated last year with a combined degree (Electrical engineering and Mathematics). I got 40 in Digital Fundamentals and 61 in physics. These two subjects were first year, first semester subjects of my undergraduate. All my other grades were greater than 85. My current GPA is 6.8 (out of 7) and my WAM (weighted average mark) is 86 (out of 100). The second time that I did digital fundamentals, I got 96.

I am planning to do a phd in electrical engineering.
You're not going to like this, but the answer is, "it depends."

If you flunked computer science, it'll be hard to find a CS program that will take you.  If you flunked underwater basket weaving and want admission to a CS program, well, that might work.  If "failed one subject" means "failed one course," that might not be too bad.  If it means "never passed even one history course, " not so much.

It also depends on how long it's been since you were an undergraduate.  Admissions committees understand that people mature and that a poor showing in the distant past doesn't necessarily mean you'll be a poor scholar today.

To be blunt, it also depends on the school to which you apply.  Harvard probably won't take you, but there could be schools that might.  Pick a couple, visit them in person with a copy of your transcript, and ask.  You'll need an appointment for that personal visit; if you just show up, no telling who will talk to you.  You're visiting in person to show them you're serious.