As of now, I cant import your XML example.
The part with the LSB and MSB can be removed, because the students don't have to fill out the truth table form the inputs.
Thanks a lot for the great response,
Michael
Hello Michael,
Here are some clarifications.
The Close question has the advantage that it accepts a string as an answer, that it indicates for each sub-question if the question is correct or not, with ✔ or ✘, as well as the correct answer in a tooltip.
In the case at hand, the Cloze question may be more practical than the Formulas question. The functionality of answers accepting character strings and showing, for each sub-question, whether the student answer is correct or not and the correct answer are not yet implemented in the Formulas question. However, until they are, these features can easily be added with JavaScript workarounds as shown at: https://moodleformulas.org/course/view.php?id=104§ion=9 ↗.
You can try the Cloze question in adaptive mode, with a small script to format the answer box and to limit the answer to a single character, either 0, 1 or d (or D) at https://moodleformulas.org/course/view.php?id=89§ion=22 ↗.