wiseacre

noun
  1. a person who pretends to know everything or acts as if they are very wise
  2. Usage: often derogatory

Examples