Comp Sci - no guarantee?

Yes. That is the slippery slope for a lot of kids.
If the class grade is an “A” then stick with that and do not claim AP credit. Or, can retake the AP test if time permits/allows.
CSC is murder at NCSU.