Currently AFAIK there is no negative scoring option for wrong answers in multichoice questions. Can this be implemented? I just altered the 'score_if_chosen' column in the 'quiz_multichoice_answers' table and 'score' column in the '' as signed and it seemed to work(with some issues), I feel if support is added it would work smoothly. Mostly i might be missing something on the code which causes the issue.

Comments

srikanthlogic’s picture

Sorry for teh typo, its
'score' column in the ' quiz_node_results' table.

ldheyn’s picture

negative scoring would be appreciated :)
i would like to use the quiz module for a multiple choice exam.

eg: +3 for correct answer, 0 for no answer, -1 for wrong answer
Or is this already possible?

thx

falcon’s picture

Category: feature » bug
falcon’s picture

Status: Active » Closed (fixed)

Thanks for reporting!

This has been fixed.

Database has been updated to allow for negative scoring. Remember to run update.php to update your database. The fix has been commited, but you must use cvs to download it, or wait for the next dev snapshot to be updated on the project page.

patcon’s picture

Status: Closed (fixed) » Active

Wouldn't it be a more complete solution if the db type was float?
ie. +1 for correct answer, -0.25 for incorrect answer (as most do the calculation, I believe)

Thanks!

falcon’s picture

Version: 6.x-4.x-dev » 6.x-5.x-dev
Category: bug » feature

I change this to a feature request against the next version of quiz.

falcon’s picture

I change this to a feature request against the next version of quiz.

patcon’s picture

Awesome, thanks falcon!

Also noticed that the current input fields are set to have a max length of 2 digits, but not sure why. With a minus sign, this limits the user to just one digit entry. Doesn't hurt me, but not quite sure why the limitation exists...

fuzzy76’s picture

I added the length issue as a separate issue at #1444014: Multichoice score if chosen has max length of 2 and provided a patch for it. Please review it.

djdevin’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This issue is being closed because it was filed against a version that is no longer supported. If the issue still persists in the latest version of Quiz, please open a new issue.