Git Product home page Git Product logo

moodle-qtype_formulas's Introduction

Formulas question type for Moodle

Automated code checks Automated acceptance tests Automated unit tests GitHub Release

This is a question type plugin for Moodle with random values and multiple answer fields. The answer fields can be placed anywhere in the question so that we can create questions involving various answer structures such as coordinate, polynomial and matrix. Other features such as unit checking and multiple subquestions are also available.

These functionalities can simplify the creation of questions in many fields related to mathematics, numbers and units, such as physics and engineering.

This question type was written by Hon Wai Lau and versions for Moodle 1.9 and 2.0 are still available at the original author's website at the date of this writing. It was then upgraded to the new question engine introduced in Moodle 2.1 by Jean-Michel Védrine.

This version is compatible with Moodle 3.9 and newer. It has been tested with:

  • Moodle 3.9 using PHP 7.4
  • Moodle 3.11 using PHP 7.4 and PHP 8.0
  • Moodle 4.0 using PHP 7.4 and PHP 8.0
  • Moodle 4.1 using PHP 7.4, PHP 8.0 and PHP 8.1
  • Moodle 4.2 using PHP 8.0 and PHP 8.1

Requirements

You will need to install Tim Hunt's Adaptive question behaviour for multi-part questions (qbehaviour_adaptivemultipart) prior to installing the formulas question type. You can also get it from GitHub.

You absolutely need version 3.3 or newer of this behaviour, the formulas question type will not work with previous versions.

Installation

Installation from the Moodle plugin directory (prefered method)

  1. Download the plugin from the Moodle plugin directory.
  2. Install as any other Moodle question type plugin.

Installation Using Git

To install using git type these commands in the root directory of your Moodle install:

$ git clone git://github.com/FormulasQuestion/moodle-qtype_formulas.git question/type/formulas
$ echo '/question/type/formulas/' >> .git/info/exclude

Installation From Downloaded ZIP file

Alternatively, download the zip and unzip it into the $MOODLE_ROOT/question/type folder. Do not forget to rename the new folder to formulas.

Creating formulas questions

This question type is very powerful and permit creation of a wide range of questions. But mastering all the possibilities requires some practice and there is a learning curve on creating formulas questions.

Here are some pointers to the available help :

  • First, you can import the Moodle XML file samples/sample-formulas-questions.xml and play with the included formulas questions.
  • You can visit the documentation made by Dominique Bauer. As there is no or little difference in the Formulas question type plugin for recent versions of Moodle (2.0 and above), the documentation for the Formulas question type has been moved to this location but it applies to all Moodle versions, including the current release.
  • You can read discussions about the formulas question type in the Moodle quiz forum like, for example, the thread where Jean-Michel Védrine presents the (then) new version for Moodle 2.0 or this one from Hon Wai Lau
  • You can post your own questions in this forum.

Reporting bugs, problems

Please open an issue on GitHub.

You can also open an issue in the Moodle Tracker

To create a new tracker issue:

  1. Log in and click on the Create button in the menu bar.
  2. Choose Plugins (CONTRIB) in the "Project" field.
  3. Set the "Component(s)" field to Question type: Formulas.
  4. Try to include as many details as you can so that the problem can be reproduced.

moodle-qtype_formulas's People

Contributors

philippimhof avatar dbauer-ets avatar jmvedrine avatar laurentdavid avatar lucaboesch avatar golenkovm avatar

Watchers

James Cloos avatar

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.