共分为绪论、系统分析、设计工具及关键技术介绍、系统概要设计、系统详细设计、系统测试、 总结展望、参考文献。详细阐述了系统分析、系统设计的方法及其内容。
关键词:在线考试系统;及时阅卷;基于php;MySQL
II
ABSTRACT
With the development of science and technology, network technology has deep into the People's Daily life, and the way of education brings a transformation. And network exam is a very important direction. Based on the Web technology network exam system can all over the world by Internet. So the exam can in local, or in other cities, greatly expand the flexibility of the exam. And shorten the traditional test request print examination paper, arrange the exam teacher, monitors, collection, as a test, evaluation and analysis of the test paper test papers, the long and complex process, tend to be more objective and fair exam.
This paper introduces a on-line exam, timely with scores query scoring, and examination questions and the examinee information management functions of network on-line examination system. The system is based on PHP and MySQL, in order to match the online teaching set up "online examination system, the realization of online learning and the integration of design. Design the system must be familiar with the HTML, PHP language and MySQL database editors and application. With the help of Dreamweaver on site and web design, still use the phpmyadmin MySQL database of visual operation.
Full text is divided into the introduction, system analysis, design tools and key technology is introduced, the system design, system detailed summary design, system test and summarized the outlook and references. Expounds the system analysis, system design method and its content.
Keywords: on-line examination system; Timely reading; Based on the PHP; MySQL
III
目 录
1 绪 论 ................................................................................................................ 1 1.1 系统开发的现状............................................................................................ 1 1.2 系统开发的目的............................................................................................ 2 1.3 系统开发的意义............................................................................................ 2 2 系统分析............................................................................................................. 3 2.1 可行性分析 ................................................................................................... 3
2.1.1 经济可行性 ............................................................................................ 3
2.1.2 技术可行性 ............................................................................................ 3 2.2 需求分析 ....................................................................................................... 3 2.3 开发环境 ....................................................................................................... 4 3 设计工具及关键技术介绍 .................................................................................. 5 3.1 APACHE简介 ............................................................................................... 5 3.2 PHP语言简介 ............................................................................................... 5 3.3 PHP 连接MYSQL数据库 ............................................................................ 6
3.3.1 PHP连接数据库的两种方法 ................................................................. 6
3.3.2 PHP对MySQL数据库的两种连接方式............................................... 6
3.4 AJAX简介 .................................................................................................... 7 4 系统概要设计 ..................................................................................................... 8 4.1 系统的总体设计............................................................................................ 8 4.2 数据库设计 ................................................................................................... 8 4.3 系统结构设计 ............................................................................................... 9
4.3.1 系统功能结构 ........................................................................................ 9
4.3.2 系统流程图 .......................................................................................... 10 5 系统详细设计 .................................................................................................... 11 5.1 数据库设计 .................................................................................................. 11
5.1.1 数据库分析 ........................................................................................... 11
5.1.2 概念设计 ............................................................................................... 11
i
5.1.3 数据库物理结构 .................................................................................. 13 5.2 系统详细设计与实现 .................................................................................. 14
5.2.1 系统配置 .............................................................................................. 14
5.2.2 前台详细设计与实现 ........................................................................... 15
5.2.3 后台详细设计与实现 ........................................................................... 25
6 系统测试........................................................................................................... 30 6.1 测试环境 ..................................................................................................... 30 6.2 什么是软件测试.......................................................................................... 30 6.3 软件测试的目标与方法 .............................................................................. 30
6.4 系统评估 ..................................................................................................... 31
7 总结与展望 ....................................................................................................... 32参考文献 ................................................................................................................ 33 致 谢 .................................................................................................................... 34 附 录 .................................................................................................................... 35
ii
1 绪 论
1.1 系统开发的现状
世界各国对教育的发展给予了前所未有的关注,都试图在未来的信息社会中让教育处于一个优势的位置,从而走在社会发展的前列,为此许多国家都把信息技术应用于教育,采取措施推进教育信息化。美国政府在1996年提出了“教育
”,指出到21世纪初让全美国的每间教室和每个图书馆都将联上信息高技术规划
速公路,让每个孩子都能在“21世纪教师”网络服务。澳大利亚国家公共资源管理局已于1995年4月建立“澳大利亚教育网”,并联通Internet,该网络不仅包括全部高等院校,而且还覆盖全澳大利亚所有的中小学。
网络化在线考试作为网上远程教育的重要组成部分和发展分支,己经在国外一些发达国家得到蓬勃发展,人们选学课程和考试都是通过网上进行。特别是Internet业务的普及,构筑高性能、低成本的计算机网络化在线考试,从技术条件和经济条件上己经成熟。例如在美国,一些著名的考试就采用了网上在线考试的形式包括Microsoft公司的MCSE(微软系统工程师认证考试)GMAT(工商管理硕士入学考试)、托福考试、GRE(美国研究生入学考试)等等,并己在全范应用。
在国内,普遍地看绝大多数远程教育的考试还停留在传统考试方式。在此方式下,组织一次考试至少要经过5个步骤,即人工出卷、考生考试、人工阅卷、试卷分析和成绩评估。显然,随着考试类型的不断增加及考试要求的不断提高,教师的工作量将会越来越大,并且这样工作将是一件十分烦琐和非常容易出错的事情。但是对互联网的真正应用仅限于网上报名工作和网上成绩查询,还没有真正形成上网考试的规模。而在国外一些国家,网上提交作业和网上考试已经相当普及了。所以说传统的考试方式已经不能适应现代考试的需要。
近几年来,借鉴发达国家的成功经验,结合我国的实际情况,伴随着网络应用的不断扩大,远程教育和虚拟大学的出现,网络应用正不断深入人心。人们迫切要求利用网络技术进行在线考试,来提高了考试的质量,突出公正和客观性,减轻组织及保障工作的负担,提高工作效率。于是许多教育教学类的课程在线考试软件应运而生,高等学校,企事业单位也都纷纷组织研究此类应用的解决