Abstract
Constraint diagrams [1, 2] constitute a graphical notation for program specification. This paper presents an experiment that compares the efficacy of constraint diagrams (CD) with natural language (NL) for understanding program specification statements. In a web-based competition 33 participants were given training either on CD notation or equivalent NL expression, and answered questions about specification statements. It was predicted that the CD participants would find learning and answering questions harder than those in the NL group, because they had no prior experience of CD notation. Although the CD group spent more time on the training examples and were less confident about their answers, they spent less time answering the questions and achieved approximately the same proportion of correct answers as the NL group.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Kent, S.: Constraint diagrams: Visualizing invariants in object oriented models. In: Proceedings of OOPSLA 1997, pp. 327–341. ACM Press, New York (1997)
Howse, J., Schuman, S.: Precise visual modelling. In: SoSym (2005) (to appear)
Stapleton, G., Delaney, A.: Evaluating and generalizing constraint diagrams. Journal of Visual Languages and Computing 19, 499–521 (2008)
Fish, A., Masthoff, J.: An experimental study into the default reading of constraint diagrams. In: VLHCC 2005, Proceedings of Visual Languages and Human Centric Computing, Dallas, pp. 287–289 (2005)
Fish, A., Howse, J., Taentzer, G., Winkelmann, J.: Two visualizations of OCL: A comparison. Technical Report VMG.05.1, University of Brighton (2005)
Larkin, J.H., Simon, H.A.: Why a diagram is (sometimes) worth 10000 words. Cognitive Science 11, 65–99 (1987)
Frandsen, A.N., Holder, J.R.: Spatial visualization in solving complex verbal problems. Journal of Psychology 73 (1969)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2010 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Fetais, N., Cheng, P.CH. (2010). An Experiment to Evaluate Constraint Diagrams with Novice Users. In: Goel, A.K., Jamnik, M., Narayanan, N.H. (eds) Diagrammatic Representation and Inference. Diagrams 2010. Lecture Notes in Computer Science(), vol 6170. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-14600-8_37
Download citation
DOI: https://doi.org/10.1007/978-3-642-14600-8_37
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-14599-5
Online ISBN: 978-3-642-14600-8
eBook Packages: Computer ScienceComputer Science (R0)