Permutations and Combinations

  1. Order counts in permutations. For combinations, only the final result matters, not how you get to it. Order does not count for combinations.

  2. This is asking for combinations with 5 items (types of toppings) taken 2 at a time. 5!/(3! \times 2!) =120/12 = 10.

  3.  Since these are independent events you apply the multiplication rule: (.5 x .1667 = .0833)

  4. This is asking for permutations with 5 items (entries) taken 2 at a time (first place and second place). 5!/(3!) =120/6 = 20.

Callback before_footer in local_aigrade component should be migrated to new hook callback for core\hook\output\before_footer_html_generation
  • line 7225 of /lib/moodlelib.php: call to debugging()
  • line 7292 of /lib/moodlelib.php: call to {closure}()
  • line 71 of /lib/classes/hook/output/before_footer_html_generation.php: call to get_plugins_with_function()
  • line 987 of /lib/classes/output/core_renderer.php: call to core\hook\output\before_footer_html_generation->process_legacy_callbacks()
  • line 97 of /mod/book/tool/print/index.php: call to core\output\core_renderer->footer()