Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

response and feedback item

Hi everyone,

I have created several multiple choice questions by using form multiple choice item. A response keyboard item created after each question with the correct answer set in it. I also have a feedback item and a logger after the last question. however, no response collected in the log for each question and there is no avg_rs time and acc outcome show up. does anybody know what needs to be done to solve the issues?

Thanks a lot in advance for your guidance.

Megen

Comments

  • Hi @Megen ,


    Participants' responses to a form_multiple_choice item are stored in the variable with the name that you defined in the box 'Response variable'. By default, the name of this variable is "response" (see screenshot and example script).



    You do not have to (or in fact should not) make the form_multiple_choice item being followed by a keyboard_response item or a mouse_response item. Also, you should not have several multiple_choice items in a sequence where the name of the response variable is identical (because then only the final response will be logged, the other ones will be overwritten). Instead, you should give the different form_multiple_choice items different response-variable names (or better yet, using only a single form_multiple_choice item embedded in a loop-sequence structure).


    Regarding the built-in variables "correct" and "response_times", those are not collected by form items. If you are interested in RTs and response accuracy, you should consider:

    • Using a combination of sketchpad and mouse_response for response collection
    • Or using a bit of Python code


    Does that help you a bit further?


    Cheers,


    Lotje

    Did you like my answer? Feel free to Buy Me A Coffee :)

  • Hi Lotje,

    Thank you so much for your replies to my questions.

    I have already used the loop and sequence structure (see screenshot below pl). I am a bit confused(donot know) how to create a single form_multiple_choice item embedded in a loop-sequence structure for several different multiple choice quesions. could you please guide me a bit further how to do it please ?

    following screenshots are what I have done.

    after each question, i need to ask them to get relaxed for a few seconds that is why I have already needed sketchpad after each question and i clicked advance immediately to another question.


    I really appreciate your further guidance regarding loop,sequence structure which you suggested?


    Megen

  • Hi @Megen ,


    Is it possible to upload your experiment here? That would make it much easier for us to give you some guidance. :)


    Cheers,


    Lotje

    Did you like my answer? Feel free to Buy Me A Coffee :)

  • Hi Lotje,

    I attached my experiment.

    Kind Regards

    Megen

  • Hi @Megen ,


    You can define the question variables (the question itself, the four response options, and the question ID, in a loop item. Next, you can use the square-bracket syntax in the form_multiple_choice item to make the form content variable.


    Benefits of this approach compared to making many different static form_multiplce_choice items is that it is less error prone, less repetitive, less work (in the end) and that you can randomize the order of trials (if wanted).


    I implemented the first two questions in the example script below. Please note that, because you are using code as text input, a little bit of HTML formatting was required. For example:


    public static void main(String[] args) { 
    int result = 1; int x = 4; 
    while (x > 1) { 
    result = result * x; x--; } 
    System.out.println(result);}
    


    becomes:


    <div type = "text">public static void main(String[] args) { <br> int result = 1; int x = 4; <br> while (x > 1) { <br> result = result * x; x--; } <br> System.out.println(result);}</div>
    


    Also, as I said previously, the response accuracy and response times are not automatically saved by form items.


    Hope this helps!


    Cheers,


    Lotje



    Did you like my answer? Feel free to Buy Me A Coffee :)

  • Hi Lotje,

    Thank you so much for your help related to defining variables for multiple choice questions. I am working on adding other questions now. ( Sorry for late reply. I was very sick so I wasn't able to check the forum).

    I was reading your previous post for gathering response time and correct answers. I need to know how many correct answers(accuracy) a participant have and what was her/his response times.

    As you mentioned earlier, I need to have a combination of sketchpad and mouse_response. This means that I need to add one mouse response item after new_multiple_choice item and add one sketchpad after the mouse response_item and before the "relax" sketch pad, is that right? then what to do for allowed answers and correct answer which needs to be defined in the mouse_response_item for each question (as we need to use one mouse response_item)? could you please guide me through the steps.

    I am truly grateful for your guidance Lotje.

    Kind Regards

    Mojgan

  • edited March 2021

    Hi Lotje,

    I also need to send a trigger to another device through serial port , as soon as a participant clicks the mouse(answer the question). So do i need to use inline script after the mouse and also in the beginning? could you please guide me.

    Thanks a lot for your cooperation in advance :)

    Kind Regards

    Megen

  • edited March 2021

    Hi Lotje,

    I hope you are doing well.

    I am very much dependent on the answers from the forum. could you please guide me through the steps to capture response time and correct answer by using mouse response item and sketchpad.

    I have already added more questions using your template and added a mouse response item after the form_multiplechoice_quesion and created a variable called correct_answer in the loop table, however after the last sketchpad related to"relax" , experiment aborted before displaying the goodbye item . I get this message "You must specify at least one response option inform_multiple_choice item "new_form_multiple_choice". Could you please guide me how to address the issue? in the mouse response item I left the correct answer and allowed answer box empty, timeout to 10 and event type to mouse click.

    I truly appreciate your guidance.


    Kind Regards

    Megen

Sign In or Register to comment.