In applied sciences, keeping track of the units associated with measured quantities is very important, so it’s important to assess the student’s ability to use units correctly.
Numbas was developed primarily for use with a pure maths degree, so did not have an in-built mechanism for handling quantities with units. I will show how I very quickly integrated an existing library, js-quantities, to produce a “quantity with units” part type for Numbas.