打破编程语言障碍:多语言提示赋能非英语母语学习者
Breaking the Programming Language Barrier: Multilingual Prompting to Empower Non-Native English Learners
AI总结:
本研究首次探索非英语母语学生用母语(阿拉伯语、中文、葡萄牙语)提示生成代码解决编程问题,发现可行但术语表达有困难,并讨论了短期实践启示与长期教育变革潜力。
摘要:
非英语母语者(NNES)在学习编程时面临多重障碍。这些障碍可能是显而易见的,例如编程语言的语法和教学材料通常为英语,也可能更为微妙,例如在全班都是英语母语者的课堂上不敢提问。然而,这些障碍令人沮丧,因为许多非英语母语学生所掌握的编程知识远超他们能用英语表达的程度。生成式人工智能(GenAI)的进步有潜力打破这些障碍,因为最先进的模型能够支持多种语言的交互。此外,近期研究表明,GenAI在代码生成和解释方面具有很高的准确性。在本文中,我们首次探索了非英语母语学生使用其母语(阿拉伯语、中文和葡萄牙语)进行提示以生成代码解决编程问题的情况。我们的结果显示,学生能够成功使用母语解决编程问题,但在指定编程术语和概念时并非没有困难。我们讨论了他们所面临的挑战、对短期实践的启示,以及从长远来看这可能如何改变全球计算机教育。
英文摘要:
Non-native English speakers (NNES) face multiple barriers to learning programming. These barriers can be obvious, such as the fact that programming language syntax and instruction are often in English, or more subtle, such as being afraid to ask for help in a classroom full of native English speakers. However, these barriers are frustrating because many NNES students know more about programming than they can articulate in English. Advances in generative AI (GenAI) have the potential to break down these barriers because state of the art models can support interactions in multiple languages. Moreover, recent work has shown that GenAI can be highly accurate at code generation and explanation. In this paper, we provide the first exploration of NNES students prompting in their native languages (Arabic, Chinese, and Portuguese) to generate code to solve programming problems. Our results show that students are able to successfully use their native language to solve programming problems, but not without some difficulty specifying programming terminology and concepts. We discuss the challenges they faced, the implications for practice in the short term, and how this might transform computing education globally in the long term.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。