Abstract
Constraint diagrams (CDs) are a graphical notation used for program specification. For the purposes of formal software specification using a visual method, Kent designed constraint diagrams as an intuitive approach to formally specify programs. This paper presents an experiment that evaluates the interpretation of constraint diagrams compared with natural language (NL) for understanding program specification statements. In a web-based training competition, participants were randomly divided into two groups and were given 8 training examples either on the CD notation or equivalent NL expression. Each example is followed by 3 questions about the specification statements. In total there were 24 questions presented in each notation. It was predicted that the CD participants would find that learning concepts and answering questions would be harder than those in the NL group, because they had no prior experience of the CD notation. Surprisingly despite the fact that CD notation was new for participants, the CD group spent less time answering the questions and achieved the same proportion of correct answers as the NL group. However, as predicted, they were less confident in their answers and they spent more time on the training examples to learn the new concepts.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
More From: Qatar Foundation Annual Research Forum Proceedings
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.