I think it's both, depending on the situation (though I haven't been in a relationship before, I can relate lol).. Sometimes thinking of him makes me so happy, I get in the mood to study or do stuff... Sometimes though I get distracted in my schoolwork because of him...