APP下载

基于遗传算法的大学计算机基础自动组卷方法

2018-06-12杨春哲,常涵吉

现代电子技术 2018年11期
关键词:计算机基础

杨春哲, 常涵吉

摘 要: 针对传统组卷方法效率、成功率低等难题,设计基于遗传算法的大学计算机基础自动组卷方法。首先设计大学计算机基础自动成卷适应度函数,采用编码对组卷过程中题型及与其数量分布相关的约束条件进行处理,然后设计选择算子、交叉算子以及变异算子,将适应度作为评价群体多样性的指标,求出交叉概率与变异概率,给出遗传算法终止条件。实验结果表明,该方法提高了大学计算机基础自动组卷方法的效率和成功率。

关键词: 遗传算法; 计算机基础; 自动组卷; 适应度函数; 约束条件; 编码

中图分类号: TN99?34; TP391 文献标识码: A 文章编号: 1004?373X(2018)11?0171?04

Genetic algorithm based automatic test paper generation

method of university computer foundation

YANG Chunzhe, CHANG Hanji

(Jilin Medical University, Jilin 132013, China)

Abstract: Since the traditional test paper generation method has the problems of low efficiency and low success rate, an genetic algorithm based automatic test paper generation method of university computer foundation is designed. The fitness function of automatic test paper generation of university computer foundation is designed. The coding is used to handle the related constraint conditions of question types and quantity distribution in the process of test paper generation. The selection operator, crossover operator and mutation operator are designed. The fitness is taken as the indicator to evaluate the population diversity. The crossover probability and mutation probability are solved, and the terminal condition of genetic algorithm is given. The experimental results show that the proposed method can improve the efficiency and success rate of automatic test paper generation method of university computer foundation.

Keywords: genetic algorithm; university computer foundation; automatic test paper generation; fitness function; constraint condition; coding

0 引 言

大学计算机基础自动组卷是实现在线考试系统的核心技术,当前很多学校机构都对自动组卷进行了大量研究,尽可能使最终形成的试卷达到用户要求,同时保证科学性[1]。在大学计算机基础题库试题质量要求高的情况下,自动组卷的效率和质量只和组卷方法有关。因此,设计一种科学有效的自动组卷方法非常關键,其涉及全局寻优问题,具有重要研究价值[2?3]。

当前常用的自动组卷方法有随机生成方法和回溯试探方法。随机生成方法通过随机抽取的方式从试题库中抽取试题,对其是否满足试卷要求进行判断,该方法有很高的不确定性,在试题数量多的情况下,效率极低[4]。回溯试探方法按照某一准则对当前组卷状态进行转换,试探性的选择试题破坏了选择试题的随机性,同时组卷所需时间长。……

登录APP查看全文

猜你喜欢

计算机基础
计算机基础课程“分层教学”多途径实施研究
基于慕课的高校计算机基础教学应用研究
《计算机基础》课程探讨
云计算环境下计算机基础课程教学研究的思索
计算机基础课程差异化教学研究
文科专业计算机基础教学改革实践
公安院校计算机基础教学改革研究
基于QQ群的“翻转课堂”教学模式实践与应用