arXiv:2601.17024cs.CYcs.AI2026-01被引 1

用随堂小测验确保学生用AI写代码时仍掌握核心知识

Ensuring Computer Science Learning in the AI Era: Open Generative AI Policies and Assignment-Driven Written Quizzes

  • 允许用AI做课后编程题,但需通过针对性闭卷小测验
  • 实证显示学生用AI程度与测验成绩无关,相关系数接近零
  • 适合想在高年级课程中安全引入AI的教育者参考

生成式人工智能(GenAI)的普及给计算机科学教育带来挑战:如何在编程作业中使用强大AI工具,又不因认知卸载而削弱学习效果。本文提出一种评估模型,允许学生在课后编程作业中使用GenAI,同时通过即时、与作业绑定的书面小测验强制检验个人掌握程度。这些课堂闭卷测试权重高于作业本身,专门考查学生对其提交代码中算法、结构和实现细节的理解。从一门高年级计算机科学课程收集初步实证数据,分析自报的GenAI使用情况与无AI小测验、考试及课程总成绩的关系。统计分析显示,两者间无显著线性相关,皮尔逊相关系数始终接近零。初步结果表明,若通过针对性、作业驱动的无AI测验验证理解,允许使用GenAI进行编程练习不会降低学生对课程概念的掌握。尽管样本量有限,该研究为在高年级CS课程中负责任地推行开放式GenAI政策提供了初步证据,前提是配合严格的独立评估机制。

原文摘要 · Abstract (English)

The widespread availability of generative artificial intelligence (GenAI) has created a pressing challenge in computer science (CS) education: how to incorporate powerful AI tools into programming coursework without undermining student learning through cognitive offloading. This paper presents an assessment model that permits the use of generative AI for take-home programming assignments while enforcing individual mastery through immediate, assignment-driven written quizzes. To promote authentic learning, these in-class, closed-book assessments are weighted more heavily than the assignments themselves and are specifically designed to verify the student's comprehension of the algorithms, structure, and implementation details of their submitted code. Preliminary empirical data were collected from an upper-level computer science course to examine the relationship between self-reported GenAI usage and performance on AI-free quizzes, exams, and final course grades. Statistical analyses revealed no meaningful linear correlation between GenAI usage levels and assessment outcomes, with Pearson correlation coefficients consistently near zero. These preliminary results suggest that allowing GenAI for programming assignments does not diminish students' mastery of course concepts when learning is verified through targeted, assignment-driven quizzes. Although limited by a small sample size, this study provides preliminary evidence that the risks of cognitive offloading can be mitigated by allowing AI-assisted programming practice while verifying understanding through assignment-driven, AI-free quizzes. The findings support the responsible adoption of open GenAI policies in upper-level CS courses, when paired with rigorous, independent assessment mechanisms.

AI教育编程教学评估设计

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。