摘 要
随着计算机技术、网络技术的发展,建设一个可靠、高效的在线作业和答疑系统来减少专门课程教师的工作量,方便教师和学生的工作和学习,及时、正确地处理学生学习中存在的各种问题,在学生和老师之间建立一个良好的教学、学习的平台以及交流的平台是很必要的,也能很好的作为传统教育方式的一种有利的补充。
论文所设计的的是一个基于B/S结构的基于WEB的“C++”在线作业和答疑系统,系统分了教师模块和学生模块。该在线作业和答疑系统主要实现的功能有:C++课程的作业管理(包括作业的布置、在线完成、批阅、管理等),简单的习题库管理、在线答疑管理、学习资料管理(包括资料上传和下载等)。详细说明了数据库的设计,以及系统各功能的实现。
关键词:作业及答疑系统;B/S结构;数据库
Abstract
With the development of computer technology, network technology, construction of a reliable, efficient online homework and question answering system to reduce workload of specialized course teachers, teachers and students work and study convenient, timely and properly deal with all kinds of problems existing in the students’ learning, to establish a good teaching, learning platform and communication platform is necessary between the students and the teacher, also can very good education as the traditional way of a favorable supplement.
The design of this paper is based on the B/S structure of the WEB “C++” online homework and question answering system, the system divides the teacher module and student module. The online homework and question answering system mainly realizes the functions: C + + program for the operation management (including homework arrangement, completed online, grading, management, etc.), simple exercise library management, online FAQ management, learning data management, including data upload and download. Detailed description of the database design, as well as the realization of the function of the system.
Key words: job and question answering system; B/S structure; database
目 录
1.2 系统开发环境及开发平台……………………………….. 1
1.2.2 系统开发平台简介……………………………….. 1
2.1 系统的B/S结构………………………………………. 4
2.1.1 B/S结构简介……………………………………. 4
2.1.2 B/S架构软件的优势与劣势…………………………. 4
2.1.3 B/S框架与C/S框架的联系与区别……………………. 5
2.2 MVC及SpringMvc……………………………………… 6
2.2.2 Sping Mvc……………………………………… 8
2.3 Hibernate…………………………………………… 8
3.2 用UML用例图描述系统需求…………………………….. 10
3.2.2 系统用例分析………………………………….. 10
4.1 数据库的设计与实现………………………………….. 13
4.1.1 数据库Mysql简介………………………………. 13
4.1.3 数据库加载和调试………………………………. 17
4.2 功能模块的设计与实现………………………………… 17
4.2.1 系统登录注册模块………………………………. 17
4.2.3 老师功能模块………………………………….. 21
5 系统测试与维护………………………………………….. 27