Example: Use a short answer in a math question
Updated 16 Jun 2023
The following example shows you how to create a simple math question with a static short answer:
- When you open the Create Custom Question wizard, choose to start with an empty template.
- Select Top/Bottom as the format and click Next.
- In the Custom Question Builder, enter the following
in the "problem statement" (question) section of the question-and-answer
area:
What is the sum of 123.45 and 678.90?
- Enter the following in the answer (interaction) area:
- Make sure your cursor is at the end of the answer text and click Short Answer under Student Interactions in the menu on the left.
- In the Edit Answer Definition window, click Step 1 in the menu on the left.
- Select Accept only the exact answer you define and click Next to go to Step 2.
- Under Value in the table, enter:
- At the bottom of the window, select Override Default and enter 2 in the box below. This setting means that your students can make only two attempts to answer the question in a homework assignment.
- Click Next to go to Step 3.
- Accept all the defaults and click Next to go to Step 4.
- In the Incorrect
Answer Feedback box, enter:
Incorrect. See section 3.2.1 in your textbook.
Students see this message when they enter an incorrect answer.
- Click Save.
You return to the Custom Question Builder window, where your answer now shows in the answer area.
- Under the short answer box, enter the instruction:
(Enter your response rounded to two decimal places.)
- Click Preview Exercise to view your answer as your students see it.
- When you are satisfied with your question, click Save and Exit to enter question settings
The sum is
802.35
If you have defined algorithmic values, you can replace the static problem and answer values with your algorithmic values. See Convert static questions to algorithmic for details.