Dweeb, as a stereotypical or archetypal designation, refers to somebody who studies a lot so that he or she can present themselves as an intelligent person, when in reality they aren't so smart. The Merriam-Webster definition is "an unattractive, insignificant, or inept person". A "dweeb" can be compared to a nerd but a nerd has more of a passion for knowledge.