Variable numeric set with units question type
From Learnit docs
Template:Infobox pluginTemplate:Questions This question type can have randomly selected numbers, and the student's answer must include the correct unit. Unit grading is done using the pmatch algorithm.
Download
From the Moodle Plugins database