Now that you've started to build an advanced assessment, you may want to add the Math Question Generator.
➡️ Need help getting started with Advanced Assessments? Click here
With the Math Question Generator, the student enters a math response into one or more response boxes.
The Learnosity math question generator is a tool for content authors that enables easy creation of mathematics questions that use dynamic content.
Math question generator automates the repetitive aspects of mathematics question authoring, by taking a range of values and then creating a data table containing many variations of the question (and relevant solutions), with validation automatically set up.
Math question generator supports all math currently supported in Learnosity and leverages the same scoring methods as other math question types. However, the math question generator applies the scoring methods for you, depending on the type of correct answer you select.
Article Table of Contents:
Build the Item
If you are creating a new item, select the + Create button on the assessment builder, title the item, then select the Add New plus sign to add the Math Question Generator.
If you are adding the Math Question Generator to an existing item, simply select the Add New plus sign (as shown above) to add to the existing item.
Next, select the Math category from the options on the left, then select Math Question Generator
❗ Please Note: a math question generator question cannot be added to an item with an existing dynamic content data table. Also note, you cannot add two math question generator questions in the same item. Any change to the data table is required to be made within the math question generator wizard and then regenerated.
Creating Questions Using the Math Question Generator
➡️ The math question generator authoring interface contains the dynamic math generator, and settings for the following:
Settings for layout, including final response box size and associated ARIA label,
Settings for the keypad,
Settings for text blocks,
General metadata and the math question type, and
➡️ When using math question generator on an item for the first time, launch the math question generator wizard by selecting the "Create expression" button.
The dynamic math generator uses a wizard, or step-by-step progression through four screens, designed to step content authors through creation of algorithmic math content. The four steps are as follows:
Create parameters and set their values,
Create the expression with the parameter(s),
Select the correct answer format(s), and
Generate the questions.
Step 1: Create parameters and set their values
In this section, define the parameters that are required for the question.
NOTE: There is always a pre populated parameter, as math question generator requires at least one to operate.
➡️ Value Settings
Once the parameter name has been defined, value settings are applied for the parameters. There are two options for setting parameter values, list and range. Each option will accept positive, negative and decimal values to three decimal places.
➡️ Add Additional Parameters
➡️ Remove a Parameter
Once all parameters and values are set, navigate by clicking 'next' or via the breadcrumb link at the top of the generator wizard.
Step 2: Create the expression with the parameter(s)
In this section the expression that defines the question is set including the parameters created previously. This expression is the basis for the validation setting (the correct answer) that is returned by Math question generator. It can also be used within the question content itself. See the headings 'Adding Parameters within an expression' and 'Adding Parameters inline with text' on this page for examples.
➡️ Adding parameters within an expression
Let’s take the example of factorizing a quadratic expression to demonstrate this use case.
Our constants are a, b and c and will become the parameters we set for generation of math question generator content.
As per Create parameters and set their values enter these parameters with the following values:
Now move to the Expression & question section and using the keypad add a mathematical expression that will form the basis of your question. This expression will be evaluated when generating the correct answer forms. The parameters can be inserted within the expression using the Data dropdown.
In this example it will be the factored form of the expression, it should look like this:
Moving to the field below the keypad, this is where the question stem is added. This offers the same rich text options of a regular math question stimulus. Additionally, in math question generator, there is the 'use expression' option to place a copy of the expression into the question stem if required.
Below is how this example may be authored.
❗ Note: you must ensure that there is a ‘Response’ box included in the question text. This is the field that the user will enter their answer in, and where the Learnosity math engine will process the answer from. You can only add one ‘response’ area as we do not handle multiple responses with math question generator content.
The default size is 25px square to accommodate its use inline within text. If an alternate size is required this can be adjusted under the Layout section once math question generator content is set and you are back in the question editor. Select preview to see the result as it will be rendered.
➡️ Adding parameters inline in text
Math question generator parameters can also be used within text to add the parameter values to the question stem itself.
Let's take the example of numbers of fruit. We will ask the user to calculate the final number of fruit a group of people have combined.
First, we need to define the fruit. On the first screen of the wizard we enter all the fruit parameters, we add ‘apples’, ‘bananas’ and ‘pears’ and set each parameter range to the desired amount. In this case, we set ranges of 1 to 5.
On the next screen we can define our expression and our question, the order does not matter. For this example we will set the question first, remember the parameters are available in the ‘data dropdown' button within the text editor toolbar. Don’t forget you need to have one response box in this section for the user to enter their answer.
Next, we will need to define an expression that represents this question. In the same way as the factored example, this expression will be used by math question generator to calculate the correct answer in all adaptations.
In this case we need to add apples, bananas and pears and then subtract three.
So, we would enter the following:
3. Select the correct answer format(s)
Moving to the next section of the wizard, math question generator will process the expression and parameter settings and present you with all mathematical forms that represent a possible answer the Learnosity Math engine will accept. It will also offer any further settings that may be relevant to the form of the correct response. For example, if there are decimals or thousandths in the valid answers, configuration options are displayed to set the accepted forms of the decimal and thousandths separators.
❗ Note: In some cases, only the original expression will be available to select. In this case it's recommended to check the original expression and the expected answer. Where this could be relevant for the intended use case, in most cases it signals that the original expression is invalid.
Behind the scenes, math question generator will automatically set the Learnosity math scoring method(s) for the question. Multiple forms of the solution can be selected and where relevant, alternate responses are set automatically, as well. Because setting the validation is handled automatically, the existing math question validation interface is not displayed in the math question generator.
Step 4: Generate the questions
The next section of the wizard will allow us to generate the possible variations for this expression. This is based on the ranges for each parameter, and the particular form of the correct answer(s).
Copyright © Learnosity Ltd. 2006-2021