Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Random Short-Answer Matching question type: Difference between revisions

From MoodleDocs
No edit summary
 
Line 2: Line 2:


==Database tables==
==Database tables==
The '''quiz_randomsamatch''' table is an extension of the quiz_questions table
;id
:int(10) unsigned NOT NULL auto_increment,
:Primary key
;question
:int(10) unsigned NOT NULL default '0',
:Foreign key to the id field of the quiz_questions table
;choose
:int(10) unsigned NOT NULL default '4',
:The number of shortanswer questions should be randomly chosen to build this randomsamatch question.


==Response storage==
==Response storage==

Revision as of 23:33, 5 February 2006

Database tables

The quiz_randomsamatch table is an extension of the quiz_questions table

id
int(10) unsigned NOT NULL auto_increment,
Primary key
question
int(10) unsigned NOT NULL default '0',
Foreign key to the id field of the quiz_questions table
choose
int(10) unsigned NOT NULL default '4',
The number of shortanswer questions should be randomly chosen to build this randomsamatch question.

Response storage

Question->options

State->options