Drop and then proficiency

Normally, it is a very bad idea to drop the class and try to get past the requirement using the proficiency exam. Two big dangers:

This goes double if you are trying to transfer into the CS major, because you'll need to substitute a later class for this one when you apply to transfer.

Proficiency exams are designed primarily for placement early in the major when, among other things, it's still easy to take the class if you don't pass the exam. They make sense in two situations:

If you are even thinking of going this route, make sure you have a backup plan in case you don't pass the exam.