Gamification of LR Algorithm: Engaging Students by Playing in Compiler Principle Course

Yujie Zhang, Yuhao Dou, Xiang-wu Meng, Yi’an Lai, Y. Lu, Xin Wang
{"title":"Gamification of LR Algorithm: Engaging Students by Playing in Compiler Principle Course","authors":"Yujie Zhang, Yuhao Dou, Xiang-wu Meng, Yi’an Lai, Y. Lu, Xin Wang","doi":"10.1109/ICCSE49874.2020.9201825","DOIUrl":null,"url":null,"abstract":"Theoretical knowledge of the compiler principle courses is often abstract and uninteresting, which may easily make students lose their confidence and interest in learning such important computer science courses. To solve this problem, we introduce the concept of gamification into the compiler principle course for teaching aids, and design the card game called Into the Stack for the LR parsing algorithm, an important theory that must be mastered by students. When playing the game, players think over the quickest way to reduce their hands, which is based on the \"shift-reduce\" actions in LR parsing. Simulating such core actions of LR algorithm in this game, the whole abstract theory and algorithm has been demonstrated in a way of entertainment. It would help learners overcome their fear of theoretical knowledge, stimulate their interest in learning theories and enhance their ability of applying algorithms. Applied in realistic compiler principle courses, this game and such teaching method have achieved satisfactory teaching results.","PeriodicalId":350703,"journal":{"name":"2020 15th International Conference on Computer Science & Education (ICCSE)","volume":"5 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 15th International Conference on Computer Science & Education (ICCSE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCSE49874.2020.9201825","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Theoretical knowledge of the compiler principle courses is often abstract and uninteresting, which may easily make students lose their confidence and interest in learning such important computer science courses. To solve this problem, we introduce the concept of gamification into the compiler principle course for teaching aids, and design the card game called Into the Stack for the LR parsing algorithm, an important theory that must be mastered by students. When playing the game, players think over the quickest way to reduce their hands, which is based on the "shift-reduce" actions in LR parsing. Simulating such core actions of LR algorithm in this game, the whole abstract theory and algorithm has been demonstrated in a way of entertainment. It would help learners overcome their fear of theoretical knowledge, stimulate their interest in learning theories and enhance their ability of applying algorithms. Applied in realistic compiler principle courses, this game and such teaching method have achieved satisfactory teaching results.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
LR演算法的游戏化:让学生参与编译原理课程
编译器原理课程的理论知识往往抽象而无趣,容易使学生对学习如此重要的计算机科学课程失去信心和兴趣。为了解决这一问题,我们将游戏化的概念引入到编译原理课程中作为教学辅助,并设计了一种名为“进入堆栈”的纸牌游戏,用于LR解析算法,这是学生必须掌握的重要理论。在玩游戏的时候,玩家会考虑最快的减少手牌的方法,这是基于LR解析中的“shift-reduce”动作。在这个游戏中模拟LR算法的这些核心动作,以一种娱乐的方式展示了整个抽象的理论和算法。帮助学习者克服对理论知识的恐惧,激发学习理论的兴趣,提高算法的应用能力。将该游戏与这种教学方法应用于现实编译原理课程中,取得了满意的教学效果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Introduction of the new Operating System Kernel Internals for the New Metrics for the Performance Prediction on the Clouds Abnormal Event Detection in Video Based on Sparse Representation The Mechanism of Intelligent Technology Reforming Education Based on the Perspective of Embodied Cognitive Theory* Multi-integrated Reform for the Course of Data Structure Intelligent Distribution Platform of Network Shared Resources Based on Cloud Computing
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1