A graded quiz is a true test which purpose is to test knowledge. Thus, it contains questions with a mandatory correct answer specified among available options.

A survey is intended to poll people and collect information they provide. So, questions in a survey do not have correct answers.

A graded quiz can have questions of both types. For example, you can insert an Essay question to gather students' feedback about the quiz. A survey can contain questions of the survey type only.