Green’s Dictionary of Slang

swot v.

also swat (up)
[supposedly via Dr William Wallace, an instructor at the Royal Military College, Sandhurst c. 1800, whose Scot. pron. turned the word ‘sweat’ (as in work that is so hard as to make one sweat) into swot. The 20C+ implication is slightly derog. – to work harder than seen as necessary by your peers]

to work extremely hard, esp. on the eve of examinations or tests; orig. only applied to mathematics; thus swot up v., to learn something specific in an intense way; thus swotting n., intense study; swotty adj.

[UK] (con. early 19C) N&Q 1 Ser. 23 369/2: It happened one hot summer’s day, nearly half a century ago [...] He [i.e. William Wallace] took out his handkerchief, rubbed his head and forehead violently, and exclaimed in his Perthshire dialect, – ‘It maks one swot.’ This was a godsend to the ‘gentlemen cadets,’ wishing to achieve a notoriety as wits and slangsters, and mathematics generally ever after became swot, and mathematicians swots.
[UK]Hotten Sl. Dict. 252: swot [...] to work hard for an examination, to be diligent in one’s studies. ? Army. This word originated at the great slang manufactory for the army, the Royal Military College, Sandhurst, in the broad Scotch pronunciation of Dr. Wallace, one of the Professors, of the word sweat.
[UK]S.O. Addy Sheffield Gloss. 249: Swot, to read hard.
[UK]Kipling ‘Stalky’ in Complete Stalky & Co. (1987) 22: We shall be swottin’ dumb-bells, though. All your fault.
[UK]Magnet 29 Feb. 3: He saw that Harry had been ‘swotting’ at Latin.
[Aus]Bulletin (Sydney) 3 Oct. 47/2: I must get into a quiet place and swat up mensuration, trigonometry, and a few dry subjects of that sort. [...] I settled down to hard study.
[UK]A. Brazil Fourth Form Friendship 118: ‘I know what it is to swat hard,’ wrote Keith.
[UK]R.P. Hamilton diary 9 Jan. 🌐 Can’t make up my mind to swot. Must really try.
[UK]Kipling ‘Propagation of Knowledge’ in Complete Stalky & Co. (1987) 233: ‘I expect they’ve been swottin,’ Beetle grinned.
[UK]J. Franklyn This Gutter Life 199: I’ve got to swot like the devil, I’m taking my final this year.
[UK]P. Pringle Boy’s Book of Cricket 69: You should be a detective instead of swotting up for a research chemist.
[US]E. Dundy Dud Avocado (1960) 243: I thought I’d swot up a bit on it before I left.
[UK]I. & P. Opie Lore and Lang. of Schoolchildren (1977) 199: ‘Swotting’ or ‘mugging up’ is only considered good form if a person is on the point of taking an exam.
[UK]M. Frayn Towards the End of Morning (2000) 109: Once you start swotting there’s no end to it. That’s what put me off studying.
[UK]P. Theroux London Embassy 24: I’m glad you had a chance to swot up the guest list.
[Ire]R. Doyle Van (1998) 372: Veronica was swotting up in Sharon’s room.
[UK]Eve. Standard 4 June 54: We also swot up decompression tables.
[UK]Guardian G2 31 May 7: I was very swotty in English at school and very rubbish at everything else.
[Scot](con. 1980s) I. Welsh Skagboys 188: Ah’d [...] ask some swotty kid tae photocopy their notes.