JSPSMART系统考试监控及阅卷模块设计方案与开发文档格式.docx
《JSPSMART系统考试监控及阅卷模块设计方案与开发文档格式.docx》由会员分享,可在线阅读,更多相关《JSPSMART系统考试监控及阅卷模块设计方案与开发文档格式.docx(5页珍藏版)》请在冰豆网上搜索。
通过本模块的应用,可以满足SMART系统的在线考试部分需求,对SMART系统的应用和发展起到一定的促进作用。
关键词:
Hibernate;
在线考试;
考试监控;
阅卷
TheSMARTSystem-
DesignandImplementationTheModuleofTheExaminationControlsandPaperInspection
Abstract
Smartonlineexaminationandevaluationsystem,asSMARTSystemforshort;
isakindoftheintelligentlong-distanceeducationsoftwarewhichisdevelopedbytheframeworkoftheStruts+Spring+Hibernate.Thissystemwillbeusedmainlyinthemiddleandprimaryschoolsforexaminationandevaluation.Asthepartofthesystem,ithasmainlyrealizedsomefunctions,controllingthecourseofexaminationandlookingoverthepapersautomatically.First,thethesisintroducesthebackgroundoftheprojectandthetechnologythatinvolvedintheproject,andtheconstructionofthedevelopingplatformbyaccordingtotheactualconditionsoftheelementaryschoolandmiddleschool.Second,accordingtotheactualconditionsofthemiddleschoolsandprimaryschoolsandthedemandofthelong-distanceeducationsoftwareproject,thethesisdescribesthedesignationofthedatabaseandthemoduleofsystematicfunctionindetails,andthenmakestheflowdiagramofeveryfunctionmodule;
andthenbaseduponJAVAlanguagetoprogram.Atlastthesystemprovidesthefunctionoftheexaminationcontrolsandtheautomaticobjectivequestionsinspection.Bythismoduleapplying,itmaysatisfytheSmartsystemdemand,andpromotetheSmartsystemdevelopment.
Keywords:
Hibernate;
onlineexamination;
examinationcontrols;
paperinspection
目录
论文总页数:
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类
varxmlHttp;
functioncreateXMLHttpRequestObject(){
if(window.ActiveXObject)
xmlHttp=newActiveXObject("
Microsoft.XMLHTTP"
);
elseif(window.XMLHttpRequest)
xmlHttp=newXMLHttpRequest();
}
//向服务器发送请求
functionstartRequest(url,functionName){
//url为要执行的在action中的更新方法
varurl="
<
%=request.getContextPath()%>
/examPageAction.do?
action=update"
;
createXMLHttpRequestObject();
//发送请求后的回调函数
//getExamState为我要调用的javascript函数名(主要实现对各种状态的处理)
xmlHttp.onreadystatechange=getExamState;
xmlHttp.open("
GET"
url,true);
//发送请求并异步执行
xmlHttp.send(null);
}
//实现的javascript代码
functiongetExamState(){
if(xmlHttp.readyState==4&
&
xmlHttp.status==200){
//取得考试状态
varexamState=xmlHttp.responseXML.getElementsByTagName("
examState"
varstate=examState[0].firstChild.nodeValue;
//对不同的状态进行不同的操作
if(state=='
kaoshizhong'
){…}
kaoshihou'
kaoshiqian'
//定时调用该函数,时间单位为毫秒
window.setInterval("
startRequest()"
10000);
如老师禁止学生考试,则在学生考试端显示相关的信息。
学生确认消息后则自动退出当前考试。
图5-9用户考试端状态被改变后的答题页面
1.2阅卷模块设计及实现
在学生主动提交考卷、老师强制提交或者是考试时间到了自动提交后,对存在考试临时表内的学生试题信息进行判断,并将结果存入到考试结果表中。
最后将分数进行统计存到考试结果统计表中。
其中涉及到的表主要有3张:
考试临时表,考试结果表和考试结果统计表。
关系如图5-10所示:
图5-10阅卷相关表与其他表间的关系图
自动阅卷流程如图5-11所示:
图5-11阅卷流程图
Poweredby计算机毕业论文网
重要提示:
本论文由大学论文网
毕业论文下载网:
提供
如果需要详细内容请与QQ:
4991024联系
版权申明
本文部分内容,包括文字、图片、以及设计等在网上搜集整理。
版权为潘宏亮个人所有
Thisarticleincludessomeparts,includingtext,pictures,anddesign.CopyrightisPanHongliang'
spersonalownership.
用户可将本文的内容或服务用于个人学习、研究或欣赏,以及其他非商业性或非盈利性用途,但同时应遵守著作权法及其他相关法律的规定,不得侵犯本网站及相关权利人的合法权利。
除此以外,将本文任何内容或服务用于其他用途时,须征得本人及相关权利人的书面许可,并支付报酬。
Usersmayusethecontentsorservicesofthisarticleforpersonalstudy,researchorappreciation,andothernon-commercialornon-profitpurposes,butatthesametime,theyshallabidebytheprovisionsofcopyrightlawandotherrelevantlaws,andshallnotinfringeuponthelegitimaterightsofthiswebsiteanditsrelevantobligees.Inaddition,whenanycontentorserviceofthisarticleisusedforotherpurposes,writtenpermissionandremunerationshallbeobtainedfromthepersonconcernedandtherelevantobligee.
转载或引