Moodle  2.2.1
http://www.collinsharper.com
cc_assesment_question_multichoice Class Reference
Inheritance diagram for cc_assesment_question_multichoice:
Collaboration diagram for cc_assesment_question_multichoice:

Public Member Functions

 __construct ($quiz, $questions, $manifest, $section, $question_node, $rootpath, $contextid, $outdir)
 on_generate_answers ()
 on_generate_feedbacks ()
 on_generate_response_processing ()

Detailed Description

Definition at line 2166 of file cc_asssesment.php.


Constructor & Destructor Documentation

__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.


Member Function Documentation

Reimplemented from cc_assesment_question_proc_base.

Definition at line 2188 of file cc_asssesment.php.

Here is the call graph for this function:

Reimplemented from cc_assesment_question_proc_base.

Definition at line 2245 of file cc_asssesment.php.

Here is the call graph for this function:

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.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations