Welcome to the forum
Now, I know you are asking specifically for coping strategies, but the subtext screams otherwise...
Forget coping strategies, it seems that dental science isn't for you. Stick to computer science - it's clearly what you enjoy doing more. How fortunate you are to have found a field of knowledge that gives you the sensation of an insatiable appetite for knowledge.
Don't be afraid to bail out of dentistry if it's not for you. You tried it, it didn't work out. This doesn't make you a failure or anything. I really hope you're not pursuing it because your friends are or any other superficial reasons.
Good luck! I hope you make the right choice.