考试监控及阅卷模块的设计与开发(DOC 9页).doc_第1页
考试监控及阅卷模块的设计与开发(DOC 9页).doc_第2页
考试监控及阅卷模块的设计与开发(DOC 9页).doc_第3页
考试监控及阅卷模块的设计与开发(DOC 9页).doc_第4页
考试监控及阅卷模块的设计与开发(DOC 9页).doc_第5页
已阅读5页,还剩4页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

SMARTSMART 系统系统 考试监控及阅卷模块的设计与开发考试监控及阅卷模块的设计与开发 摘摘 要要 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 11 1 考试监控模块设计及实现考试监控模块设计及实现 考试监控模块的设计 是指对整个考试过程及考试过程中发生的一些事件 进行监视和控制 总体流程如下 1 学生在点击参加考试后 通过对学生所在的班级 NO 的判断 查找出所 有该班有权限参加的考试 再通过发卷时间与服务器当前时间的比对 在页面上显示出符合该生的考试信息 图 5 1学生考试信息图 2 学生通过点击对应的考试进入考试界面 此时将学生的信息 如姓名 学号 登陆时间 登陆 IP 等写入监控表 进行答题 图 5 2学生考试答题图 图 5 5用户监控端班级列表图 监考老师可以实时获得各个学生的考试状态 也可以对某个或多个学生进 行对应的考试操作 如让他们重新考试或者是结束考试等 图 5 6用户监控端监控页面图 用户监控端改变考试状态流程图 用户监控端 是否在考试时间 内 YES YES NO 是否改变学生考 试状态 NO 考试结束 写入监控表 开始监控 图 5 7用户监控端改变考试状态流程图 用户考试端获取考试状态流程图 用户考试端 读取监控表 是否在考试时间 内 YES NO 状态是否改变 YES NO 返回处理结果 考试结束 开始考试 图 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 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 var state examState 0 firstChild nodeValue 对不同的状态进行不同的操作 if state kaoshizhong if state kaoshihou if state kaoshiqian 定时调用该函数 时间单位为毫秒 window setInterval startRequest 10000 如老师禁止学生考试 则在学生考试端显示相关的信息 学生确认消息后 则自动退出当前考试 图 5 9用户考试端 状态被改变后的答题页面 1 21 2 阅卷模块设计及实现阅卷模块设计及实现 在学生主动提交考卷 老师强制提交或者是考试时间到了自动提交后 对 存在考试临时表内的学生试题信息进行判断 并将

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论