Parse trees, or syntax trees, are fundamental concepts in computer science as they represent the structure of programming language expressions. Traditional teaching methods require students to manually draw syntax trees for given expressions - a process that can become tedious for students to practice and time-consuming for educators to grade. This project explores the potential of virtual reality (VR) to provide a more engaging and interactive learning experience for syntax tree education while also supporting auto-gradable exercises for scalable practice.
We have developed a web-based VR tool that enables students to construct syntax trees through drag-and-drop interactions in an immersive environment. To evaluate its effectiveness, we plan to conduct a comparative study with three groups of undergraduate computer science students: one receiving traditional instruction with static diagrams, one using a browser-based drag-and-drop tool, and one utilizing the VR tool. The evaluation will include both qualitative and quantitative measures. Qualitatively, we will assess student engagement and self-efficacy through Likert-scale surveys. Quantitatively, we will compare task completion times and scores to evaluate learning outcomes. By automating tree validation and grading, the tool not only enhances engagement but also improves teaching efficiency.
Are you a researcher? Would you like to cite this paper? Visit the ASEE document repository at peer.asee.org for more tools and easy citations.