Abstract

This research studied the comprehension of small procedural and object-oriented programs by novice programmers. The objective was to find out what kinds of information novice programmers extract from small programs and to infer from this the mental representation formed during program comprehension. In particular, the question was whether novices' mental representations focus more on domain-level or program-level knowledge and whether the mental representation of object-oriented program differ from procedural programs. The experiment indicated that novices tend to develop a mental representation of small object-oriented programs strong in function-related knowledge, but weaker in data flow and program-related knowledge. By contrast, novices' mental representations of small procedural programs were stronger in program-related knowledge. The results are discussed in terms of theories of program comprehension and programming pedagogy.

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.