Swot as a slang word. (British slang)
(Offensive Slang) Swot; A person who values his education at least three times more than his social life and his teacher at least three times more than his friends, hypothetically.
a student who studies assiduously, especially to the exclusion of other activities or interests; grind.
Note: Swotter and swat are the variants of the word.
Grind is mentioned as a synonym. (US slang)
There is also keener in Canadian English slang. It can be applied to different contexts.
(Canadian slang, noun) Individual eager to demonstrate knowledge or participate enthusiastically in school, church, seminars, etc. Like nerd, geek, brown-noser, smartypants, etc. but with more emphasis on willingness and enthusiasm, and less on social inadequacy, sycophancy, or natural ability.