smartypants
From Longman Dictionary of Contemporary Englishsmartypantssmart‧y‧pants /ˈsmɑːti ˌpænts $ ˈsmɑːr-/ noun [countable] informal INTELLIGENTsomeone who always says clever things or always has the right answer, in a slightly annoying way SYN clever clogs British English