If you are going to do this sort of thing a lot, and if you can install additional plugins into your Moodle, the you might want to look at https://moodle.org/plugins/qtype_pmatch.
Quiz
Quiz - Text Entry with different marks
This discussion has been locked so you can no longer reply to it.