British English has many disapproving words for someone who shows off what they know.
Clever Dick: Someone who thinks they are always right or know everything.
Clever clogs: Someone who wants to be thought intelligent and is seen as smug.
Smart alec: Someone who likes to show people how clever they are.
Know-all: Someone who behaves as if they know everything.
To blow one’s own trumpet: To boast about one’s own achievements.