为命令行教育设计认知分类体系,区分操作影响与思维难度。
CogTax: A Four-Level Cognitive Taxonomy for Command-Line Computing Education

- 构建四层认知框架,融合思维复杂度与操作后果
- 89%准确率自动标注命令层级,支持跨语言扩展
- 帮助教师排课、学生自评,填补命令行教育评估空白
随着计算教育从编程拓展至系统管理等实际操作领域,现有教学框架难以捕捉学习者行为的真实后果。传统认知分类仅关注心智活动,未考虑系统影响,导致命令行教学中简单命令可能引发严重后果的盲区。本文提出CogTax,一个四层认知分类体系,整合两个维度:基于布卢姆修订版的认知复杂度,以及操作影响(分为观察、可逆、结构、管理四类)。层级由两维最大值决定,涵盖从安全只读检查到需综合多抽象模型的高级系统管理。该框架使教师能合理安排课程与评估难度,学生可对照自我诊断。为验证其可扩展性,训练了一个结合抽象语法树语义表示与语义嵌入的分类器,在585条专家标注的Linux/bash命令上达到89%准确率,优于单一表示方式,并通过命令语言间的结构相似性实现跨语言适用。
原文摘要 · Abstract (English)
As computing education expands beyond traditional programming into operational domains such as systems administration and command-line environments, existing pedagogical frameworks struggle to capture a dimension that is critical in these contexts: the real-world consequences of learner actions. Existing cognitive taxonomies classify learning objectives by mental operations but do not account for system impact, leaving a critical gap in command-line education where conceptually simple commands can have severe consequences. This work presents CogTax, a four-level cognitive taxonomy that integrates two dimensions: cognitive complexity, derived from Bloom's Revised Taxonomy, and operational impact, which distinguishes observational, reversible, structural, and administrative operations. The four progressive levels range from safe read-only inspection to advanced system management requiring integration of multiple abstract models. Then, the taxonomy level is defined as the maximum of these dimensions, ensuring that both conceptual understanding and operational awareness are addressed. CogTax gives instructors a principled framework for sequencing course material and calibrating assessment difficulty, and gives students an explicit reference for self-assessment and gap identification. To demonstrate that taxonomy levels are automatically assignable, making the framework scalable without manual expert annotation, a classifier that combines syntactic representations derived from abstract syntax trees with semantic embeddings is trained. Evaluated on 585 expert-annotated Linux/bash commands, this combined approach achieves 89% accuracy, outperforming either representation alone, and demonstrates cross-language extensibility through structural equivalences across command languages.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。