Trunk User GuideTrunk User Guide Tests & QuizzesHow do I add a Calculated question to an assessment?

How do I add a Calculated question to an assessment?

A Calculated question type presents a unique calculation that requires the user to solve.

A calculated question calculates new answers for every test, based on variables whose value changes each time. The answer is based on a formula, using those variables.

A variable definition has a name, a minimum and maximum value, and a number of decimal places.

A formula definition has a name, an mathematical expression that uses the variables, and a tolerance, so that answers within that tolerance of the answer are also considered correct.

Go to Tests & Quizzes.

Go to Tests & Quizzes.

Under the Working Copies tab, click "Select Action" for the assessment and select Edit.

Under the Working Copies tab, click "Select Action" for the assessment and select Edit.

This displays the assessment Edit page.

Use the "Select a question type" dropdown box to select the Calculated Question type.

Use the "Select a question type" dropdown box to select the Calculated Question type.

This displays the edit Calculated question page.

Add an Answer Point Value.

Add an Answer Point Value.

Add Question Text, then click Extract Variables and Formulas.

Add Question Text, then click Extract Variables and Formulas.

Variables are referenced in the question text by putting them in single curly braces eg. {x}.

Place double curly braces (e.g. {{z}} around a formula name, to define where the student's input box will display.

Note: To edit with the Rich Text editor, click the hyperlink to open the full menu.

Define the Variables and Formula.

Define the Variables and Formula.

Add Attachment. (Optional)

Add Attachment. (Optional)

Click Add Attachments to browse for and select a file attachment.

Assign the question to a portion of the assessment and/or a Question Pool. (Optional)

Assign the question to a portion of the assessment and/or a Question Pool. (Optional)

1. The question can be added to a specific portion of the assessment, such as Part 1 or Part 2 (depending on how many parts exist). Part 1 is the default location.

2. The question may also be added to a question pool, if desired. (See: "What is a Question Pool?")

Provide Feedback. (Optional)

Provide Feedback. (Optional)

Feedback is optional text available for students to view after the particular question is graded. This feedback will be released to students if the "Settings" for the assessment includes "Release Questions and the following" and "Question-level Feedback".(See: "How do I Edit the Settings for an assessment?")

Note: To edit with the Rich Text Editor, click the hyperlink to open the full menu.

Click Save.

Click Save.

This adds the Calculated question to the assessment questions list.

Example:

Example:

Example of what the Calculated question looks like from the student view:

Example of what the Calculated question looks like from the student view: