UPM Institutional Repository

Object-Oriented Programming semantics representation utilizing agents


Mohd Aris, Teh Noranis (2011) Object-Oriented Programming semantics representation utilizing agents. Journal of Theoretical and Applied Information Technology, 31 (1). pp. 10-20. ISSN 1992-8645; ESSN: 1817-3195


Comprehending Object-Oriented Programming (OOP) is not an easy task especially by novice students. The problem occurs during the transition from learning fundamental programming language concept to OOP concept. It is very important to handle this problem from the beginning before novices learn more advanced OOP concepts like encapsulation, inheritance, and polymorphism. Learning programming from source code examples is a common behavior among novices. Novices tend to refer to source codes examples and adapt the source codes to the problem given in their assignments. To cater the problems faced by these novices, a novel agent-based model have been designed to assist them in comprehending OOP concepts through source codes examples. The instructor needs to provide two related source codes that are similar but in different domain. Generally, these source codes go through the preprocessing, comparison, extraction, generate program semantics and classification processes. A formal algorithm that can be applied to any two related Java-based source codes examples is invented to generate the semantics of these source codes. The algorithm requires source codes comparison based on keyword similarity to extract the words that exist in the two related source codes. Three agents namely SemanticAgentGUI, semanticAgent and noviceAgent are designed in the proposed model. The running system shows an OOP semantic knowledge representation by intelligent agents.

Download File

PDF (Abstract)
Object-Oriented Programming semantics representation utilizing agents.pdf

Download (36kB) | Preview

Additional Metadata

Item Type: Article
Divisions: Faculty of Computer Science and Information Technology
Publisher: Asian Research Publication Network
Keywords: OOP semantics; Source codes comparison; Keyword similarity; Extraction; Classification
Depositing User: Nabilah Mustapa
Date Deposited: 27 Nov 2015 07:48
Last Modified: 27 Nov 2015 07:48
URI: http://psasir.upm.edu.my/id/eprint/22492
Statistic Details: View Download Statistic

Actions (login required)

View Item View Item