Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Question behaviour where the student can submit questions one at a time for immediate feedback.

Copyright: 2009 The Open University
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 147 lines (5 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: qbehaviour_immediatefeedback  - X-Ref

Question behaviour for immediate feedback.

Each question has a submit button next to it which the student can use to
submit it. Once the qustion is submitted, it is not possible for the
student to change their answer any more, but the student gets full feedback
straight away.

is_compatible_question(question_definition $question)   X-Ref
No description

can_finish_during_attempt()   X-Ref
No description

get_min_fraction()   X-Ref
No description

get_expected_data()   X-Ref
No description

get_state_string($showcorrectness)   X-Ref
No description

get_right_answer_summary()   X-Ref
No description

process_action(question_attempt_pending_step $pendingstep)   X-Ref
No description

summarise_action(question_attempt_step $step)   X-Ref
No description

process_submit(question_attempt_pending_step $pendingstep)   X-Ref
No description

process_finish(question_attempt_pending_step $pendingstep)   X-Ref
No description

process_save(question_attempt_pending_step $pendingstep)   X-Ref
No description