<XMLDBPATH="question/type/calculated/db"VERSION="20090819"COMMENT="XMLDB file for Moodle question/type/calculated. This question type also relies on the question_numerical_units table created by the numerical question type, and the tables created by the datasetdependent question type base class.">
<XMLDBPATH="question/type/calculated/db"VERSION="20090921"COMMENT="XMLDB file for Moodle question/type/calculated. This question type also relies on the question_numerical_units table created by the numerical question type, and the tables created by the datasetdependent question type base class."
<FIELDNAME="multiplechoice"TYPE="int"LENGTH="2"NOTNULL="true"UNSIGNED="true"DEFAULT="0"SEQUENCE="false"COMMENT="set for multiple choice calculated question"PREVIOUS="synchronize"NEXT="single"/>
<FIELDNAME="single"TYPE="int"LENGTH="4"NOTNULL="true"UNSIGNED="false"DEFAULT="0"SEQUENCE="false"COMMENT="If 0 it multiple response (checkboxes). Otherwise it is radio buttons."PREVIOUS="multiplechoice"NEXT="shuffleanswers"/>
<FIELDNAME="shuffleanswers"TYPE="int"LENGTH="4"NOTNULL="true"UNSIGNED="false"DEFAULT="0"SEQUENCE="false"COMMENT="Whether the choices can be randomly shuffled."PREVIOUS="single"NEXT="correctfeedback"/>
<FIELDNAME="correctfeedback"TYPE="text"LENGTH="small"NOTNULL="false"SEQUENCE="false"COMMENT="Feedback shown for any correct response."PREVIOUS="shuffleanswers"NEXT="partiallycorrectfeedback"/>
<FIELDNAME="partiallycorrectfeedback"TYPE="text"LENGTH="small"NOTNULL="false"SEQUENCE="false"COMMENT="Feedback shown for any partially correct response."PREVIOUS="correctfeedback"NEXT="incorrectfeedback"/>
<FIELDNAME="incorrectfeedback"TYPE="text"LENGTH="small"NOTNULL="false"SEQUENCE="false"COMMENT="Feedback shown for any incorrect response."PREVIOUS="partiallycorrectfeedback"NEXT="answernumbering"/>
<FIELDNAME="answernumbering"TYPE="char"LENGTH="10"NOTNULL="true"DEFAULT="abc"SEQUENCE="false"COMMENT="Indicates how and whether the choices should be numbered."PREVIOUS="incorrectfeedback"/>
<TABLENAME="question_dataset_definitions"COMMENT="Organises and stores properties for dataset items"PREVIOUS="question_calculated_options"NEXT="question_dataset_items">