A wiseacre is someone who says or does things that are funny but annoying. Wiseacre is an informal and old-fashioned word, as well as a synonym of smart aleck [ˌsmɑɹt ˈælɪk]
wiseacre came to English not from wise but from the Middle Dutch word wijssegger, meaning "soothsayer.