Professional Documents
Culture Documents
基于微信小程序的手机在线考试系统设计 李娟
基于微信小程序的手机在线考试系统设计 李娟
基于微信小程序的手机在线考试系统设计 李娟
4
2023 年 2 月 Wireless Internet Technology February,2023
基于微信小程序的手机在线考试系统设计
李 娟,边 玲,李海瑛,张东圆 ∗
( 河北医科大学 临床学院,河北 石家庄 050000)
摘要:为提高手机在线考试系统生成试卷中知识点的覆盖率,为线上考试提供全面的技术指导,文章
提出基于微信小程序的手机在线考试设计。 系统将微信小程序作为载体,规划手机在线考试系统架
构;进行用户身份实名验证;设计手机在线考试数据库管理表,实现在线试题库的规范化管理;构建以
某知识点为核心的试卷矩阵,设计手机在线考试题目组合,完成系统设计。 实验结果表明,设计系统
生成在线考试习题信度在 80 ~ 100,提高了试卷中知识点的覆盖率。
关键词:微信小程序;在线考试系统;题目组合;数据库管理
中图分类号:TP311 文献标志码:A
图1 手机在线考试系统架构
作者简介:李娟(1981— ) ,女,河北保定人,讲师,硕士;研究方向:数据库。
∗通信作者:张东圆(1985— ) ,男,河北保定人,讲师,硕士;研究方向:计算机网络与应用。
— 58 —
第4期 No. 4
2023 年 2 月 无线互联科技·软件开发 February,2023
∑
按照上述方式,服务器集成在管理终端,确保在
k= K( i) ×a (1)
线考试系统在实际应用中可以发挥预期效果。 i>1
证。 在认证过程中,用户需要输入正确的账号与密码 E= ∑
A>1
( X - c) 2 (2)
进行微信登录。 下拉微信聊天界面,在搜索框中输入 公式(2) 中: E 表示在线试题库的生成过程; X
在线测试,找到微信小程序 [6] 。 此时,系统会自动弹 表示用户身份属性; c 表示连通渠道; A 表示国家在
窗,并显示是否授权,用户需要点击“ 权限” ,通过 App 线资源库。 在此过程中,考虑到多渠道采集的数据之
绑定微信小程序账号即可登录,完成首次登录后,下 间可能存在格式上的差异,要对不同类别与不同规模
次不会出现任何权限提示,用户便可以直接进入小程 的数据进行规范化管理,可在现有工作的基础上,对
序系统。 录入题库的资源信息进行统一处理。 处理过程如公
登录软件后,用户应在“ 个人中心” 界面,进行身 式(3) 所示。
份实名验证,验证内容包括姓名、身份证、职业、单位、 Y′ = - ( α) × y + ( β) × B (3)
近期免冠照片等 [7] 。 完成身份填写后,程序将上传用 公式(3) 中: Y′ 表示资源信息格式的统一化处
户信息,并将其与小程序终端信息平台上的登记人员 理; α 表示数据字典; y 表示信息所在场景; β 表示标
进行对比,通过此种方式对用户身份进行验证,确认 准化格式; B 表示录入信息当前格式。 按照上述方
符合,即可完成用户身份绑定。 对此过程进行描述, 式,统一数据格式,将多渠道获取的数据信息按照表
如计算公式(1) 所示。 2 所示的格式,录入数据库。
— 59 —
第4期 No. 4
2023 年 2 月 无线互联科技·软件开发 February,2023
表2 手机在线考试数据库管理 测试环境。
序号 代码 类型 描述
表3 系统测试环境
1 编码 Int(10) ID
序号 项目 技术参数
2 文本内容 Char(100) The text content
1 系统集成终端 手机( 任何型号)
3 最近学习次数 Char(50) Last learning times
2 登录方式 微信认证
4 专业知识类别 Char(20) Category of Expertise
3 开发语言 C++语言
5 内容标识 Char(10) The content identifier
4 开发技术 ASP.NET
6 分类名称 Char(10) Category name
5 架构 参照四层架构
7 难度等级 Char(3) Difficulty level
6 数据库 Microsoft SQL Server
按照上述方式,对在线试题库进行规范化管理。 7 辅助技术 CSS,JAVA,DIV 等
管理过程中,设计信息录入时间点,对题库中的内容
完成测试环境的布置后,先使用微信小程序,进
进行定期更新。 更新过程如公式(4) 所示。
行用户身份的绑定与认证,同时,使用数据库技术,进
q
P= (4) 行在线试题库生成与管理,引进智能化组合算法,进
| χ|
行手机在线考试题目组合设计,生成手机在线考试
公式(4) 中: P 表示在线题库更新; q 表示更新内
习题。
容; χ 表示更新周期。 通过上述计算公式,完成在线
为确保实验结果具有一定的对比性,引进基于
题库更新管理。
OSCE 技术的手机在线考试系统作为传统系统。 在使
5 手机在线考试题目组合设计
用传统系统进行用户在线测试时,需要将系统数据库
完成上述设计后,进行手机在线考试系统中的试
接口与国家教育考试数据库进行对接, 通过此种方
卷题目组合设计,挖掘在资源库内的知识点属性,构
式,获取大量真题数据。 同时,参照 OSCE 考试模式,
建以某知识点为核心的试卷矩阵,矩阵表达式如下。
为登录与认证的用户提供微服务。 用户可以在登录
■ d 11 d 12 ■
D=■ ■ (5) 小程序中的系统后,选择个人标签,系统将根据用户
■ d 21 d 22 ■ 选择的标签,进行题型、难度的适配,并构建对应的用
公式(5) 中: D 表示试卷组合矩阵; d 表示核心知 户模型,通过模型与用户身份的对接,生成与其适配
识点。 完成组合矩阵的设计后,通过对生成试卷难度 度较高的考试习题。
的约束、知识点的规划部署、试卷结构的调整,建立手 将本文开发的系统与传统系统部署在测试环境
机在线考试题目组合目标函数。 将手机在线考试题 中,将系统生成试卷的信度作为评价系统综合性能的
目组合设计过程作为一个多目标同步优化求解的过 关键指标。 对系统生成试卷的信度进行计算,计算公
程,对目标函数进行设计。 函数表达式如下。 式如下。
J
R × S2
H = min∑ ω j( δ j × Q) (6) r= (7)
j>1 e2
公式(6) 中: H 表示手机在线考试题目组合多目 公式(7) 中: r 表示系统生成试卷的信度; R 表示
标函数; ω 表示知识点的规划部署目标; δ 表示试卷 试卷效度; S 表示试卷中知识点的时效性; e 表示无
难度约束条件; Q 表示试卷结构调整目标; J 表示调 效习题总数。 按照上述公式,对系统随机生成的习题
节次数; j 表示难度等级。 利用系统中的专家决策算 进行信度计算,统计实验结果如图 2 所示。 图 2 中,
法,对此函数进行求解,得到一个可多目标同步最优 实线表示本文系统生成在线考试习题的信度;虚线表
求解的方案,将此方案作为生成试卷的结构方案。 通 示传统系统生成在线考试习题的信度。
过此种方式,实现手机在线考试题目的组合设计,以 从图 2 所示的实验结果可以看出,本文系统生成
此完成基于微信小程序的手机在线考试系统设计。 在线考试习题的信度为 80 ~ 100,传统系统生成在线
6 对比实验 考试习题的信度为 50 ~ 80。 前者大于后者,说明本文
完成上述设计后,采用设计对比实验的方式,对 系统在实际应用中,生成在线考试习题的信度较高,
开发的考试系统进行检验。 手机考试系统必须是以 即试卷可靠度较高。
网络为基础,因此要求用户在使用过程中,手机必须 在上述内容的基础上,对两个系统生成在线测试
处于联网状态。 在此基础上,设计如表 3 所示的系统 习题中的知识点覆盖率进行对比。 对知识点覆盖率
— 60 —
第4期 No. 4
2023 年 2 月 无线互联科技·软件开发 February,2023
— 61 —
第4期 No. 4
2023 年 2 月 无线互联科技·技术应用 February,2023
Yao Yuguang
( China Railway Fifth Survey and Design Institute Group Co.' Ltd.' Beijing 102600' China)
Abstract: The rapid development of information technology and application level of the deepening' and so did the data
center business is expanding with each scale of the new system online' but the existing data center server system
integrated inefficient and main hardware efficiency lagging problem has become the current phase continue up
significant obstacles in the development of information field. This paper introduces some problems existing in the
current data center architecture' which in turn from the IT infrastructure technology upgrading' controlling costs and
improving the comprehensive utilization of existing resources' etc.' analyzes the super fusion technology in the
application of modern data center architecture transformation' puts forward the supported by super fusion technology to
complete the transformation of the data center architecture.
Key words: data center; hyperfusion technology; structural transformation; performance
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
( 上接第 61 页)
Abstract: In order to improve the coverage of knowledge points in the test papers generated by the mobile online
examination system and provide comprehensive technical guidance for online examinations' this paper proposes the
design of mobile online examinations based on WeChat applet. The system uses the WeChat applet as a carrier to plan
the architecture of the mobile online examination system; conduct real - name verification of user identity; design a
database management table for mobile online examinations to realize standardized management of online test question
banks; build a test paper matrix with a certain knowledge point as the core' design mobile phone the combination of
online exam questions completes the system design. The experimental results show that the reliability of the online test
questions generated by the design system is 80 ~ 100' which improves the coverage of knowledge points in the test
paper.
Key words: WeChat applet; online examination system; question combination; database management
— 89 —