系统总体结构图
系统登录界面图
用户注册界面图

管理员功能界面图
用户管理界面图
教师管理界面图
课程信息管理界面图
班级信息管理界面图
试题管理界面图
在线试题管理界面图
个人中心界面图
课程信息管理界面图
班级信息管理界面图
考试管理界面图
摘要本系统设计的现状和趋势,从需求、结构、数据库等方面的设计到系统的实现,分别为管理员和用户的实现。论文的内容从系统的设计、描述、实现、分析、测试方面来表明开发的过程。本系统根据现实情况来选择一种可行的开发方案,借助java编程语言和MySQL数据库等实现系统的全部功能,接下来对系统进行测试,测试系统是否有漏洞和测试用户权限来完善系统,最终系统完成达到相关标准。
研究背景21世纪,我国早在上世纪就已普及互联网信息,互联网对人们生活中带来了无限的便利。像大部分的企事业单位都有自己的系统,由从今传统的管理模式向互联网发展,如今开发自己的系统是理所当然的。那么开发在线考试系统意义和用处有哪些呢?
1.首先提升形象:这是每个企事业单位建设系统的目的之一。当今的网络信息年代,连一个操作系统都不从有过,将会跟不上时代的步伐。
2.加强在线考试服务:在线考试管理行业性质要求您定期提供资料给管理员,或者随时接受用户的建议。如果群众需要,可以通过系统进行管理。
3.同时一个好的系统能将在线考试的信息管理手段提上一个新的台阶。系统内容可以随时更新,这点对于现代在线考试管理来说是很重要,但传统的管理方式都无法做到的。在线考试系统就可以每天更新,随时向您反映在线考试的最新情况。
在线考试系统能够通过互联网得到广泛的、全面的宣传,让尽可能多的用户了解和熟知在线考试系统的便捷高效,不仅为群众提供了服务,而且也推广了自己,让更多的群众了解在线考试管理。
开发意义人类的进步带动信息化的发展,使人们生活节奏越来越快,所以人们越来越重视信息的时效性。以往的管理方式已经满足不了人们对获得信息的方式、方便快捷的需求。即在线考试系统慢慢的被人们关注。首先,网上获取信息十分的实时、便捷,只要系统在线状态,无论在哪里都能第一时间查找到理想的信息。
研究现状在国外很多发达国家,软件产业早已得到全面普及,但我国经济已不断发展,不断引进国外信息化建设,使国内软件行业得以不断发展,在摸索中进步,最终也得到一些成果,我国的软件业迎来了高速的发展,使更多的软件系统得以开发出来,从此逐渐地改变人们的生活工作方式。但是,对于信息化的建设,与很多发达国家相比,由于信息化程度的落后以及经费的不足,我国的在线考试系统开发方面还是相对落后的,因此,要不断的努力探索,争取开发出一个实用的信息化的在线考试系统,来实现在线考试管理的信息化。因此本课题以在线考试为例,目的是开发一个实用的在线考试系统。
部分源码/ 试题表 后端接口 @author @email @date /@RestController@RequestMapping("/examquestion")public class ExamquestionController { @Autowired private ExamquestionService examquestionService; / 后端列表 / @RequestMapping("/page") public R page(@RequestParam Map<String, Object> params,ExamquestionEntity examquestion, HttpServletRequest request){ EntityWrapper<ExamquestionEntity> ew = new EntityWrapper<ExamquestionEntity>(); PageUtils page = examquestionService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, examquestion), params), params)); return R.ok().put("data", page); } / 前端列表 / @IgnoreAuth @RequestMapping("/list") public R list(@RequestParam Map<String, Object> params,ExamquestionEntity examquestion, HttpServletRequest request){ EntityWrapper<ExamquestionEntity> ew = new EntityWrapper<ExamquestionEntity>(); PageUtils page = examquestionService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, examquestion), params), params)); return R.ok().put("data", page); } / 列表 / @RequestMapping("/lists") public R list( ExamquestionEntity examquestion){ EntityWrapper<ExamquestionEntity> ew = new EntityWrapper<ExamquestionEntity>(); ew.allEq(MPUtil.allEQMapPre( examquestion, "examquestion")); return R.ok().put("data", examquestionService.selectListView(ew)); } / 查询 / @RequestMapping("/query") public R query(ExamquestionEntity examquestion){ EntityWrapper< ExamquestionEntity> ew = new EntityWrapper< ExamquestionEntity>(); ew.allEq(MPUtil.allEQMapPre( examquestion, "examquestion")); ExamquestionView examquestionView = examquestionService.selectView(ew); return R.ok("查询试题表成功").put("data", examquestionView); } / 后端详情 / @RequestMapping("/info/{id}") public R info(@PathVariable("id") Long id){ ExamquestionEntity examquestion = examquestionService.selectById(id); return R.ok().put("data", examquestion); } / 前端详情 / @IgnoreAuth @RequestMapping("/detail/{id}") public R detail(@PathVariable("id") Long id){ ExamquestionEntity examquestion = examquestionService.selectById(id); return R.ok().put("data", examquestion); } / 后端保存 / @RequestMapping("/save") public R save(@RequestBody ExamquestionEntity examquestion, HttpServletRequest request){ examquestion.setId(new Date().getTime()+new Double(Math.floor(Math.random()1000)).longValue()); //ValidatorUtils.validateEntity(examquestion); examquestionService.insert(examquestion); return R.ok(); } / 前端保存 / @RequestMapping("/add") public R add(@RequestBody ExamquestionEntity examquestion, HttpServletRequest request){ examquestion.setId(new Date().getTime()+new Double(Math.floor(Math.random()1000)).longValue()); //ValidatorUtils.validateEntity(examquestion); examquestionService.insert(examquestion); return R.ok(); } / 修改 / @RequestMapping("/update") public R update(@RequestBody ExamquestionEntity examquestion, HttpServletRequest request){ //ValidatorUtils.validateEntity(examquestion); examquestionService.updateById(examquestion);//全部更新 return R.ok(); } / 删除 / @RequestMapping("/delete") public R delete(@RequestBody Long[] ids){ examquestionService.deleteBatchIds(Arrays.asList(ids)); return R.ok(); } / 提醒接口 / @RequestMapping("/remind/{columnName}/{type}") public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request, @PathVariable("type") String type,@RequestParam Map<String, Object> map) { map.put("column", columnName); map.put("type", type); if(type.equals("2")) { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); Calendar c = Calendar.getInstance(); Date remindStartDate = null; Date remindEndDate = null; if(map.get("remindstart")!=null) { Integer remindStart = Integer.parseInt(map.get("remindstart").toString()); c.setTime(new Date()); c.add(Calendar.DAY_OF_MONTH,remindStart); remindStartDate = c.getTime(); map.put("remindstart", sdf.format(remindStartDate)); } if(map.get("remindend")!=null) { Integer remindEnd = Integer.parseInt(map.get("remindend").toString()); c.setTime(new Date()); c.add(Calendar.DAY_OF_MONTH,remindEnd); remindEndDate = c.getTime(); map.put("remindend", sdf.format(remindEndDate)); } } Wrapper<ExamquestionEntity> wrapper = new EntityWrapper<ExamquestionEntity>(); if(map.get("remindstart")!=null) { wrapper.ge(columnName, map.get("remindstart")); } if(map.get("remindend")!=null) { wrapper.le(columnName, map.get("remindend")); } int count = examquestionService.selectCount(wrapper); return R.ok().put("count", count); }}
结论
通过完成该在线考试系统和本论文的撰写让我更加明白了软件开发过程中软件工程思想的重要性。在项目的前期由于对需求分析做的不够谨慎和明确,导致了后面在设计甚至编码时候造成了许多不必要的麻烦。由此在今后的学习和工作开发之中必须要牢牢把握住软件工程的设计思想和方法,这样可以进一步保证项目开发的健壮性和准确性。 本网站所实现的是一个在线考试系统,该系统严格按照需求分析制作相关模块,并利用所学知识尽力完成,但是本人由于学识浅薄,无法真正做到让该程序可以投入市场使用,仅仅简单实现部分功能,希望日后还能改善。