wiseacre
🇺🇸
/ˈwaɪzeɪkər/
🇬🇧
/ˈwaɪzeɪkə(r)/
someone who is irritatingly confident and thinks they know everything
That wiseacre always has to show off his knowledge at every opportunity.