Development:Cloze question type
From MoodleDocs
Internally the cloze question type is known under the name 'multianswer'
quiz_multianswers database table
The quiz_multianswers table belongs to the multianswer questiontype and is an extension of the quiz_questions table. It merely stores a comma separated list of question ids in the sequence field, which is important, because that's the only way to know which sub question belongs to which position in the questiontext.
- id
- int(10) unsigned NOT NULL auto_increment,
- Primary key
- question
- int(10) unsigned NOT NULL default '0',
- Foreign key refering to the id field in the quiz_questions table
- sequence
- varchar(255) NOT NULL default ,
- A comma separated list of question ids in the order in which they appear in the questiontext.