28.03.2014 Views

isbn9789526046266

isbn9789526046266

isbn9789526046266

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

print third<br />

second = third<br />

print second<br />

And here is a passage that illustrates a fairly typical way of working on this code in VPS:<br />

Pair 33 have just reached the line third = second.<br />

Kate 33 : Then ‘third’. . . ummm. . . we make a new one again. And then I do this. Creates the<br />

variable and assigns the reference to it.<br />

John 33 : Yup.<br />

Kate 33 : And then number three from ‘second’.<br />

John 33 : We take the third value. . . or the third term.<br />

Kate 33 : Carries out the list assignment. Yeah. Then we print again. . .<br />

John 33 : Small laugh.<br />

Kate 33 : In a sarcastic tone: Exciting! Carries out the first print statement. Okay.<br />

John 33 : All right. . . and then again, the ‘third’...<br />

Kate 33 : So. . . Carries out the second print statement.<br />

John 33 : [That was] the ‘third’ value.<br />

Kate 33 : And again we change them.<br />

John 33 : ‘second’ is changed to ‘third’.<br />

Kate 33 : Yeah. . . Moves the cursor around the operators area. Oh yeah, there isn’t an equals<br />

sign here. Or are we supposed to just drag this over here? Assigns from second into third.<br />

No. It can’t be this one either, right? Tries using the assign-to-index operator. No, did I just<br />

do it the wrong way around now?<br />

John 33 : ‘third’. . .<br />

Kate 33 : Assigns from third into second. That’s how it goes, yeah.<br />

John 33 : Yeah.<br />

Kate 33 : And then another ‘print’. Yay. Executes the last print statement. The end of the<br />

program is reached and the assignment is complete.<br />

John 33 : Yes! Ooh, yeah!<br />

Kate 33 : Yesss! Next example. Opens the second VPS assignment.<br />

At no point during the VPS session did Pair 33 pay any attention to the fact that two references point<br />

at a single list in the heap. At no point did they pay any attention to how this is demonstrated by the<br />

program output (or indeed pay attention to the output at all). Nevertheless, they selected each execution<br />

step correctly and eventually completed the exercise without great trouble.<br />

At no point did the VPS exercise require students to understand reference semantics in order to find<br />

the correct simulation step. The students had no trouble with references not because they understood<br />

the concept well but because there was no particular reason for them to pay attention to it. Most of the<br />

students we observed simply ignored the topic entirely or took it for granted.<br />

In the light of the above, and of existing research supporting active learning, it seems reasonable to<br />

conclude that a significant part of the reason why VPS did not help students learn much about reference<br />

semantics lies in how the VPS assignments did not require them to use their knowledge of the topic.<br />

Other factors may also have contributed to students’ lack of attention to references. The visualization<br />

of references in UUhistle v0.2 (see Figure 16.1 on p. 262) is not very attention-grabbing. The toylike<br />

nature of the example programs may have made program output (which highlights the impact of reference<br />

semantics) less interesting for the students. In a single case (described in Section 18.2.3 above), we saw<br />

a pair consciously decide against believing the system’s visualization of references.<br />

Despite the problems, some students did pay attention to references. Pair 6, whose work on the same<br />

code is described on page 307, is one of these rare cases.<br />

19.4 VPS helps with – and only with – what learners focus on<br />

Let us try to summarize our findings. Our experimental study enables us to answer the question: “Does<br />

VPS in UUhistle v0.2 work?” with a cautious “Yes, but. . . ” The system appeared to help students learn<br />

331

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!