Quiz Item Analysis of All Question Types
This page will be used to described a code proposal to a general including plug -in quiz item analysis. see http://moodle.org/mod/forum/discuss.php?d=86598
Classification of the different question types
Question types can be classified in different ways and this classification is related to how to obtain from the various question types the necessary data for item analysis.
Single or multi answers (questions) question type
Single answer "normal" question types
Short answer question type
Numerical answer question type
An extension of short answer
Calculated question type
An extension of numerical answer
Multichoice question type
True False question type
A limited choice multichoice
Multi answers or questions question types
Multi answers (cloze) question types
Match question type
Although generally not included in multi questions, this is a multiquestions one.
Random Short-Answer Matching question type
Random or not question types
Either the question id (and related data) is always the same in a quiz (same formula in the calculated question type) or the question itself change or its composants
Random
Random question type
It is just a rediredtion to a question of of the other question types that are useable by random
Random Short-Answer Matching question type
The internal questions of this multi questions type is build on fly for each attempt. That is to say that this is a "virtual" question that is defined in the $state session parameter. So we need another class
Virtual
Random Short-Answer Matching question type
The internal questions of this multi questions type is build on fly for each attempt. The question options are not in the database but in the $state session parameter.
Question type functions necessary for the report.php
Actual functions specific to report.php
get_question_responses
In questionlib which call
Pierre Pichet 11:34, 13 January 2008 (CST)