Multiple Choice
The user selects one option from predefined choices.
Evaluation
- Case-insensitive comparison with trim.
- “B” and “b” are equivalent.
- Score: 0 or 10 (binary).
Request
{ "exerciseId": "ex_001", "area": "vocabulary", "type": "multiple_choice", "answer": "b", "correctAnswer": "b"}Responses
// Correct{ "correct": true, "score": 10, "feedback": "Correct!", "metadata": { "area": "vocabulary", "type": "multiple_choice" } }
// Incorrect{ "correct": false, "score": 0, "feedback": "Incorrect. Try again.", "metadata": { "area": "vocabulary", "type": "multiple_choice" } }