psychopy.org | Reference | Downloads | Github

Coding based on adaptivity of multiple choice questions

Hi everyone

If I wanna design an experiment with about 80 multiple choice questions of vocabulary and specify the complexity level of each question (e.g., easy, difficult), how would be the coding?

And If the procedure is like this :

the first question is chosen from average difficulty, and if the participant answers correctly, the next question should be chosen from more challenging and difficult questions codded before and if the participant answers wrongly the next question would be easier…

Is there anyone who can help me with coding this part?

I am really mixed up and it’s urgent.

thx

I think what I would do is create a conditions file with multiple columns (easyQuestion, difficultQuestion, etc.) and have questions in there - then use a code component to set the value of the Text/Textbox component you’re using to display the questions at the start of each routine. So, for example:

if wasPreviousAnswerCorrect:
    questionText.text = difficultQuestion
else:
    questionText.text = easyQuestion

Dear MR TODD E PARSONSthank you so much for your great help. if you would guide me about the following questions, I would be grateful.

Is it also possible to grade each question in each category?

I mean, if I’d have three categories in general (easy, medium, hard) and then in each category, there would be some questions (e.g., 20 questions, in total 60 questions), would it be possible to assign each question a unique level of difficulty?

for example, for easy questions : - 3.9 , -3.8 , -3.7 up to -.1; for medium: 0; for hard questions: +.1, +.2 up to +3.9.

then run the experiment in this way:
first, start with the question of medium difficulty; then, if the participant answers correctly, the next question will be chosen of +.1 difficulty, if not the question with the difficulty of -.1 will appear …

if the participant answers the previous question correctly, the question with +.2 will appear… and this process would go on until the participant would make 3 mistakes (of course this must be codified, as well)…

Regards