收藏 分销(赏)

JSP3006SMART系统-考试监控及阅卷模块的设计与开发2.docx

上传人:pc****0 文档编号:8763715 上传时间:2025-03-01 格式:DOCX 页数:9 大小:1.33MB 下载积分:10 金币
下载 相关 举报
JSP3006SMART系统-考试监控及阅卷模块的设计与开发2.docx_第1页
第1页 / 共9页
JSP3006SMART系统-考试监控及阅卷模块的设计与开发2.docx_第2页
第2页 / 共9页


点击查看更多>>
资源描述
SMART系统—— 考试监控及阅卷模块的设计与开发 摘 要 Smart在线考试评估系统(简称“SMART系统”),是基于Browser/Server(简称B/S)结构的数据库访问模式,采用Struts + Spring + Hibernate作为平台搭建的框架开发的一套新型智能的远程教育软件。主要用于各中小学的学生考试和教学评估。本论文设计作为Smart项目的一个组成部分,主要实现了考试过程监控和客观题的自动阅卷功能。论文首先介绍了设计中所涉及到的项目背景、开发技术,并构建了系统的总体框架;其次根据中小学的实际情况和远程教育软件项目的需求,详细地进行了数据库设计和系统功能模块设计,制定了各功能模块的流程图;然后采用JAVA编程语言对本论文的设计任务进行编码,并最终实现了对考试过程的监控和对客观题的自动阅卷等功能。通过本模块的应用,可以满足SMART系统的在线考试部分需求,对SMART系统的应用和发展起到一定的促进作用。 关键词:Hibernate;在线考试;考试监控;阅卷 The SMART System- Design and Implementation The Module of The Examination Controls and Paper Inspection Abstract Smart online examination and evaluation system, as SMART System for short; is a kind of the intelligent long-distance education software which is developed by the framework of the Struts + Spring + Hibernate. This system will be used mainly in the middle and primary schools for examination and evaluation. As the part of the system, it has mainly realized some functions, controlling the course of examination and looking over the papers automatically. First, the thesis introduces the background of the project and the technology that involved in the project, and the construction of the developing platform by according to the actual conditions of the elementary school and middle school. Second, according to the actual conditions of the middle schools and primary schools and the demand of the long-distance education software project, the thesis describes the designation of the database and the module of systematic function in details, and then makes the flow diagram of every function module; and then based upon JAVA language to program. At last the system provides the function of the examination controls and the automatic objective questions inspection. By this module applying, it may satisfy the Smart system demand, and promote the Smart system development. Key words: Hibernate; online examination; examination controls; paper inspection 目 录 论文总页数:23页 1 引言 1 1.1 课题背景 1 1.2 课题目的 1 1.3 课题意义 1 2 系统总体设计 1 2.1 系统构架及其相关技术介绍 1 2.2 开发环境及相关技术介绍 5 3 系统需求分析 7 3.1 考试监控模块需求分析 7 3.2 阅卷模块需求分析 8 4 系统数据库设计 8 4.1 考试监控模块数据库设计 8 4.2 阅卷模块数据库设计 10 5 系统功能设计及实现 11 5.1 考试监控模块设计及实现 11 5.2 阅卷模块设计及实现 17 6 系统测试 19 结 论 20 参考文献 21 致 谢 22 声 明 23 1.1 考试监控模块设计及实现 考试监控模块的设计,是指对整个考试过程及考试过程中发生的一些事件进行监视和控制。总体流程如下: 1. 学生在点击参加考试后,通过对学生所在的班级NO的判断,查找出所有该班有权限参加的考试,再通过发卷时间与服务器当前时间的比对,在页面上显示出符合该生的考试信息。 图5-1 学生考试信息图 2. 学生通过点击对应的考试进入考试界面(此时将学生的信息,如姓名、学号、登陆时间、登陆IP等写入监控表),进行答题。 图5-2 学生考试答题图 图5-5 用户监控端班级列表图 监考老师可以实时获得各个学生的考试状态。也可以对某个或多个学生进行对应的考试操作,如让他们重新考试或者是结束考试等。 图5-6 用户监控端监控页面图 用户监控端改变考试状态流程图: 图5-7 用户监控端改变考试状态流程图 用户考试端获取考试状态流程图: 图5-8 用户考试端获取考试状态流程图 具体实现方法: //创建XMLHttpRequest类 var xmlHttp; function createXMLHttpRequestObject(){ if(window.ActiveXObject) xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); else if(window.XMLHttpRequest) xmlHttp=new XMLHttpRequest(); } //向服务器发送请求 function startRequest(url,functionName){ //url为要执行的在action中的更新方法 var url = "<%=request.getContextPath()%>/examPageAction.do?action=update"; createXMLHttpRequestObject(); //发送请求后的回调函数 // getExamState为我要调用的javascript函数名(主要实现对各种状态的处理) xmlHttp.onreadystatechange=getExamState; xmlHttp.open("GET",url,true); //发送请求并异步执行 xmlHttp.send(null); } //实现的javascript代码 function getExamState() { if (xmlHttp.readyState == 4 && xmlHttp.status == 200) { //取得考试状态 var examState = xmlHttp.responseXML.getElementsByTagName("examState"); var state = examState[0].firstChild.nodeValue; //对不同的状态进行不同的操作 if(state == 'kaoshizhong') {…} if(state == 'kaoshihou') {…} if(state == 'kaoshiqian') {…} } } //定时调用该函数,时间单位为毫秒 window.setInterval("startRequest()", 10000); 如老师禁止学生考试,则在学生考试端显示相关的信息。学生确认消息后则自动退出当前考试。 图5-9 用户考试端 状态被改变后的答题页面 1.2 阅卷模块设计及实现 在学生主动提交考卷、老师强制提交或者是考试时间到了自动提交后,对存在考试临时表内的学生试题信息进行判断,并将结果存入到考试结果表中。最后将分数进行统计存到考试结果统计表中。 其中涉及到的表主要有3张:考试临时表,考试结果表和考试结果统计表。 关系如图5-10所示: 图5-10 阅卷相关表与其他表间的关系图 自动阅卷流程如图5-11所示: 图5-11 阅卷流程图Powered by 计算机毕业论文网
展开阅读全文

开通  VIP会员、SVIP会员  优惠大
下载10份以上建议开通VIP会员
下载20份以上建议开通SVIP会员


开通VIP      成为共赢上传

当前位置:首页 > 管理财经 > 管理学资料

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2025 宁波自信网络信息技术有限公司  版权所有

客服电话:4009-655-100  投诉/维权电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服