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 type for deferred feedback with CBM behaviour.

Copyright: 2012 The Open University
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 249 lines (11 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 1 file
 question/behaviour/deferredfeedback/behaviourtype.php

Defines 1 class

qbehaviour_deferredcbm_type:: (4 methods):
  adjust_random_guess_score()
  summarise_usage()
  format_probability()
  calculate_bonus()


Class: qbehaviour_deferredcbm_type  - X-Ref

Question behaviour type information for deferred feedback with CBM behaviour.

adjust_random_guess_score($fraction)   X-Ref
No description

summarise_usage(question_usage_by_activity $quba, question_display_options $options)   X-Ref
No description

format_probability($probability, $dp = 0)   X-Ref
No description

calculate_bonus($total, $accuracy)   X-Ref
No description