毕业设计(论文)
论文题目
thesis Topic
Java EE Web 在线考试系统
Java EE Web Online Examination System 学生姓名 学 号 所 在 院 系 专 业 班 级
导师姓名职称 完成日期
XX XX XX XX XX XX
20XX年X月 X日
太原理工大学毕业设计(论文)
摘要Java EE Web在线考试系统
摘 要
随着科学技术的不断发展,网络已经为人们日常生活提供了极大的便利。本系统实现了网络在线考试的功能,解决了传统考试效率低、时间长的问题,使考试趋于自动化,更加公平。本论文主要介绍了基于Java EE的在线考试系统的分析、设计、开发的过程。
在线考试系统主要利用浏览器为考试界面,采用B/S模式,用户可以远程或本地访问本站点。本系统主要以JavaEE作为开发基础,采用JSP、Struts、Ajax等技术和SQL Server数据库以及Dreamweaver等工具设计并实现了基本功能。
本系统主要包括:用户登录、用户注册、在线考试、管理员登录、试卷管理等功能。用户系统主要实现用户登录,新用户注册获得准考证,进行在线考试并且能查询成绩等功能。管理员系统主要实现用户管理,增加、删除管理员,课程的设置,试卷考试题目的管理等功能。
关键词:在线考试系统;JavaEE;B/S模式;考试自动化;网络
I
太原理工大学毕业设计(论文)
Abstract Java EE Web Online Examination System
Abstract
With the development of science and technology, the network has provided great convenience for the daily life of people and solve the traditional examination problems of low efficiency and long time. The Online examination system make the test more automatic, more fair. This paper mainly introduces the process of analysis, design and development of online examination system based on Java EE.
Online examination system mainly use the browser as the examination interface, using B/S mode, users can access the site remote or local. This system mainly uses Java EE as the basis of development, using JSP, Struts, Ajax technology and SQL Server database, Dreamweaver tools to design and realize the basic functions.
The system includes: user login, user registration, online examination, the administrator login, paper management and other functions. User system mainly realizes the user login, new user registration, on-line examination, and the other functions such as query results. The administrator system mainly realizes the user management, increase, delete administrators, curriculum, examination questions management and other functions.
Keywords: Online examination system; Java EE; B/S mode; Test automation; Network
II
太原理工大学毕业设计(论文)
目 录
摘 要 ............................................................................................................................................................ I Abstract ........................................................................................................................................................ II 目 录 .........................................................................................................................................................III 第1章 绪论 .............................................................................................................................................- 1 -
1.1 系统开发背景 .............................................................................................................................- 1 - 1.2 系统开发目的及意义 .................................................................................................................- 1 - 1.3 相关技术介绍 .............................................................................................................................- 1 -
1.3.1 JSP简介 ............................................................................................................................- 1 - 1.3.2 MVC框架简介 .................................................................................................................- 3 - 1.3.3 Struts简介 ........................................................................................................................- 5 - 1.3.4 SQL Server简介 ...............................................................................................................- 6 -
第2章 系统分析 ...................................................................................................................................- 12 -
2.1 可行性分析 ...............................................................................................................................- 12 -
2.1.1 经济可行性 ....................................................................................................................- 12 - 2.1.2 技术可行性 ....................................................................................................................- 12 - 2.1.3 操作可行性 ....................................................................................................................- 12 - 2.1.4 实用性原则 ....................................................................................................................- 12 - 2.2 需求分析 ...................................................................................................................................- 13 -
2.2.1 任务概述 ........................................................................................................................- 13 - 2.2.2 需求规范 ........................................................................................................................- 13 - 2.2.3 系统逻辑模型 ................................................................................................................- 14 - 2.2.4 运行环境规定 ................................................................................................................- 18 -
第3章 概要设计 ...................................................................................................................................- 20 -
3.1 系统功能的总体逻辑层次 .......................................................................................................- 20 - 3.2 设计要求 ...................................................................................................................................- 21 -
3.2.1 系统稳定性 ....................................................................................................................- 21 - 3.2.2 数据的安全性 ................................................................................................................- 21 - 3.2.3 系统健壮性 ....................................................................................................................- 21 - 3.3 系统结构及流程 .......................................................................................................................- 22 - 3.4 接口设计 ...................................................................................................................................- 24 -
3.4.1 用户接口 ........................................................................................................................- 24 - 3.4.2 外部接口 ........................................................................................................................- 24 - 3.4.3 内部接口 ........................................................................................................................- 24 - 3.5 运行设计 ...................................................................................................................................- 24 -
III
太原理工大学毕业设计(论文)
3.6 系统数据库设计 .......................................................................................................................- 24 -
3.6.1 数据库概念设计 ............................................................................................................- 24 - 3.6.2 系统数据库结构 ............................................................................................................- 27 - 3.6.3 数据表之间的关系设计 ................................................................................................- 29 - 3.7 公共类设计 ...............................................................................................................................- 30 - 第4章 详细设计 ...................................................................................................................................- 33 -
4.1 前台考生信息模块 ...................................................................................................................- 33 -
4.1.1 用户注册模块 ................................................................................................................- 33 - 4.1.2 用户登录模块 ................................................................................................................- 36 - 4.2 在线考试模块 ...........................................................................................................................- 38 -
4.2.1 选择考试科目模块 ........................................................................................................- 38 - 4.2.2 开始考试模块 ................................................................................................................- 40 - 4.2.3 系统阅卷显示成绩模块 ................................................................................................- 41 - 4.3 后台管理模块 ...........................................................................................................................- 43 -
4.3.1 考生成绩管理模块 ........................................................................................................- 43 - 4.3.2 课程管理模块 ................................................................................................................- 44 - 4.3.3 试卷管理模块 ................................................................................................................- 47 - 4.3.4 考试题目管理模块 ........................................................................................................- 48 -
第5章 系统测试 ...................................................................................................................................- 55 -
5.1 软件测试概念 ..........................................................................................................................- 55 - 5.2 测试目标 ..................................................................................................................................- 55 - 5.3 测试方法 ..................................................................................................................................- 55 -
5.3.1 静态测试与动态测试 ....................................................................................................- 55 - 5.3.2 黑盒测试与白盒测试 ....................................................................................................- 55 - 5.4 本系统测试方面 .......................................................................................................................- 56 -
5.4.1 功能测试 ........................................................................................................................- 56 - 5.4.2 性能测试 ........................................................................................................................- 57 - 5.5 测试评价 ...................................................................................................................................- 57 - 总 结 .....................................................................................................................................................- 58 - 致 谢 .....................................................................................................................................................- 59 - 参考文献 .................................................................................................................................................- 60 - 外文资料 .................................................................................................................................................- 61 - 中文翻译 .................................................................................................................................................- 68 -
IV