Creating and Applying the Variables for Each Interaction

Test-running the item

Next, Ian saves the item and clicks Preview, then enters some responses and clicks Submit. The outcome should be similar to the screenshot below.

Finished item with variables

 

The contents of the black (results) window is similar to the one in the previous chapter, but this time it has entries for SCORE_1, SCORE_2, and SCORE_3. The values for these are zero, because all we have done so far is to define them as variables, but there is nothing in the response processing rules yet to say how we are going to fill them: that will be done in the custom response processing rule which we will write in the next section.

Note: You will see that the values for MAXSCORE is now 18, whereas in 1.2.2 it was 9. This is because MAXSCORE is just the sum of the maximum scores of all interactions (automatically computed by TAO) and any additional outcome declarations (taken from the values in Value, as shown in the image in section 2.1 above). They are not linked. The value of MAXSCORE will need to be re-calculated. How this is carried out will be shown in the next chapter.