dropping cs31 this late into the quarter

I'm doing fine on the projects and I understand how to code but I just can't do it with his midterms. I got a really bad score on the first midterm and then an even worse score on the second midterm so I was thinking of dropping the class. I do have a few questions tho.

  1. How do I do a late drop and like what do I have to do?

  2. What effect will it have if I drop the class and I don't have the 12 unit minimum per quarter?

  3. What reason should I give that would let me drop the class? I don't think they would approve if I just said I was just gonna fail.