1、 摘摘 要要 随着网络技术的发展,远程教育和网上考试成为网络应用的一个重要方面。近几年,在线考试 特别是基于Web 的在线考试系统受到越来越多的人青睐。 本次毕业设计的题目是在线模拟考试系统的设计与实现,系统采用浏览器/服务器模式开发,包 括登录注册、 在线考试、 试卷设置、 试题管理、 分数的统计以及成绩查询等功能。 系统运行在Windows 7操作系统上,以Tomcat作为Web服务器,使用JSP技术和MySQL 数据库实现。 论文首先对在线考试系统做了需求分析,然后给出系统的设计与实现过程,最后,针对系统的 各个功能进行了测试。 关键词关键词:在线考试;浏览器/服务器;JSP;MySQL
2、;JDBC; Abstract With the development of networking technology, online examination and distance education is an aspect in the application of internet. In recent years the on-line examination especial of Web-based examination is more and more popular. The graduation projects subject is to design and r
3、ealization of the online examination system. The system uses the browser/server to develop. It includes login, new user registration, on-line examination, examination paper set, examination paper management, score statistics ,query results and other functional. The system takes the Windows 7 as the
4、OS,Tomcat as the web Server, uses JSP technology and MySQL as the Database Server development tools to realize the system. In this paper, the requirement analysis about the online examination system is introduced, and then give the system design and implementation .Finally, all of the functions of t
5、he system is tested. Keywords: On-line Examination;Browse/Server;JSP;MySQL;JDBC; 目录目录 摘摘 要要(中文)(中文). I (英文)(英文) II 第一章第一章 系统概述系统概述 1 1.1 系统开发背景 1 1.2 系统开发意义 1 1.3 系统开发工具. 1 第二章第二章 系统分析系统分析 5 2.1 现状分析 . 5 2.2 可行性分析 . 5 2.3 设计目标 . 6 2.4 功能要求 . 6 2.5 系统开发环境配置 . 7 第三章第三章 系统设计系统设计 8 3.1 数据库设计 8 3.2 系统结构设
6、计. 10 3.3 用户界面设计. 11 第四章第四章 系统实现系统实现 14 4.1 数据库连接的实现方法 14 4.2 登陆注册模块 15 4.3 考生模块 17 4.4 教师模块 . 22 4.5 管理员模块 . 29 第五章第五章 系统测试系统测试 32 5.1 什么是软件测试 . 32 5.2 软件测试的目标与方法. 32 5.3 测试内容 32 5.4 系统的不足和展望 32 结束语结束语 34 参考文献参考文献 35 第一章第一章 系统概述系统概述 1.1 1.1 系统开发背景系统开发背景 随着我国计算机技术和通讯技术的发展,互联网的普及程度已经很广泛了,但是,现在的教育 教学检验方式,还是停留在过去的纸质考试层面在,而传统的教育教学检验方式中,要进行一次考 试,至少需要经过教师出题、学生考试、教师阅卷等几步,这是一个繁杂的过程,需要大量人力、 物力与时间的投入,同时也让教师的工作量越来越大;现在远程教育类学校的增多,虽然利用了网 络拉近了教师与学生的距离,但学生的分布过广,导致了不易统一集中安排考试,考生成本的增加等 诸多难题的出现,给校方和学生带来了很