Skip to main content
Sign In

University of Colorado Denver

​​​​​​​​​ ​
 

Writing Formula Quiz Questions in Canvas


The Canvas Publisher has a tutorial for a one variable formula quiz question here in their helpful online tutorial area.

Formula quiz questions might be useful in any course where simple calculations are to be tested.

Here is how you might write a two variable formula quiz question

Click on the Question Tab at the top and New Question at the bottom of the page. Select Formula Question as the question type from the drop down menu.

cfq2-1 

You can enter the point value to the right if not the default.

cfq2-2  

The next step is to write the question including the variables. These variable will be selected randomly from a selected collection (see below)

cfq2-4  

Here we have two variables, Cp0 and Vd. Notice that they are surrounded by []. Canvas uses this notation to declare the variables.

cfq2-5  

Once the variables are declared in the question area they appear in the Variable Definition section. You can set the minimum and maximum values and the number of decimal places for each variable. Using the Recompute button you can get an idea of the possible values.

cfq2-6  

Moving to the Formula Definition section allows you to enter the formula for the numeric answer. Here we are calculating the dose required as Cp0 times Vd. These names need to match the names within the [] in the question field. Various functions can be included, for example ln, abs.

cfq2-7  

Don't forget to click the Save button. This will verify your formula and provide a numeric result.

cfq2-8  

It may take you a few tries to get it right so you can delete bad formula attempts by clicking the red cross on the right.

cfq2-9  

Now you will need to determine how many version of this 'random' question to generate. With 160 in a class you might generate somewhere between 80 and 160?

You specify a tolerance that you will accept as correct.

cfq2-10  

Generate the number of possible solution by pressing the Generate button. This will take a little time depending on how many you choose to generate,

cfq2-11  

You can enter positive feedback in the green text text field (it will expand when you click on it) or helpful hints in the red wrong answer text field.

cfq2-12  

Finally don't forget to update/save the question or you will need to do it all again. If you notice a mistake or want to change something you can always edit the question and update/save again.


David Bourne​​​​​​