Hello,
Is there a question type that would choose from a random data set with predefined answers? The formula question cannot be used because I need to mix types (integers and strings) and use operators and functions that are not available Moodle.
Right now, my solution is to duplicate each question which is OK but not practical.
Example :
What is the maximum memory, in bytes, supported by a {a} computer architecture?
If we install {b} of memory on this computer, how many bytes will be unused?
Dataset :
a = {"32 bits", "8 bytes", "10 bits"}
b = {"64 Gb", "1000 KiB", "2 MB"}
Answers 1 = {4294967296, ...}
Answers 2 = {3705032704, ...}
In this question type, a and b would always be in sync. "32 bits" would always be used with "64 Gb", "8 bytes" would always be used with "1000 KiB", etc.