1 分类号:TP312 U D C:D10621-408-(2007)6182-0
密 级:公 开 编 号:2002801027
成 都 信 息 工 程 学 院
学 位 论 文
C 语言试题生成与考试系统
论文作者姓名:
刘 锷
申请学位专业:
网络工程
申请学位类别:
工学学士
指导教师姓名(职称):
郭涛(讲师)
论文提交日期:
2007 年 6 月 9 日
C 语言试题生成与考试系统
摘 要
当前,网络教学方兴未艾。网上考试已在其中扮演了重要的角色,传统试卷
考试方式有待提高。网络教学已从其规范性、科学性及考试工作组织、管理的统
一性,影响到教学质量的好坏。基于此,本系统开发实现了基于 B/S 模式的 c 试
题生成与考试系统,其中数据库采用 MYSQL,开发平台是 jsp,开发工具是
eclipse+myeclipse,服务器采用 tomcat。本系统实现了三个功能模块即试题管理
模块、在线考试模块、自动评分模块。试题管理模块包括上传试题、试题管理、
试卷的自动生成。在线考试模块包括学生登录、考试鉴权、考试时间控制和一些
简单的考试意外的避免。自动评分模块包括制定评分规则自动评分和答案的返回。
用户机则不需要安装任何应用程序直接通过浏览器就可以访问。本系统的实现有
利于提高网络教学的质量同时大大拓展了考试的灵活性,阅卷效率,以及保证了
考试的公平性、答案的安全性。
关键词:网络考试系统;Web;B/S 模式
Producing Question and Examination System for C
Language
Abstract
At present, the network education is imperative. The net examination plays an
important role in the network education. The traditional way of examination needs to
be improved. Because of its normalization, scientificity and its unification of
organizing and managing examination work, the network education can affect the
quality of teaching. Considering these conditions, this system has implemented an
on-line C test questions examination which bases on B/S pattern, and it adopts
MYSQL database, JSP developing platform, Eclipse plus My eclipse developing tools
and tomcat server. This system has implemented three modules including test
questions management module, on-line examination module and auto grading module.
The test question management module includes up-loading test questions, managing
test questions and auto producing test paper. The on-line examination module
includes student login, examination authentication, testing time control and the
avoidance of some simple accidents. The auto grading module includes drawing
grading rule, auto grading and returning answers. The user-part computer can directly
visit browser, which needs not install any application program. The implementation of
this system can enhance the quality of network teaching, and it also great enlarges the
flexibility of examination and efficiency of reading tests, and it also guarantees the
fairness of examination and security of answers.
Key words:Net examination system; Web; B/S model
目 录
论文总页数:26 页
1 引言 .....................................................................0
1.1 课题背景 .............................................................0
1.2 试题自动生成系统开发的目的和意义 .....................................0
1.3 开发环境 .............................................................0
1.3.1 硬件配置及外设设备与配置 ............................................0
1.3.2 软件平台及语言 ......................................................0
2 项目总览 .................................................................0
2.1 总体设计 .............................................................0
2.2 模块划分及各模块的基本功能 ...........................................0
2.3 数据库设计 ...........................................................0
3 实现技术和方案选择 .......................................................0
3.1 B/S 模式与 C/S 模式 ....................................................0
3.2 JSP 和 ASP ............................................................0
3.3 JDBC 和 ODBC ..........................................................0
3.4 主要开发软件 .........................................................0
4 项目特色 .................................................................0
4.1 试题生成 .............................................................0
4.2 局部刷新 .............................................................0
5 项目分析、设计、开发 .....................................................0
5.1 试题管理模块的设计 ...................................................0
5.1.1 上传试题 ............................................................0
5.1.2 试题管理 ............................................................0
5.1.3 试卷生成 ............................................................0
5.1.4 成绩管理 ............................................................0
5.2 在线考试模块的设计 ...................................................0
5.2.1 考试鉴权 ............................................................0
5.2.2 学生登录 ............................................................0
5.2.3 时间管理 ............................................................0
5.2.4 意外避免 ............................................................0
5.3 自动评分模块的设计 ...................................................0
5.3.1 自动评分 ............................................................0
5.3.2 答案返回 ............................................................0
6 系统测试与分析 ...........................................................0
6.1 测试的方法 ...........................................................0
6.2 测试的步骤 ...........................................................0
6.3 测试的结果 ...........................................................0
7 运行效果 .................................................................0
结 论 .....................................................................0
参考文献 .....................................................................0
致 谢 .....................................................................0
声 明 .....................................................................0