C语言在线考试系统——试题生成模块毕业设计

摘要

现如今,我们生活在信息大爆炸的时代,网络信息的应用已经进入我们的生活的各方各面。尤其在网络教学中,网上在线考试系统在其中扮演了重要的角色,相比于传统的考试方式具有更好的规范性、科学性,更加有利于考试工作的组织和管理。

C语言在线考试系统是一个拥有自动组卷、自动判卷、学生和成绩信息管理的网上考试系统。它分为试题生成模块、在线考试模块、自动评分模块,整个系统层次结构简单,操作简易,并具备了一定的安全性,在有利于提高网络教学的质量的同时,大大的拓展了考试的灵活性,阅卷效率,还保证了考试的公平性,答案的安全性。我主要设计和实现了试题的生成模块,其中包括了批量上传试题,单条上传试题,试题的查询与删除,试卷的自动生成等环节。

本系统的开发实现是基于B/S模式的,数据库采用MySQL,开发平台是PHP,开发工具是Dreamweaver,服务器采用了Apache。 关键词:在线考试系统;B/S模式;PHP

Abstract

Today, we are living in the era of information explosion, the application of network information has entered our lives on all sides. Especially in the online teaching, online examination system in which play an important role, compared to traditional examinations have better normative, scientific, more conducive to the examination work of the organization and management.

C language is an online examination system has automatic generation, automatic graders, students, and performance information management online examination system. It is divided into questions generation module, online examination module, automatic scoring module, the entire system hierarchy is simple, easy to operate, and have a certain degree of security, the network will help improve the quality of teaching at the same time, greatly expand the flexibility of the exam resistance, scoring efficiency, but also to ensure the fairness of the examination, the answer security. I mainly design and implementation of a generation module test questions, including questions bulk upload, uploading single questions, questions and delete queries, and other aspects of the automatic generation of test paper.

Development of this system implementation is based on B / S mode, the database using MySQL, development platform is PHP, development tools is Dreamweaver, the server uses the Apache.

Keywords: online examination system; B / S mode; PHP

目 录

1.绪论 ...................................................................................................................................... 1 1.1 课题背景 .................................................................................................................. 1 1.2 在线考试系统开发的目的和意义 .......................................................................... 1 2.在线考试系统的需求分析 .................................................................................................. 2

2.1 功能需求 .................................................................................................................. 2 2.2 性能需求 .................................................................................................................. 2

2.2.1 网络环境下的多用户性需求 ....................................................................... 2 2.2.2数据的完整性和准确性需求 ........................................................................ 2 2.2.3数据安全性需求 ............................................................................................ 2 2.3开发方案的比较与选择 ........................................................................................... 2 2.3.1 开发方案的比较 ........................................................................................... 2 2.3.2 开发方案的确定 ........................................................................................... 3 2.4 系统开发环境及工具 .............................................................................................. 3

2.4.1 开发/运行环境 .............................................................................................. 3 2.4.2开发工具的选取 ............................................................................................ 4

3.总体设计 .............................................................................................................................. 4

3.1系统功能需求分析图描述 ....................................................................................... 4

3.1.1 功能需求分析总图 ....................................................................................... 4 3.1.2学生功能需求分析图 .................................................................................... 5 3.1.3 教师功能需求分析图 ................................................................................... 5 3.2模块的划分及各个模块的基本功能 ....................................................................... 6 4. 数据库设计 ........................................................................................................................ 6

4.1数据库连接 ............................................................................................................... 6 4.2数据表实现 ............................................................................................................... 7 5.项目的设计实现 .................................................................................................................. 8

5.1 文件结构的设计与实现 .......................................................................................... 8 5.2上传试题 ................................................................................................................... 8 5.3试题管理 ................................................................................................................... 8 5.4试卷生成及管理 ....................................................................................................... 9 6.系统测试与分析 .................................................................................................................. 9 6.1 测试概述 .................................................................................................................. 9 6.2 测试方法 .................................................................................................................. 9 6.3测试截图 ................................................................................................................... 9 6.4 测试总结 ................................................................................................................ 13 7.结论 .................................................................................................................................... 13 参考文献 ............................................................................................................................... 14 致谢 ....................................................................................................................................... 15

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4