mcq_sample_1
This sample demonstrates how QuML is used to model a simple multiple choice question (with multiple answers), configure the interactions & process the responses to produce results.

This question is a multiple choice question where the correct answer has two values - “Hydrogen” and “Oxygen”. Below is the logic for evaluating and processing the question:
If student selects both the correct answers, the score should be 1.0
If student selects only one of the correct answers, the score should be 0.5
If student selects any of the wrong answers, a value of 0.5 should be removed from the total score
If total score if 1.0, show the message “Well done!!!”
If total score is between 0 and 1.0 (not including 0 and 1.0, i.e. 0 < score < 1.0), show the message “Better luck next time!!!”
If total score is less than or equal to 0, show the message “You need to work harder!!!”
Body
Response Declaration
Outcome Declaration
Response Processing
Feedback
Last updated
Was this helpful?