Western Kentucky University
TEACHING OBJECT-ORIENTED DESIGN THROUGH INTERACTIVE UML: A DUAL-APPROACH FRAMEWORK FOR CODE-BASED GENERATION AND DIRECT DIAGRAM MANIPULATION
Abstract
dc:description.abstractThis thesis introduces an interactive educational framework for teaching object-oriented design through UML class diagrams. The framework implements a dual-approach methodology: code-based generation, where students write Java code that automatically transforms into UML diagrams, and direct diagram manipulation, where students build diagrams by interacting with highlighted terms in problem descriptions. This approach addresses common challenges in teaching UML, including cognitive load difficulties, visualization problems, and the disconnect between code implementation and visual design. Built on the Mermaid diagramming framework, the system features a React frontend for diagram creation and manipulation, and a Flask backend that handles some code parsing and assessment. The framework parses object-oriented structures from student code, transforming them into standardized UML diagrams, while also enabling direct interaction with diagram elements through an intuitive interface. A built-in assessment system compares student diagrams against reference solutions, providing immediate feedback. Consultations with educators and professionals in the field suggest that this approach has the potential to enhance student engagement, accelerate UML skill acquisition, and improve integration of code and design concepts. This research contributes to computer science education by providing multiple learning pathways that accommodate different learning styles while reinforcing core object-oriented design principles.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Discipline thesis:degree_discipline
- School of Engineering and Applied Sciences
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Kayuni, Moses
- Contributors dc:contributor
-
- Guangming Xing, Zhonghang Xia, Huanjing Wang
Subjects
dc:subject × 8Identifiers
dc:identifier.*- Repository record dc:identifier
- https://digitalcommons.wku.edu/theses/3819