Variable numeric

Question types ::: qtype_varnumeric
Maintained by Tim at Lone Pine Koala SanctuaryTim Hunt, Jamie Pratt, Phil Butcher
A calculated numeric question type with variable and expression evaluation. Random values are generated for each student attempting the quiz.
Latest release:
721 sites
137 downloads
23 fans
Current versions available: 7

There are working examples in eAssessment with Moodle on our OpenLearn site.

The documentation is in How to create questions in Moodle on that site.

Sets

This plugin is part of set Open University.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Tim at Lone Pine Koala Sanctuary
Tim Hunt (Lead maintainer)
Jamie Pratt: Developer
Phil Butcher: Question type designer
Colin Chambers: Developer
Chris Nelson: Product owner
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Tue, Dec 16, 2014, 1:11 AM
    Thanks! That's what I needed!! I've got my first one in.
  • Tue, Jan 5, 2016, 12:26 AM
    We have started to experiment with this plugin and we noticed that the decimal and thousand separator are hard coded into the plugin code rather than getting them from the Moodle language file. Do you plan to change this behaviour?
  • Tim at Lone Pine Koala Sanctuary
    Wed, Jan 6, 2016, 3:16 AM
    Unfortunately, we don't plan to do this. The handling of . and , in the standard Numerical question type is not ideal, and has caused many subtle problems over the years, so I am wary of copying it.

    This question type was created by and for the Open University, which only teaches in English, so we don't need this ourselves. This reduces the change the change would ever by made (but it is not completely impossible).
  • Thu, Jun 22, 2017, 10:05 PM
    Do you plan to support moodle 3.2 and 3.3 and so on?
  • Tim at Lone Pine Koala Sanctuary
    Fri, Jun 23, 2017, 12:26 AM
    I am pretty sure that this question type dose work with 3.2. I suggest you test it. However the Behat tests need to be udpated before they will pass. I need to transfer the fixes from the OU's code base, and I don't have time to do that right now.
  • Wed, Aug 2, 2017, 10:52 AM
    Hi all,

    Please let me know which version can work fine with moodle 3.3?
  • Tue, Oct 17, 2017, 10:32 PM
    I tested the plugin on moodle 3.3 and it works.
  • Tim at Lone Pine Koala Sanctuary
    Tue, Oct 17, 2017, 10:54 PM
    Thanks, Charles.
  • Mon, Apr 23, 2018, 8:04 PM
    Hello,

    will there be a 3.4 Version of this Plugin?

    Best regards
    Sebastian
  • Wed, Mar 4, 2020, 4:49 AM
    Hi,

    How can I change the decimal separator from a point to a comma?

  • Thu, Apr 23, 2020, 7:23 PM
    I'd also like to know this, because like other languages in spanish and in catalan the coma is the decimal separator. In moodle core, the numerical question has it resolved. Does anybody know how to fix this? thank you in advance.
  • Tim at Lone Pine Koala Sanctuary
    Thu, Jun 11, 2020, 5:37 AM
    Latest version works with Moodle 3.9.
  • Thu, Sep 24, 2020, 9:16 PM
    I need to rand float !!!
  • Tim at Lone Pine Koala Sanctuary
    Thu, Sep 24, 2020, 10:00 PM
    rand_int(0, 10000)/10000
1 2
Please login to post comments