Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check question based on an expression #896

Open
waqqasjabbar opened this issue Jun 26, 2024 · 0 comments
Open

Check question based on an expression #896

waqqasjabbar opened this issue Jun 26, 2024 · 0 comments

Comments

@waqqasjabbar
Copy link

Is your feature request related to a problem? Please describe.
Moodle allows different type of questions. Two of them, is "Short Answer" and "Numerical" types. The answer is evaluated and marks are given
Details are https://docs.moodle.org/404/en/Question_types#Short_Answer

Describe the solution you'd like
I would like the Frappe LMS to support this type of question.
When creating a question, the user should be able to give a python snippet. If the expression does not generate an exception, the answer is correct. If it generates an exception, then the message with the exception will be shown to user as hint to the correct answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant