A very intelligent and usually studious, erudite person.
A person who annoyingly tries too hard to impress with their cleverness; a clever dick.