-
MathType
-
WirisQuizzes
-
Learning Lemur
-
CalcMe
-
MathPlayer
-
Store FAQ
-
VPAT for the electronic documentation
-
MathFlow
-
BF FAQ
-
Miscellaneous
-
Wiris Integrations
Area of a rectangle
Reading time: 2minOne of the most common questions in the first years of high school is to ask the area of a rectangle, which is simply the result of multiplying the length of its base by its height. This type of question is also helpful to check whether the students have understood how to work with units.
This example will let us introduce units of measure in our questions.
Select the question type
Let's select which type of question we will use. As above, the best of the possible options here is Short answer because we expect the student to answer with just the result.
.png)
Write the statement
Second, let us write the statement of the problem. We will ask the students, for instance, to compute the area of a rectangle with base 4cm and height 5cm.

Write the correct answer
WirisQuizzes can automatically grade the student's answer once we provide the correct answer. It will not only compare if the answer is the same, but it will also check if the answers are mathematically equal. In our example, it will grade as correct both 4·5cm² and 20cm². We will provide, for instance, 20cm² as the correct answer.

Enable units of measure
Go to the Input options section and check the units of measure and prefixes you are interested in under Input syntax. In this case, you have to select, at least, m (for the unit meters) and c (for the prefix centi).

Note that now both c (centi) and m (meters) are coloured blue because they are selected as explained above to be understood as a metric prefix and a unit, respectively.

Preview the question and save the changes
It is always a good practice to test how they behave using the Test this question section, even with simple questions. We can check that all the correct answers the student may provide are indeed correct. Moreover, we can see that if the students forget to write the units, they will get zero points.
Once you have finished testing the question, go back to the home page and click
to save changes and WirisQuizzes Studio window closes.

Assign full grade and save the question
Finally, we must assign the full grade to the correct answer and save the question by clicking Save changes and continue editing. This way, we will save the question, but we will be left on the same page.

Tip
Not assigning the full grade to a response is useful when penalising some answers. For instance, in this case, we could create a second answer without the units and assign 50% of the grade to it. There's another example below that illustrates this.
Student view
Now, we should be able to preview the question. Click Preview.
.png)
A new window will show up with the question shown as the student will see it. Here, we can test the behaviour of the question again.
