Article ID Journal Published Year Pages File Type
401057 International Journal of Human-Computer Studies 2006 23 Pages PDF
Abstract

This paper reports an experiment that examined the comprehensibility of the LabVIEW programming representation. LabVIEW is a visual programming language (VPL) based on the dataflow paradigm. The experiment compared LabVIEW to a semantically equivalent textual language using three types of tasks: (1) tracing problems: given code and input values, subjects were asked what output the code would produce if executed. (2) Parallelism problems: given code with several program statements highlighted, subjects were asked about the sequence in which those statements could execute. (3) Debugging problems: given code and its specifications, subjects were asked to find a logic error in the code. The experiment measured the subjects’ time to solve the problems and accuracy of the answers. The subjects were upper-level university students who were intermediate-level programmers with no prior exposure to LabVIEW. Their performances showed differences due to representation for all three task types. Subjects using the textual representation completed the tracing problems significantly faster than subjects using the visual representation. In contrast, subjects using the visual representation were significantly faster for the parallelism problems and significantly more accurate for both the parallelism and debugging problems. These results contribute clear evidence for selected benefits of a visual representation for small-sized code segments, evidence that LabVIEW succeeds in highlighting data dependencies, and evidence that LabVIEW helps programmers to maintain an overview of their code. The authors consider the implications of these results for VPLs more generally.

Related Topics
Physical Sciences and Engineering Computer Science Artificial Intelligence
Authors
, , ,