I'm hoping to make a quiz that's as much for learning as for evaluating:
The quiz-taker would not be able to proceed to the next question til they've chosen the right answer for the current one. Some feedback would be provided immediately upon each answer submission: for both wrong and right answers. We'd need to track incorrect submissions in some new manner, (since every question is ultimately answered correctly,) but the priority is the functionality of the quiz.
It doesn't look like this stuff is currently possible with Quiz. Can someone suggest how doable or complicated it might be to add such a thing, and whether it would be worthy of inclusion in the module?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 591796_3-dev_1.patch | 8.63 KB | jeffschuler |
Comments
Comment #1
falcon commentedI think it is absolutely worthy of inclusion in the module.
Anything is doable. How long would it take? A wild guess would be 20 hours.
My employer haven't requested this feature so I can't spend time implementing it. Hopefully someone else will!
Comment #2
jeffschulerThanks a lot for your response, falcon.
This client currently uses Joomla for the rest of their site and system. Neither system seems to have an already-very-close-to-complete solution to our [quiz] problem, so I can't, unfortunately, justify doing the development with Drupal, (though I was looking for a compelling reason! :)
Comment #3
jeffschulerI'm working on this, after all.
Making some progress, albeit with some hiccups.
I started with 6.x-4.0-alpha2, then, having some issues, moved my changes over to 6.x-4.x-dev. Then realized there are some pieces missing there... so I'm about to try out 6.x-3.3.
Any recommendations are appreciated.
I really hope to have something working within a couple days, but likely won't have anything worth contributing back for a bit. Anxiously awaiting the 4.x beta!
Comment #4
jeffschulerI switched to 6.x-3.x-dev. But now that I figured out what was going wrong, I think this would work in 6.x-4.0-alpha2. I don't really want to mess with 6.x-4.x-dev because my priority is a working quiz with this functionality.
Patch attached with my initial changes.
quiz_node_propertiestable, andhook_update_N()implementation (6307) to update dbquiz_take_quiz(), if the question was incorrect, we undo the move of the question fromprevious_quiz_questionstoquiz_questionsprevious_quiz_questions(?) but I didn't want to mess with too much$content['body']['feedback']$content['body']['#value']to$content['body']['question']['#value']and added a#weightSuggestions and feedback are much appreciated.
I think next on my list is the ability to restart a Quiz.
Then I have to devise a new means for scoring this sort of test...
Comment #5
rahe123 commentedHi Jeffschuler
This is awesome I was looking for something like this .I have to apply the patch and see. I have one question.
I wanted to add some text when a quiz starts on the first question page i.e before the first question is displayed. The txt will be read from a database. which part of the code is the best place to manipulate to achieve this. Is that hook view or somewhere else? please help as I am a newbie and trying to tweak quiz to my needs.
Thank you in advance.
lula
Comment #6
jeffschuler@rahe123: thanks, and thanks in advance for posting your experiences (in trying it out) back here!
As far as adding text to the start of the quiz, you might want to look into the following issues that deal with that:
Comment #7
falcon commentedSuperb!
I just briefly read through the patch. It seems good. Nice work. I will take a closer look later and add it to 4.x dev. (I'm only maintaining Quiz 4.x)
Comment #8
rahe123 commentedHi @Jeffschuler
I have tested your patch and it did indeed work nicely. Thank you for the nice idea.based on yor idea I reached at what I want to do.
Comment #9
sivaji_ganesh_jojodae commentedNew features should go into quiz 4.x, i will try to port this for quiz 4.x.
Comment #10
falcon commentedSorry, I have forgotten about this one. It was in the 3.x issue list...
I have commited the patch now, but I haven't done anything with the multichoice answer report. I see no reason to show any report at all if a question isn't answered correctly. It might make sense if the question creator have written special answer dependent feedback. What do you think?
Comment #11
falcon commentedNote: If we change around the answer reports it could make sense to include them when a question is incorrect, but the current reports won't be very useful in this context as far as my foresight goes
Comment #12
falcon commentedComment #13
falcon commentedComment #14
adamtyoung commentedProviding feedback for wrong answers would be very useful, as was stated in the main summary. I have a request from a course author for this; it would allow the student to learn as they go with the quiz; each wrong answer would obviously have a 'wrong' feedback too. Right now, the quiz module only says "This answer is incorrect". Any possibility that this could be added?
Comment #15
adamtyoung commentedProviding feedback for wrong answers would be very useful, as was stated in the main summary. I have a request from a course author for this; it would allow the student to learn as they go with the quiz; each wrong answer would obviously have a 'wrong' feedback too. Right now, the quiz module only says "This answer is incorrect". Any possibility that this could be added?
Comment #16
spinsheet commentedI'm using the Quiz 4 module and am wondering if it now provides feedback for wrong answers. I see that there is a place to add the feedback but it does not seem to be doing anything. If the user gets a wrong answer the only feedback is a generic ' this answer is incorrect...'.
Is there any way to get the desired feedback for a wrong answer?
Thanks
Comment #17
ssoulless commentedI still wonder if this is possible, any idea?