Issue Details (XML | Word | Printable)

Key: MDL-17895
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Tim Hunt
Reporter: Tim Hunt
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Allow question types to validate responses before grading

Created: 14/Jan/09 11:56 PM   Updated: 14/Jan/09 11:56 PM
Return to search
Component/s: Questions
Affects Version/s: 1.9.3
Fix Version/s: None

Participants: Tim Hunt
Security Level: None
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
Suppose answering a particular question type involves typing some particularly complex syntax. Then the educational goals are better served if we do not penalise simple syntax errors. Here are two examples:

1. Suppose we want to create a version of the short answer question type that automatically spell check's the student's answer, so their answer is only marked after they have corrected any spelling mistakes.

2. Süreç Özcan's JUnit question type. Here the student's goal is to write some code that passes a set of unit tests given by the teacher. In this case, we may want the option to let the student verify that the code they have typed compiles without errors before they have to submit it for grading.

There was a vague attempt to implement this once before (for example, there is an QUESTION_EVENTVALIDATE constant defined at the top of lib/questionlib.php) but it never went very far.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.