I'm not a Psych student so correct me if I'm wrong. Pavlov consistently rang a bell before he fed his dog and after a while he found that his dog started salivating when he rang the bell (even if the dog couldn't see the food). Using the same logic, if I drink coffee every time I study then by brain will associate coffee with studying right? I don't know if it's a placebo, but I've been doing it for a while and I genuinely get the urge to study when I have coffee. I also seem to do better on tests when I have coffee while I take the test.
Kinda similar, but I also force myself to do squats till failure when I get distracted. That way I associate distraction with punishment and stay focused to avoid said punishment.
Have any of you done something similar? I told my friend about this recently and they thought it was kinda weird, so I just wanted to see if there's anyone else that does this to help them study.