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.

Variable numeric 1.4 for Moodle 2.5+

Moodle 2.5, 2.6, 2.7
Released: Wednesday, January 8, 2014, 10:41 PM
Variable Numeric Question Type

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

This version of this question type is compatible with Moodle 2.5+. There are
other versions available for Moodle 2.3+.

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

To install this question type 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.4 for Moodle 2.5+
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), 1.2 for Moodle 2.3+ (2013031400), 1.3 for Moodle 2.5+ (2013070100)
Can be updated to
1.5 for Moodle 2.5+ (2014042800), 1.6 for Moodle 2.6+ (2014111200)
Stable version
MD5 Sum
Supported software
Moodle 2.5, Moodle 2.6, Moodle 2.7

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