基于MVC的计算机辅助命题系统的设计与实现

整个软件开发过程注重MVC模式的设计,将整个系统划分为持久层、表示层、业务层、数据层四层,从而降低各层之间的依赖,有效实现系统的解耦。另外,还利用了其他工具软件来进行辅助分析


摘  要:目前教学工作对计算机技术的依赖性越来越大,辅助教学软件越来越多,由此开发了辅助命题系统,以现代计算机软件为工具来管理题库,方便教育工作者的工作。本文根据软件工程思想,对系统进行了可行性分析,需求分析,总体设计以及最终实现,利用Java语言,对计算机辅助命题系统功能进行了描述,并给出了用例图。然后本系统主要是基于MVC设计模式设计的,后面也对该设计模式做了详细的介绍,这次开发根据分层思想,设计了四层软件体系架构。

本系统主要研究方向是试卷生成和题库管理。比如说不同的用户会根据自己所拥有的权限访问系统,然后根据自己的需要选择功能。在设计过程中坚持以用户使用感为先,充分考虑用户的需求,界面力求简单易操作;本辅助命题系统的开发,是为了方便管理题库、随机组成试卷,以此达到减轻教师负担的目的,其在教育工作中具有很大的实用性,它具有良好的安全性、操作简单、易于上手等特点。

本软件是以Windows 7为平台,myeclipse为软件开发工具编写而成的,它是一套完整的基于MVC模式设计的命题系统。包括用户登录、查询题目、生成试卷、信息统计等主要功能。系统具有维护简单、使用方便等特点,可应用于常规教学工作中。

关键词:命题系统  试题库  简单方便  MVC模式

The Design and Implementation of Computer Aided Propositional System based on MVC.

Abstract:At present, the teaching work is more and more dependent on computer technology, the auxiliary teaching software is becoming more and more auxiliary proposition system, thus developed with modern computer software for the tools to manage question bank, convenient education workers work. According to software engineering idea, the system has carried on the feasibility analysis, requirement analysis, general design, and finally, using the Java language, the computer aided proposition system function are described, and the use case diagram is given. Then, the system is mainly designed based on the MVC design pattern, and the design pattern is also introduced in detail. Based on the hierarchical thinking, the four-layer software architecture is designed.

The main research direction of this system is paper generation and question bank management. For example, different users will access the system according to their own rights, and then select the functions according to their own needs. In the design process, we insist on the user's sense of use, fully consider the user's needs, and the interface is simple and easy to operate; Auxiliary proposition system development, this is question bank, random test paper for the convenience of management, to achieve the purpose of easing the burden on teachers, the feasibility of its in the education work, it has a good safety, simple operation, easy-to-use features

This software is based on Windows 7, and myeclipse is written for software development tools. It is a complete set of propositional system based on MVC pattern design. Including user login, query topic, generation of test paper, information statistics and other major functions. The system has the characteristics of simple maintenance and easy to use, which can be applied to the routine teaching work

Key Words: Proposition system  Question bank  Easy and convenient  mvc design model

目录

摘要 Ⅰ

Abstract Ⅱ

1 绪论 1

1.1 背景及意义 1

1.2 开发环境 2

1.3 相关定义 2

2可行性研究和需求分析 5

2.1 可行性分析 5

2.2 需求分析 6

2.3 用例图 7

3系统设计 8

3.1 功能设计 8

3.2 数据库设计 4

3.3 概念结构设计 8

4系统实现 12

4.1 界面设计 12

4.2 登录模块的实现 13

4.3 科目管理模块的实现 14