A guide to Dynamic Content and its uses.
Dynamic content is a form of smart content which allows many variations of the same Question. There is no need to enter large amounts of data manually, the data is imported directly from a spreadsheet/CSV. You can even quickly generate data in this fashion using popular spreadsheet applications. This data will then be automatically transformed into a table and can be used to author Questions using table variables.
Note This feature requires the Author API interface, as shown. If the Data button does not appear as in the screenshots below, contact support and we will enable the feature for you.
Dynamic Content works with all Question Types, but is utilised best in Math and Chemistry, Multiple Choice Questions, Matching, Sort, and Order Lists.
Below, you will see an example of how to create data tables and author Questions using the uploaded data. We also recommend watching our video tutorials for more examples on Dynamic Content in Cloze Math, Multiple Choice and Match List Questions.
Note The Item Branching/Adaptive modes are not compatible with Dynamic Content.
Adding Dynamic Content
Open a new Item and click on the Settings button on the top right of the Item.
Figure 1 - Settings button in the Item.
In the pop-up window, click on the data table icon, and insert the data from a CSV file or a spreadsheet and click Continue.
Note that your data must have column headers that represent the purpose of each column. These column headers will appear as variable names in the UI. In this example, we will use Operand 1, Operand 2, and Result.
Figure 2 - Inserting data in the Item.
The pasted content will be transformed into the data table. If you are happy with your data table, click Apply. It will be automatically saved and you will be brought back to Item Edit.
If the data does not appear to your liking, edit the CSV and try again.
Hint: Preview the CSV in a spreadsheet application, like Google Sheets, to see if it matches your expectations.
Figure 3 - Data table with a set of variables that represent two Operands and Result.
You can now use the data to create Questions. Add a Question to an Item as normal. We are going to use a Cloze Math Formula Question Type as an example.
Let's create a simple math expression. Open a new Cloze Math Question and add a single zone.
Figure 4 - Enter an empty response box inside the Formula template area.
Then under More Options navigate to the Formula template under the Layout section. From the Rich Text Editor in the Formula template area, select the Data option (see Figure 5).
Figure 5 - Rich Text Editor panel with Data button.
Choose Operand 1 from the drop down menu, add a plus sign and then select Operand 2. Add an equals sign and a response box as shown in Figure 5.
Figure 6 - Cloze Math Formula template with variables.
Then go to the validation section, and from the Value field click on the Data button again. This time select Result. You have now set the expression syntax and the result for each value combination, all in a few clicks.
Figure 7 - Added equation with result result variable from data to validation
Now when you preview the Question you will see the Data button with left and right arrows. Click on the arrows to switch between equation combinations you've created, and test the correct response for each of them.
Figure 8 - Question with Dynamic Content preview.
The above example demonstrates how dynamic content works within authoring. While it is a great way to save time for the author, it also discourages cheating between students as they are being tested on the same subject, but have different questions to answer. The transfer of data is as simple as copy and paste, resulting in a time efficient and seamless operation.