-
Notifications
You must be signed in to change notification settings - Fork 71
Description
Related user(s):
No response
Related issue(s) or PR(s):
No response
Related project scope(s):
No response
The problem:
Currently, Learn-OCaml does not offer any way to implement multiple-choice (MC) questions in a way that is user-friendly and intuitive. While it is possible to use a type like type mc = A | B | C | D
and have students write their answer with that type (e.g., let p1 = A
), this approach has some drawbacks, mainly having to use a type to represent their answer can add an unnecessary layer of complexity and cognitive load, which can detract from the learning experience.
Wanted solution:
To address this problem, we propose adding a new feature to Learn-OCaml that allows instructors to add multiple-choice questions directly to the exercise description using HTML forms. This would provide a user-friendly and intuitive way for students to interact with MC questions without having to rely on OCaml syntax or types.
When a student submits their solution, the system would automatically read the answers from the HTML form and grade them along with the rest of the solutions. This would allow for a seamless integration of MC questions into Learn-OCaml exercises and assessments.
Considered alternatives:
No response
Additional context:
No response