"Brain doping": Can drugs compensate a lack of concentration while learning? I am almost at the end of my bachelor degree but I am afraid that I never will be able to finish this mere rest. Not only because the rest of my degree (around 20 credit points) is downright uninteresting but I feel that I am not mentally capable anymore of saving knowledge related to any exam.

I have read about students compensating such issues with drugs like Methylphenidate (you may know it under its trade label "Ritalin"). I really regard this as an option for one semester just to finish the rest of my degree once and for all. I am currently trying to learn for an rather easy exam but I am not able to save the knowledge, like an emotional self-defense I am mentally distracted all the time.

Can drugs like Ritalin be the solution? I am only remotely aware of the side effects however I feel also despaired enough to pay a high price.
The available evidence certainly supports the view that Methylphenidate/Ritalin boosts cognitive abilities while being somewhat safer than amphetamines. Note that if you are caught in possession of this drug without a prescription you will suffer considerably more than the consequences of the drug itself in most countries.

Personally, I doubt that the boost given by Methylphenidate/Ritalin can be significant enough to make a difference in your grades. Note that it will do absolutely nothing to cure your lack of interest in the topic. If you aren't studying enough hours, you won't make it no matter how hopped up you are.

This probably doesn't help much, but my own strategy as an undergraduate student was to simply neglect studying those topics I was not interested in, and simply take the hit to my grade.