"would-be witty or clever person," 1854, from smart (n.) + -y (3). Extended form smarty-pants first attested 1939.
smart-ass
smarten
smartly
smartmouth
smartness
smarty
smash
smashed
smashing
smash-up
smatch