Currently with the multiple choice question type, you have two scoring methods: (a) negative points for incorrect answers chosen and (b) one point for each incorrect answer not chosen.

I want the ability to give the user 0 points if they choose an incorrect answer, and similarly 0 points if they don't choose it either. And I don't want to use the "simple scoring" option either. Neither of the above two scoring methods allows for this, and even when I set the "score if chosen" value to 0 for the incorrect answers they always get reset to -1 :(

The attached patch adds in another scoring method, which will use the "score if chosen" value entered (and not reset it to -1).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

falcon’s picture

Category: bug » feature
bharata’s picture

I am wondering if is there a way to assign an arbitrary value to each of the multiple choice answers and then calculate a total quiz score based on the values of the answers selected?

For example:

A) always - value = 3
B) frequently - value = 2
C) occasionally - value = 1
D) never - value = 0

Thanks for any input!!

Les Lim’s picture

Issue summary: View changes
FileSize
3.63 KB

We're in a similar position: we have a multiple choice question with 5 answers, 2 of which are correct. The question should be worth 1 point IFF both correct answers are selected and no incorrect answers are selected. 0 points in all other cases.

The scoring logic in multi-choice doesn't currently allow for this, so we ripped it out and implemented our own. Patch attached only to illustrate what we did; it's not committable to the main project in this state.

falcon’s picture

Status: Needs review » Needs work
sandra@digitalworldbiology.com’s picture

I want the same thing. This would be very helpful.

djdevin’s picture

Status: Needs work » Closed (duplicate)
shashank5563’s picture

Status: Closed (duplicate) » Active

Hello All,

I am searching if is there a way to assign an arbitrary value to each of the multiple choice answers and then calculate a total quiz score based on the values of the answers selected?

For example:

A) Strongly Agree - value = 5
B) Agree - value =4
C) Neutral - value = 3
D) Disagree - value = 2
E) Agree - value =1

Thanks
Shashank

djdevin’s picture

Status: Active » Closed (duplicate)

Please do not reopen closed issues.

https://www.drupal.org/node/1839650