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


Public Member Functions | |
| __construct ($quiz, $questions, $manifest, $section, $question_node, $rootpath, $contextid, $outdir) | |
| on_generate_answers () | |
| on_generate_feedbacks () | |
| on_generate_response_processing () | |
Definition at line 2166 of file cc_asssesment.php.
| __construct | ( | $ | quiz, |
| $ | questions, | ||
| $ | manifest, | ||
| $ | section, | ||
| $ | question_node, | ||
| $ | rootpath, | ||
| $ | contextid, | ||
| $ | outdir | ||
| ) |
What is needed is a maximum grade value taken from the answer fraction It is supposed to always be between 1 and 0 in decimal representation, however that is not always the case so a change in test was needed but since we support here one correct answer type correct answer would always have to be 1
Definition at line 2167 of file cc_asssesment.php.
Reimplemented from cc_assesment_question_proc_base.
Definition at line 2188 of file cc_asssesment.php.

Reimplemented from cc_assesment_question_proc_base.
Definition at line 2245 of file cc_asssesment.php.

General unconditional feedback must be added as a first respcondition without any condition and just displayfeedback (if exists)
For all question types outside of the Essay question, scoring is done in a single <respcondition> with a continue flag set to No. The outcome is always a variable named SCORE which value must be set to 100 in case of correct answer. Partial scores (not 0 or 100) are not supported.
Reimplemented from cc_assesment_question_proc_base.
Definition at line 2276 of file cc_asssesment.php.