Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Keywords: quiz, question, true, false, exam, multiple choice, e-exam, e-assessment, summative, formative, instant feedback

Table of Contents
maxLevel3
minLevel2

...

  • Click Create a New Question or Add a new question.
  • Select CodeRunner
  • CodeRunner is an advanced question type. You should consult the in-line documentation while authoring CodeRunner questions - just click the help icons (question mark in blue circle).
  • At the very minimum you will need to complete Question text, Answer, Test Case and Expected Output:

    • Question type: select the appropriate coding language

    • Question text: provide students with the question prompt

    • Answer: provide the correct answer.

    • Test case: provide test to evaluate the student's response

    • Expected output: the output expected by the students answer when the test case is run.

  • You should also be aware that CodeRunner questions allow students to check their responses at the cost of a penalty if their answer fails. As explained in the CodeRunner documentation:

Regardless of the behaviour chosen for a quiz, CodeRunner questions always run in an adaptive mode, in which students can click a Check button to see if their code passes the tests defined in the question. If not, students can resubmit, typically for a small penalty. In the typical 'all-or-nothing' mode, all test cases must pass if the submission is to be awarded any marks. The mark for a set of questions in a quiz is then determined primarily by which questions the student is able to solve successfully and then secondarily by how many submissions the student makes on each question. However, it is also possible to configure CodeRunner questions so that the mark is determined by how many of the tests the code successfully passed.

You can change this behaviour under the Marking setting when editing a CodeRunner question.

Click Save changes and continue editingĀ to add more questions.

...