Section 8.3 Dynamic Questions
To support a model of writing and assessing using a question bank we have added new directives that allow you to select a question when the page is loaded. The simplest is to simply specify the id of a question you want inserted at any point in a book or an exam.<div class="runestone sqcontainer %(optclass)s"> <div data-component="selectquestion" id=dynamic_q_1 data-questionlist='question1_2' data-limit-basecourse=true> <p>Loading a dynamic question ...<br/>Selecting from: question1_2</p> </div> </div>Hint.
.. selectquestion:: dynamic_q_1 :fromid: question1_2
If you list multiple questions as part of the
:fromid: option a question will be selected at random when it is displayed to the student.
Subsection 8.3.1 Using Dynamic Questions to secure Exams
selectquestion directive has real benefits for writing a timed exam including:
Questions are not loaded into the page until the student sees the question for the first time. This prevents students from viewing the source to see the questions.
:fromid: question_1, question_2, ...you can provide multiple equivalent questions for each exam question making it more difficult for students to share answers.
There are several other options to the
selectquestion that are designed to support automated exam creation, but they rely on the presence of a well developed and structured question bank. Something we would love to develop in Runestone, but have not yet completed.
:proficiency:- If you have a lot of questions and they are tagged with either
:supp_comp:then the exam will choose a question at random from all questions in the question bank that are aimed at that particular proficiency.
:min_difficulty:- We have developed a way to automatically assign a level of difficulty to a question based on past students historical performance on the question. This allows you to include a question between a minimum and maximum difficulty level.
:autogradable:– this ensures that Runestone only chooses a question that is automatically gradeable.
:not_seen_ever:– this ensures that Runestone selects a question that the student has not answered sometime in the past.
There is lots of research to do to see if this approach can actually work and produce exams that students will accept as fair. But it seems that for an online exam, generating a different (but equivalent) exam for every student could go a long way toward reducing cheating as well as saving instructors a lot of work.
In the above timed exam the selectquestion was used to provide multiple options for each of the questions. This would mean that students would not all get exactly the same questions on their exam but rather randomly selected, yet equivalent problems for each question in the exam. Here is an example of how you can do that:Hint.
.. selectquestion:: dynamic_q_4 :fromid: morning, per_person_cost :points: 2
Subsection 8.3.2 AB Experiments with Dynamic Questions
:AB: option on selectquestion allows the system to assign a student to either the A or B group. If the student is in the A group they will always get the first question in the :fromid: list and if they are in the B group they will always get the second.
.. selectquestion:: ab_example :ab: experimentName :fromid: question1_1, mchoice_random :points: 10