Moodle Question Type Usage

From WeBWorK_wiki
Jump to navigation Jump to search

This article is on using the Moodle Question Type. In general things are self explanatory. This mainly acts as a step by step guide to common tasks. Other information is available in the article Simulating WeBWorK Assignments with Moodle Quizzes.

Basic Information[edit]

Some knowledge of how Moodle is presumed. If you have never used Moodle before the following resources are helpful.

In particular the WeBWorK Question Type uses the Quiz Module. If you aren't familiar with this module a good resource is chapter 5 of the Moodle Book. At first things can be a bit overwhelming, but I find the best way to learn is to just install the software and explore!

Loading a WeBWorK Question[edit]

This procedure explains how to load a WeBWorK question into your Moodle question bank.

  1. Click on the 'Questions' link under 'Administration' on the main course page.
  2. Click on the 'Create New Question' drop down and navigate to 'WeBWorK'. The editing page will now load.
  3. Enter a name for your new question in 'Question name' field.
  4. Paste in the PG code for the question into the 'Code' text area.
  5. Submit.

Assuming all goes well you will be back on the page for the question bank. If there were errors you will be taken back to the edit question page. Moodle will box the field in red that is causing problems. PG code errors and warnings are displayed above the 'Code' text area.

NB: There is an issue with adding questions in this manner. When attempted with Moodle 1.9.3 Moodle responds with:

Need to pass courseid or cmid to this script

As of July 14 it appears that the wwmqt is at Revision 31 and that no changes have been made to the SVN to address this issue. Net-buoy 13:51, 14 July 2009 (EDT)

Previewing a WeBWorK Question[edit]

The WeBWorK question preview pane in Moodle.

You can preview a WeBWorK Question by clicking the magnifying glass icon next to the question name when at the question bank page. A small window will open with the rendered question. Here you can test if the question is mathematically correct. If you click the Start Again button or reopen the preview window a different seed with different numbers will be rendered.