Conditional Branching - incorrect answer goes back to instructions page


Author
Message
liznik
liznik
Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)
Group: Forum Members
Posts: 7, Visits: 43
Thank you, 

I have the instructions I want to use, just didn't bother adding it in there since I thought it wasn't necessary). We want the participants to answer the questions all correctly in one go. (They are to memorize the values of each stimuli in the instructions and be tested on it through the questions). If they get any of the 4 questions wrong they will have to redo all 4 until all 4 are correct in one go. Once they are able to get all 4 correct at once they can go into the testing phase otherwise I want it to keep looping back to in the instructions. 
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 107K
<openended gain20house>
/stimulusframes = [1=gain20house]
/position = (50,50)
/correctresponse = ("20")
/branch = [
if (openended.gain20house.response !=("20")) trial.instructions
]

</openended>

needs to read

<openended gain20house>
/stimulusframes = [1=gain20house]
/position = (50,50)
/ validresponse = (anyresponse)
/ mask = integer
/correctresponse = ("20")
/branch = [
if (openended.gain20house.response !="20") trial.instructions
]

</openended>

i.e., not extra parentheses around "20". (Same for the /branch syntax in the other <openended> elements).

As for the rest, I can't say much because the description "They will then be quizzed on the picture, and if they don't type in the right answer they will have to go back to the instructions page. The learning phase will only end if they get all the stimuli correct." can be interpreted in a number of different ways.
Do you want them to get all questions correct in one go (i.e., complete a flawless run-through of all 4 questions)?
Or do you want to successively eliminate questions that were answered correctly? I.e., participant gets 1st question correct, gets 2nd question wrong, goes back to instructions. Moving on from there, s/he only gets questions 2, 3 and 4 (because question 1 was already answered correctly in the 1st try).

Edited 9 Years Ago by Dave
liznik
liznik
Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)
Group: Forum Members
Posts: 7, Visits: 43
Completely new to programming, and I'm not sure what I am doing wrong at this point, I have tried to rearrange everything. What I want to happen: The participant learns the values of each picture (eg -10 points, 10 points etc) in the instructions page. (which would have the text there but i didnt bother to enter it). They will then be quizzed on the picture, and if they don't type in the right answer they will have to go back to the instructions page. The learning phase will only end if they get all the stimuli correct. I cannot get them to back to the instructions page if they get something wrong 
I have also added/taken away this attribute for the openended elements. But i'm not sure if it matters/is important for the end results 
/validresponse = ("-10", "10", "-20", "20")


<page instructions>
/1 = "text"
</page>

<trial instructions>
/ stimulusframes = [1=instructions]
/ validresponse = (" ")
/ recorddata = false
</trial>

<openended gain20house>
/stimulusframes = [1=gain20house]
/position = (50,50)
/correctresponse = ("20")
/branch = [
if (openended.gain20house.response !=("20")) trial.instructions
]
</openended>

<openended lose10animal>
/stimulusframes = [1=lose10animal]
/position = (50,50)
/correctresponse = ("-10")
/branch = [
if (openended.lose10animal.response !=("-10")) trial.instructions
]
</openended>

<openended lose20place>
/stimulusframes = [1=lose20place]
/position = (50,50)
/correctresponse = ("-20")
/branch = [
if (openended.lose20place.response !=("-20")) trial.instructions
]
</openended>

<openended gain10object>
/stimulusframes = [1=gain10object]
/position = (50,50)
/correctresponse = ("10")
/branch = [
if (openended.gain10object.response !=("10")) trial.instructions
]
</openended>
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search