arrow
返回

Understanding the “this” reference in object oriented programming: Misconceptions, conceptions, and teaching recommendations

delete2020-07-23
delete0
PRE
AI
R
Ronit Shmallo *
N
Noa Ragonis
DOI:10.1007/s10639-020-10265-6delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
The paper presents research that aims to expose students’ understanding of the this reference in object-oriented programming. The study was conducted with high school students (N = 86) and college engineering students (N = 77). Conceptualization of this reflects an understanding of objects in general and involves aspects of programming variants and programmers’ preferences as well. To examine students’ conceptions, perceptions, and misconceptions we developed a diagnostic tool that uses this in various contexts, such as in constructors, as a visible parameter, for calling an overloaded constructor in class, or while transiting a non-static method using this to a static one. The detailed analysis revealed difficulties, in both groups of participants, in conceptualizing the meaning of this as the current object and in its various uses in the code. The discussion presents students’ conceptions of “what is this”, nine misconceptions that we characterized, and answers to our research questions. The conclusion offers recommendations for teaching and learning processes in light of the results obtained.
Keyword:
Computer science education
Object-oriented programming
this reference
Program execution
Memory management
Abstraction
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Education and Information Technologies 封面图
Education and Information Technologies
IF:
5.4
论文数:
2.2K
被引数:
1.9W

机构

暂无机构信息
引用论文

引用论文

Introductory programming: a systematic literature review
err2018-07-02
err0
errOAAI
errAndrew Luxton-Reilly; Simon; Ibrahim Albluwi; Brett A. Becker; Michail Giannakos; Amruth N. Kumar; Linda Ott; James Paterson; Michael James Scott; Judy Sheard; Claudia Szabo
err分享
err收藏
Programming in Java
err2000-03-01
err0
errOAAI
errAnn E. Fleury
err分享
err收藏
学者 查看更多内容