AI-Driven Framework for Enhancing Understanding of Object-Oriented Programming Concepts Among Novice Learners
摘要
Object-Oriented Programming (OOP) stands as a prevalent software development approach, yet students with a basic grasp of OOP often encounter challenges in comprehending abstract concepts like association, inheritance, and polymorphism. The verb/noun metaphor offers a means to alleviate these learning difficulties by transforming a list of requirements into classes. This involves converting nouns into objects with attributes and verbs into methods and associations. This research introduces an AI-driven approach designed to enhance students’ comprehension of OOP concepts while facilitating the direct processing of user requirements. The proposed framework employs Natural Language Processing tools and incorporates sets of heuristic rules based on the verb/noun metaphor to process user requirements. The resulting output comprises pertinent OOP objects and entities, complete with relationships and accompanying metadata. The approach can produce a collection of classes and relevant OOP concepts derived directly from the requirements list, supported with detailed explanations to further enhance the students understanding and knowledge expansion.