loading...
Is There Any Difference in Novice Comprehension of a Small Program Written in the Event-Driven and Object-Oriented Styles?
Arlington, Virginia, USA September 03-September 06
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/HCC.2002.1046336IEEE 2002 Symposium on Human Centric ...
 This Article 
 
PDF
HTML
 
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Babak Khazaei, Sheffield Hallam University
Michael Jackson, NCSPearson

We report on the conduct and the results of an experiment that investigates the program comprehension differences between event-driven and object-oriented programming styles.

A group of novice programmers were asked to comprehend two isomorphic programs and answered a series of five questions on each of the programs. Each question was to address one of five knowledge categories that together formed a complete mental representation of the two programs. Subjects performed badly on recalling the elementary operations knowledge in both styles. They performed very well in the data flow, control flow, function and state knowledge categories for both styles. Subjects were not significantly better in the last four categories indicating that the comprehension of event-driven and object oriented styles have a lot in common. A comparison of these results with the results of earlier studies, which compared procedural and object-oriented styles, indicates that procedural style is furthest away amongst the three styles. The results are discussed in terms of relevance to the theory of program comprehension.

Index Terms:
Novice program comprehension, empirical study, event-driven and object oriented programming styles, mental model theory
Citation:
Babak Khazaei, Michael Jackson, "Is There Any Difference in Novice Comprehension of a Small Program Written in the Event-Driven and Object-Oriented Styles?," hcc, pp.19, IEEE 2002 Symposium on Human Centric Computing Languages and Environments (HCC'02), 2002
Usage of this product signifies your acceptance of the Terms of Use.