Giter VIP home page Giter VIP logo

moodle-qtype_oumultiresponse's Introduction

The OU Multi-response question type

The main difference from the standard Moodle multiple choice question type is in the way that grading works. When creating the question, the teacher just indicates which choices are correct. If there are n correct choices, then the student scores 1/n for each correct choice, and loses 1/n for each incorrect choice. So for example, suppose the question is:

Which of these animals are mammals?

A. Dog
B. Frog
C. Toad
D. Cat
E. Cow
F. Newt
G. Lion

Then

  • ADEG (4 right out of 4) scores 100%.
  • D (1 right) scores 25%.
  • ADEGF (4 right, 1 wrong) scores 75%.
  • ADEBC (3 right, 2 wrong) scores 25%.

In interactive mode, the student is given more credit for choices that are selected correctly on the first try, even if it takes more tries to get some of the other choices correct.

Acknowledgements

This is a multiple-choice, multiple-response question type that was created by Mahmound Kassaei and Tim Hunt at the Open University (http://www.open.ac.uk/).

Installation and set-up

Install from the plugins database

Install from the Moodle plugins database

Install using git

To install using git, type these commands in the root of your Moodle install git clone https://github.com/moodleou/moodle-qtype_oumultiresponse.git question/type/oumultiresponse echo '/question/type/oumultiresponse/' >> .git/info/exclude

Then run the moodle update process Site administration > Notifications

moodle-qtype_oumultiresponse's People

Contributors

anupamasarjoshi avatar huongnv13 avatar ja9837 avatar jamiepratt avatar mkassaei avatar sammarshallou avatar timhunt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

moodle-qtype_oumultiresponse's Issues

PHP 8.2 Warning issued

Deprecated: Creation of dynamic property qbank_previewquestion\question_preview_options::$suppresschoicefeedback is deprecated in MOODLESITE\question\type\oumultiresponse\questiontype.php on line 408

PHP UNIT test triggers error

PHPUnit 9.5.4 by Sebastian Bergmann and contributors.
........F................ 25 / 25 (100%)
There was 1 failure:

  1. qtype_oumultiresponse_question_test::test_grade_computation
    Failed asserting that 0.3333333 matches expected 0.33333333333333331.

Issues highlighted by admin/cli/check_database_schema.php

Every now and then, we are running the admin/cli/check_database_schema.php script in our Moodle installation.

This time, this issue was highlighted:

-------------------------------------------------------------------------------
question_oumultiresponse
 * column 'showstandardinstruction' has default '1', expected '0' (I)
-------------------------------------------------------------------------------

Upon investigation, I saw that there is a discrepancy between https://github.com/moodleou/moodle-qtype_oumultiresponse/blob/main/db/install.xml#L20 and https://github.com/moodleou/moodle-qtype_oumultiresponse/blob/main/db/upgrade.php#L77. The first defines a default of 0, the second (which became effective in our Moodle instance as we are using this plugin for a long time now) defines a default of 1.

May I ask you to add another step to db/upgrade.php which fixes the default for upgraded installations?

Thanks in advance,
Alex

Bug: Checkmarks are placed within the text

Hi,

in Moodle 3.5 the checkmarks the user sees after his answers have been validated do not have an margin and they are place within the text:
ou_multi_bc

A possible solution is to add a margin to the icon:

.oumultiresponse.deferredfeedback .icon {
	margin-left: 1rem;
}

Best, Kathrin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.