Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.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