A person who annoyingly tries too hard to impress with their cleverness; a clever dick.
Someone who obnoxiously claims to be knowledgeable on a subject.