|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| provide_import () | |
| readquestions ($lines) | |
| readquestion ($lines) | |
Protected Member Functions | |
| text_field ($text) | |
Aiken format - a simple format for creating multiple choice questions (with only one correct choice, and no feedback).
The format looks like this:
Question text A) Choice #1 B) Choice #2 C) Choice #3 D) Choice #4 ANSWER: B
That is, + question text all one one line. + then a number of choices, one to a line. Each line must comprise a letter, then ')' or '.', then a space, then the choice text. + Then a line of the form 'ANSWER: X' to indicate the correct answer.
Be sure to word "All of the above" type choices like "All of these" in case choices are being shuffled.
Definition at line 55 of file format.php.
| provide_import | ( | ) |
Reimplemented from qformat_default.
Definition at line 57 of file format.php.
| readquestion | ( | $ | lines | ) |
Reimplemented from qformat_default.
Definition at line 124 of file format.php.
| readquestions | ( | $ | lines | ) |
Reimplemented from qformat_default.
Definition at line 61 of file format.php.

| text_field | ( | $ | text | ) | [protected] |