I absolutely bombed my first test so far since I started college (Junior in EE). The test was in a semiconductor devices course (theory of semiconductor devices), so it is a course in my major, and it is an upper division course. I wouldn't be worried if it was in another department, but since it's an electrical engineering course, I'm worried about how it will affect my master's admissions. Some background: my areas of interest (electromagnetics, control, DSP) have virtually nothing to do with semiconductor device physics, so will a C in that class affect me very much (especially compared to if I got a C in a relevant class)? And, obviously, yes, I am addressing the issues that led to me bombing the test in the first place, and I'm confident I'll perform well during the rest of the semester. Also of note: I'll have had 3.5 years of research experience, an A in all of my other classes (hopefully), probably a graduate course or two (hopefully with A's), and strong letters of recommendation by the time I'm applying for graduate school. I know, however, that people always say grad schools take upper-division major courses into consideration for decisions, so given all of the above, will a C in this class be something that will hold me back or that I should address in a statement of purpose or something? Final note: The programs I have in mind range from about ~10 to ~40 in ranking (so I have no plans to shoot for MIT/Stanford or anything, but strong programs nonetheless).