Quiz 5 for Drupal 7

Events happening in the community are now at Drupal community events on www.drupal.org.
falcon's picture

Quiz 4 is in RC, and will soon be stable. We're not making any big changes to it, but there are certainly many big changes we would like to make.

The next version of Quiz will be the first Drupal 7 version. For that version we will probably also make a few changes. The three first changes that comes to mind is:

  1. Use multistep form for quiz taking
    Currently FAPI isn't used correctly. I don't know why, but I suspect it is because of historic reasons. If we use FAPI it will be easier to maintain the Quiz taking logic, and it will also be a lot easier for other modules to customize the quiz taking. (Change order of questions etc.)

  2. Support grouping of questions
    So that we can have several questions on one page.

  3. Add a question menu
    Enabling the user to jump between question pages.

We have a lot of feature requests in the issue list, and we will go through those issues when we start planning Quiz 5. The Quiz 5 branch will be created(or head will be updated) as soon as Quiz 4 is stable, or we might even start it when Quiz RC10 has been released.

Please share your thoughts on Quiz 5 here!

Comments

Another feature

julianmancera's picture

Hi Falcon,

I'd like to add as an additional item the adaptive question quiz take. I'm not sure if there will be easier to include it as an add on or should be included in the core.

Let me know.

Julian

Quiz as an API

falcon's picture

I'm thinking that things that don't have to be a part of the Quiz project should be add-on modules. We should focus on making Quiz a good core for other modules to extend.

I'm not sure about the adaptive quiz feature, but I'm hoping that it can be an add-on module as well.

Add on Documentation

julianmancera's picture

Hi Falcon,

I couldn't find the addon doc for quiz. Can you please send me some doc or the link to it?

Thank you!

Julian

New default theming

falcon's picture

The default theme for quiz will be completely rewritten for Quiz 5.

Answer questions outside of quiz

vegardjo's picture

One thing I really would like to see in future Quiz versions is the ability to answer questions outside of a quiz, so a question node could be a part of a book structure for instance, or that we could embed questions in content elsewhere (would also need a custom filter and some token support, like [quiz:quiz-id:question-id]). The questions would / could then be answered from for instance the content it refers to, and the quiz result would be updated "in the background".

Several things would cause issues (or simply not work) here, like skipping questions, backward navigation, questions that belongs to several quizzes etc ++, but if there is something we could do in Quiz 5 to at least prepare for something like this that would be really cool! (I don't know what that would be, though?)

Quiz in Block + Ajax

julianmancera's picture

I think that your are looking for the Block + Ajax feature. I can be done creating quices with one questions and have the possibility to embed in into a block.

Re: Quiz in Block + Ajax

vegardjo's picture

..not really, although this would be nice too.

I'm thinking more like a scenario where you for instance have some content you want your users to go through (maybe organized with the book module), and within this content you can embed questions from a quiz, so going through the content and answering a related quiz is done in "one" operation.

Re: Quiz in Block + Ajax

HylkeVDS's picture

Like what ClosedQuestion does?
This: http://wmmrc.wur.nl/drupal-modules/closedquestion/example-questions is a book with questions.

Similarly

vegardjo's picture

Hi, yes similarly!

Although, can you have other text / content surrounding the questions, or can the closed question node only include the question? It would be preferable to be able to add content around questions, and also to be able to include questions in more than one content type. Also, for our case we would need the Quiz functionality for storing user results, and the UI for creating questions.

InsertNode

HylkeVDS's picture

With the InsertNode module you can add any node everywhere. Inserting a closed question in a block of text works just fine.

You can also add text above and below a question. Of course the question text itself is always above the question. Personally I usually prefer to keep my question separate if I'm adding questions to a large body of text.

You're right of course that there's no question editor yet for Closed Question. There's currently also no central place to access all user results, even though those are stored for every question.

@vegardjo, +1, certainly that

sivaji_ganesh_jojodae's picture

One thing I really would like to see in future Quiz versions is the ability to answer questions outside of a quiz, so a question node could be a part of a book structure for instance, or that we could embed questions in content elsewhere (would also need a custom filter and some token support, like [quiz:quiz-id:question-id]). The questions would / could then be answered from for instance the content it refers to, and the quiz result would be updated "in the background".

@vegardjo, +1, certainly that would be a nice feature to have in quiz.

Answer questions outside of quiz

johnennew's picture

I built this functionaity for a client recently and have been thinking about providing it as a patch.

The functionality of this is:

  • Admin can create a question in the usual way but it does not have to be a member of a quiz
  • If question is not a member of a quiz then the question appears to normal users allowing them to answer it. On submit they immediatley get the feedback
  • The user's answer is not recorded and so cannot be viewed in any quiz report view. (The quiz result storage mechanism is bypassed)
  • If the question is a member of a quiz or later becomes a member of a quiz, normal users get an access denided message when trying to view the question node directly. This is because they would be able to get the answer to the question by answering it as a question and then could take it in the quiz and get the answer right.
  • Normal users can answer standalone questions (questions not members of a quiz) as many times as they like

The reason behind allowing quiz questions outside of a quiz is that it allows learning without assessment.

Let me know if this is what you'd expect and I'll look at making the patch

Kind regards,

John

@johnennew, Please roll a

sivaji_ganesh_jojodae's picture

@johnennew, Please roll a patch and submit it in quiz issue queue. I am sure your patch will be helpful to many of us here. I will see if I can add this to quiz 7.x later.

Quiz in Block + Ajax

julianmancera's picture

Another feature can be to embed a quiz into a block and taking it through ajax. This is not for educational purposes more for lead generation that gives a nice usability interface for the quiz. Any thoughts?

Quiz in Block + Ajax Completed

julianmancera's picture

Hi Falcon,

I just finished the ajax + block functionality, let me know what can we do to include it.

Regards.

Julian

progress bar on quiz

diseño web palma de Mallorca's picture

have a block, or maybe in the body, have a progress bar so you can see if you jumped a question, and jump between questions.

Quiz EI

vmkolli-rvce's picture

Can I create a quiz without the Quiz EI module, only from Quiz 7 version,

There is not available Quiz EI version for Quiz 7 .
please send me details - how to add questions to a quiz

Quiz

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: