Setting up a Calculated Simple question in Moodle 2.3

Creating calculated questions in Moodle 2.3 can be quicker using the Calculated Simple question type in the Moodle Question Bank. If you have not reviewed the Calculated and Calculated multichoice tutorials, please do so as they will help with this tutorial. The following article will explain the steps for setting up the Calculated Simple question within Moodle.

Creating a Simple Calculated question

  1. Log into the Moodle Dashboard
  2. Navigate to Front page settings > Question bank > Questions. Click Create a new question and select Calculated Simple and click Next.
  3. calculated-simple-1-add-moodle

    On the Adding a Simple calculated question page, Fill in the General section. This is the same as step 4 of the Inserting a Calculated question in the Moodle Question Bank. In this tutorial, the question will be on the Perimeter of a square. The question will be as follows:

    What is the perimeter of a square with the length of {L} inches and the width of {W} inches?


  4. calculated-simple-2-answer-moodle

    In the Answer section, enter the formula in the Correct Answer Formula= box. For information on the tolerance see Working with the calculated question Tolerance in Moodle 2.3

    Hint! Formulas should be created the same way they are entered into a calculator.

    The answer formula for this question will be 2*{W}+2*{L}

    Note! The grade of one of the answers should have a score of 100% so it is possible to get full marks for this question.


  5. calculated-simple-3-find-moodle

    Scroll down to after the Hint section to the Find the wild cards {x…} present in the correct answer formulas button. This feature is a part of the Simple Calculated question. Moodle will generate the Parameters for the questions based off of what was inputted in the Question text of the General section. Click the button.

  6. calculated-simple-4-param-moodle

    Now the Wild cards parameters used to generate the valuesbox will appear. Here the Range of values and the Decimal places for both variables can be edited. Adjust the Range of Values for each wild card variable.

    Set the quantity of wild cards to generate and how many to display. The Generate button will determine how many datasets to make. The Display button will display only the amount selected in the box. In this tutorial, Generate 10 and Display 2. Click Generate.

  7. calculated-simple-5-values-moodle

    The Wild card(s) values element will appear. Only 2 will display because the display was set to 2. Click Save changes.

  8. calculated-simple-6-list-moodle

    Finally, Preview the question in the Question Bank.

    calculated-simple-7-final-moodle

    When answering the question, because 10 Datasets were created. This question will be randomized with 10 different numbers and answers.


This concludes the article for Setting up a Calculated Simple question in Moodle 2.3. After understanding the Calculated questions, lets move to a simpler question type, the Essay question. Please check the next article on Creating an Essay question in the Moodle Question bank.

AK
Alyssa Kordek Content Writer I

Alyssa started working for InMotion Hosting in 2015 as a member of the Technical Support team. Before being promoted to Technical Writer, Alyssa developed expertise in the fields of server hardware, Linux operating systems, cPanel, and WordPress. She now works to produce quality technical content featuring cutting-edge topics such as machine learning, data center infrastructure, and graphics card technology.

More Articles by Alyssa

Was this article helpful? Let us know!