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.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.