365
Views
2
CrossRef citations to date
0
Altmetric
Articles

Are models easier to understand than code? An empirical study on comprehension of entity-relationship (ER) models vs. structured query language (SQL) code

, , &
Pages 343-362 | Received 06 May 2011, Accepted 27 Sep 2011, Published online: 29 Nov 2011
 

Abstract

Models in Software Engineering are considered as abstract representations of software systems. Models highlight relevant details for a certain purpose, whereas irrelevant ones are hidden. Models are supposed to make system comprehension easier by reducing complexity. Therefore, models should play a key role in education, since they would ease the students' learning process. Although these statements are widely accepted, to the best of our knowledge, there is no empirical evidence that supports these hypotheses (beyond practitioners' personal experience). This article aims to contribute to fill thisgap by performing an empirical study on how well students understand entity-relationship database models as compared to structured query language (SQL) code. Several ER models and their corresponding SQL code (more specifically, the data definition language (DDL) statements required to create such models) were shown to a heterogeneous group of students, who answered different questions about the database systems represented by these artifacts. Then, we analysed the correctness of the answers to check whether the ER models really improved students' comprehension.

Acknowledgements

We thank the companies (Nuclenor, Predictia, Semicrol and Suomitech Footnote6) which helped us by providing different case studies that served as guide to prepare the material for the experiments. We also thank all the students who participated in the experiments. We really appreciate their extra effort, collaboration and commitment. Finally, we express our thanks to our colleagues Carlos Blanco and Daniel Sadornil, who gave a hand whenever it was required.

Notes

5. We would like to point out we refer to the median instead of the mean because as thedistribution of the data is unknown we prefer to refer to a robust measure of centrality.

6. All acknowledgements are given in alphabetical ordering.

Log in via your institution

Log in to Taylor & Francis Online

PDF download + Online access

  • 48 hours access to article PDF & online version
  • Article PDF can be downloaded
  • Article PDF can be printed
USD 53.00 Add to cart

Issue Purchase

  • 30 days online access to complete issue
  • Article PDFs can be downloaded
  • Article PDFs can be printed
USD 539.00 Add to cart

* Local tax will be added as applicable

Related Research

People also read lists articles that other readers of this article have read.

Recommended articles lists articles that we recommend and is powered by our AI driven recommendation engine.

Cited by lists all citing articles based on Crossref citations.
Articles with the Crossref icon will open in a new tab.