Variable numeric

Question types ::: qtype_varnumeric
Maintained by TimTim Hunt, at the OU (Perry building)Mahmoud Kassaei
A calculated numeric question type with variable and expression evaluation. Random values are generated for each student attempting the quiz.

Variable numeric 1.2 for Moodle 2.3+

Moodle 2.3, 2.4
Released: Friday, March 15, 2013, 1:29 AM
Variable Numeric Question Type

The question type was created by Jamie Pratt ( for
the Open University (

This question type is compatible with Moodle 2.3+.

This question type requires the varnumericset question type to be installed. See:

To install using git, type this command in the root of your Moodle
install :

git clone git:// question/type/varnumeric

Then add question/type/varnumeric to your git ignore.

Alternatively, download the zip from
unzip it into the question/type folder, and then rename the new folder to varnumeric.

You may want to install Tim's stripped down tinymce editor that only allows the
use of superscript and subscript see To install this editor using
git, type this command in the root of your Moodle install:

git clone git:// lib/editor/supsub

Then add lib/editor/supsub to your git ignore.

If the editor is not installed the question type can still be used but if it is
installed when you make a question that requires scientific notation then this
editor will be shown and a student can either enter an answer with the notation
1x10^5 where the ^5 is expressed with super script.

Version information

Version build number
Version release name
1.2 for Moodle 2.3+
Can be updated from
1.0 (2011082701), 1.0 (2011082701), 1.1 for Moodle 2.1 (2012081600), 1.1 for Moodle 2.2 (2012081600), 1.1 for Moodle 2.3+ (2012081600)
Can be updated to
1.3 for Moodle 2.5+ (2013070100), 1.4 for Moodle 2.5+ (2014010800), 1.5 for Moodle 2.5+ (2014042800), 1.6 for Moodle 2.6+ (2014111200)
Stable version
MD5 Sum
Supported software
Moodle 2.3, Moodle 2.4
  • Latest release for Moodle 2.3
  • Latest release for Moodle 2.4

Version control information

Version control system (VCS)
VCS repository URL
VCS branch
VCS tag

Default installation instructions for plugins of the type Question types

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myquestiontype") in the "question/type" subdirectory.
  4. Visit to finish the installation