Difference between revisions of "Opaque question type"

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 3.3. Up-to-date documentation for the latest stable version of Moodle is probably available here: Opaque question type.

m (Creating an Opaque question: format, link to quiz forum)
(See also)
Line 24: Line 24:
==See also==
==See also==
*[http://moodle.org/mod/forum/view.php?f=121 Quiz forum for discussions]
* [[Development:Opaque|Description of the Opaque protocol]]
* [http://moodle.org/mod/forum/view.php?id=737 Quiz forum for discussions]
* [[:dev:Open_protocol_for_accessing_question_engines|Description of the Opaque protocol]]
* https://github.com/timhunt/moodle-qtype_opaque and https://github.com/timhunt/moodle-qbehaviour_opaque the code on github.

Revision as of 15:21, 19 August 2011

Installing the Opaque question type

  1. Download it from Opaque question type Plugin Database page.
  2. Unzip.
  3. Copy the opaque folder into the question/type folder of your Moodle install.
  4. Go to http://myserver/admin/index.php in your browser to complete the installation.

Configuring the question type

It would be good if there was a test Opaque question engine somewhere on the internet that people could use to try this out. Unfortunately, at the moment all the ones I know about are inside the OU's firewall. Drat!.

  1. Visit http://myserver/question/type/opaque/engines.php.
  2. Click 'Add another engine'.
  3. Enter the details of an Opaque engine.

Creating an Opaque question

This works just like any other question type - select 'Opaque' from the Create new question dropdown on the question bank screen.

The Opaque editing form has very few fields, since the question is mostly defined by the remote engine, we just have to say which engine to connect to, and the question id and version.

Then you can add you new question to a quiz, and try it out. Or you could just preview it.

See also