Greenhorn, cheechacko (from 'cheechako'), and noob all mean an inexperienced beginner or newcomer. Quack means a fraudulent or incompetent professional, especially in medicine: it's about deception, not inexperience. Quack is semantically unrelated to the others.