Should I drop my programming class for next year?

<p>Hi! </p>

<p>So right now I'm taking a CP level (basic level below honors) introductory programming class that lasts for half a semester. My grade in this class has been a little low lately and I'm worried that my programming grade will hurt my GPA. I go to a public school, but it's still quite competitive, and I don't want this to hurt my class rank as well.</p>

<p>The first half of this semester I had a 96 average, but this term I have somewhere around an 89. This is because I had an 83 on one project, and an 87 on another (I was really disappointed by this because I thought I would do much better).</p>

<p>I was planning on taking Java Honors next year and AP Computer Science the year after that, but if my grades are already this bad in a CP class, should I switch Java out of my schedule for next year? I'd need to do this really soon since the year is wrapping up.</p>

<p>How can I bring my grades up? I'm mostly making silly mistakes but my teacher is taking lots of points off for those. I do understand what I did wrong after I get the project back, so it's not that I don't understand the concept I guess.</p>

<p>Thanks for the help! :)</p>