Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Home
- Home Knowledge Base
- Knowledge Knowledge Base
- Guides Knowledge Base
- Canvas Knowledge Base
- Instructor Guide
- How do I create a Formula quiz question with a sin...

- Article History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Report Inappropriate Content

How do I create a Formula quiz question with a single variable?

You can create a quiz question that involves a formula with a single variable. Based on the variable and formula definitions, the question could change for every student.

**Notes: **

- If you need help adding a mathematical formula in the Rich Content Editor, please see the Math Editor lesson.
- If you need help building formulas in the Formula Definition field, see the Canvas Formula Quiz Question Helper Functions PDF.
- To negate an expression in the Formula Definition field, multiply the function by -1. For example, type -1*sqrt(5x).

With the **Questions** tab [1] selected inside a new quiz, click the **New Question **button [2].

Quiz questions are not automatically numbered for instructors. To add a custom name to your quiz question, enter the name in the question text field [1]. Custom names can help you identify quiz questions more easily. Regardless of the question name, students always see quiz questions in numerical order (i.e. Question 1, Question 2).

Click the drop-down menu and select the Formula question type [2].

Enter number of points the question is worth (quiz totals are calculated based on combined total of questions) [3].

**Note:** Quiz point values support up to two decimal places. Entering more than two decimal places will round the point value to the nearest hundredth.

Type the question prompt text and formula with variables in brackets in the Rich Content Editor [1]. You can include video, images, math equations, or flash activities. Click the **Need help? **link [2] for more advanced options.

**Note: **If you need help adding a mathematical formula in the Rich Content Editor, please see the Math Editor lesson. You cannot use the letter "e" as a variable. It is a reserved mathematical constant.

After you have finished typing the formula in the Rich Content Editor, parameters to define the formula will appear. Set the variable definitions for the formula. Specify the minimum and maximum numbers for variable X [1]. Setting a minimum will prevent a division by zero.

Select decimal places in the drop-down menu [2], and click the **Recompute** button [3] to verify that Canvas will insert a number into the formula that is within the variable definition.

Type the formula definition in the formula field [1]. Make sure the formula does not contain any brackets or equal signs. Select the **Decimal Places **drop-down menu [2] to set the number of decimal places you want used for the result. Select the **Save **button to save your formula [3].

**Note: **If you need help building formulas in the Formula Definition field, see the Canvas Formula Quiz Question Helper Functions PDF.

Once you've added a formula definition, you can go back to the Recompute button and watch the calculated variable process through the formula, creating the result. You can recompute as many times as you'd like. For instance, in this example, the number 79 acts for x and the result is -941.

In the Offer field, specify the number of possible solutions you want Canvas to generate [1].

In the error margin of field, enter the margin of error for the student's answer [2]. Responses are based on relative error in addition to absolute error. Margins of error can be created as a percentage or as a point value (up to three decimal places).

Click the **Generate** button to view final answer [3].

Possible solutions will process according to the number of value combinations.

You can provide feedback for the question by clicking an answer comment field and entering text. The comment fields are color-coded to correspond with the type of answer the student provides. Green is for correct answer feedback [1], red is for incorrect answer feedback [2], and blue is for general question feedback [3].

**Note:** Any applicable feedback is visible as soon as a quiz is submitted and cannot be hidden from students.

This is what students see when they encounter a Formula question in a quiz.

If you allow students to see the correct answers, they will see the correct responses listed after their answer.

If you allow students to see the correct answers, they will see the correct responses listed after their answer. If the student got the answer incorrect, a red flag will indicate the answer was incorrect.

- Have a question about using Canvas? Visit the Q&A page.
- Have an idea to improve Canvas? Visit the Idea Conversations space.
- Need to reply to a course discussion? Log in to your Canvas course and add your comment there (Tip: Visit your school's website to log in to Canvas).

Version history

- Reference
- Community Guidelines
- Security
- Developers
- Open Source