Step 1: See the section "Grade to pass" under Grade settings
Step 2: Then go to "Student must receive a passing grade to complete this activity" under the Activity completion settings, all under the Quiz settings.
Step 3: Click the Save and Display button.