一句话:通过德国中学生实证研究揭示AI辅助编程中的伦理悖论与性别差异,倡导结合代码实物的批判性AI素养教育。
生成式AI进入编程学习,但中学新手如何批判性使用AI、看待伦理责任及性别差异仍缺乏研究。本文对84名16–19岁参加软件开发工作坊的德国中学生进行探索性研究,考察其AI辅助编程中的批判性思维、AI伦理与责任认知及性别模式。结果揭示“AI悖论”:学生有较强伦理推理与意识,却常在不充分理解下集成AI生成代码;多数将责任归于政治与企业,或反映德国监管与数据隐私语境。男生使用更频繁且更实验性,女生更怀疑并重视同伴协作。研究主张文化响应式软件工程教育,将伦理与具体代码制品相联,培养批判性AI素养。
The first generation of students is learning to program alongside GenAI (Generative Artificial Intelligence) tools, raising questions about how young learners critically engage with them and perceive ethical responsibilities. While prior research has focused on university students or developers, little is known about secondary school novices, who represent the next cohort of software engineers. To address this gap, we conducted an exploratory study with 84 German secondary school students aged 16–19 attending software development workshops. We examined their critical thinking practices in AI-assisted programming, perceptions of AI ethics and responsibility, and gender-related differences in their views. Our results reveal an AI paradox: students demonstrate strong ethical reasoning and awareness about AI, yet many report integrating AI-generated code without a thorough understanding of it. The majority of our cohort attributed significant responsibility for AI practices to politics and corporations, potentially reflecting Germany’s cultural context, with its strict regulations and data privacy discourse. Boys reported more frequent and experimental use of AI-assisted programming, whereas girls expressed greater scepticism and emphasised peer collaboration over GenAI assistance. Our findings highlight the importance of culturally responsive software engineering education that strengthens critical AI literacy in AI-assisted programming by linking ethics to concrete code artefacts and preparing young learners for this AI-driven software landscape.