Green’s Dictionary of Slang

smack n.4

[? they are constantly smacking their head in concentration]

(US campus) an overly hard-working student.

[US]P. Munro Sl. U. 174: smack 1. intelligent, over-achieving student; geek.