wisenheimer

noun
  1. a person who acts as if they know everything; a smart aleck
  2. Usage: informal; often used to show mild annoyance

Examples