Christian Lawson-Perfect's part types
Name | Ready to use? | Published? | What's it used for? |
---|---|---|---|
Code | Mark code provided by the student by running it and a series of validation and marking tests. The validation tests are used to reject an answer if the student has misunderstood the task, for example if they haven't defined a required variable or function. Marking tests check properties of the student's code. Each test awards a proportion of the available credit if it is passed. You can optionally show the student the STDOUT and/or STDERR when running their code. You can give a preamble and postamble which are run before and after the student's code, and also modify the student's code before running it. |
||
Give a numerical input for an expression | The student gives a point $x$ at which to evaluate a given function $f$. The answer is correct if $f(x)$ is the expected value. |