




已阅读5页,还剩33页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
北华航天工业学院毕业设计报告(论文)报告(论文)题目:车辆工程专业实习实训考核系统研发 作者所在系部: 机电工程学院 作者所在专业: 车辆工程专业 作者所在班级: B13142 作 者 姓 名 : 薛山 作 者 学 号 : 201322334 指导教师姓名: 何涛 完 成 时 间 : 2017年6月 摘 要无纸化考试系统是现代教育的重要标志,这样的考试让考试的结果更加的合理,更加的公正、公平。也让不必要的人力从中解脱出来,去完成其它的一些事情。学生通过计算机网络登入系统,实时提交解答。系统能保存结果,供教师披阅,并能自动根据条件对客观题进行判分,还能对分数进行统计、管理,协助教师找出教学中存在的问题,满足任何授权的考生随时随地考试并迅速获得成绩的需求,同时也大大减轻了教师出题、监考和判卷等繁重的工作量。对时间、地点以及考试规模都有很大的限制,而现在的大学里基本上的学生都人手一台电脑。可以进行大规模同时的考试,而且计算机可以方便的进行考试。关键字:考核系统 车辆工程 javaAbstractThe paperless exam system is an important symbol of modern education, which makes the results of the exam more reasonable, more just and fair. And let unnecessary people get out of it and do something else. Students log into the system via computer network and submit solutions in real time. System can save the results, for the teachers to peruse, and can automatically according to the condition to mark of objective questions, also can carry on the statistics of scores, management, help teachers find out the problems existing in the teaching, meet the examinee of any authorization and quickly obtain test demand, anytime and anywhere but also greatly reduce the teacher, supervision and checking questions such as the heavy workload.There are big restrictions on time, place, and the size of the exam, and the basic students in todays universities have a computer. There can be large and simultaneous exams, and computers can be easily tested.Keywords: exam system Vehicle-Engineering javaIII目 录摘 要IAbstractII目 录III第1章 绪论11.1 项目背景11.2 计算机考试系统发展及现状11.3 国内外发展现状11.4 系统开发的基本内容2第2章 系统分析32.1 系统功能概述32.2 权限与控制32.3 教师(管理员)登录模32.4 学生登录模块42.5 主题结构4第3章 系统实现63.1 类Student63.2 类Student173.3 类Answer83.4 系统生成文件93.5 主程序代码9总 结31致谢32参考文献33第1章 绪论1.1 项目背景无纸化考试系统是现代教育的重要标志,这样的考试让考试的结果更加的合理,更加的公正、公平。也让不必要的人力从中解脱出来,去完成其它的一些事情。学生通过计算机网络登入系统,实时提交解答。系统能保存结果,供教师披阅,并能自动根据条件对客观题进行判分,还能对分数进行统计、管理,协助教师找出教学中存在的问题,满足任何授权的考生随时随地考试并迅速获得成绩的需求,同时也大大减轻了教师出题、监考和判卷等繁重的工作。1.2 计算机考试系统发展及现状20世纪50年代,电子计算机和光电阅读机在大规模考试中的广泛运用促进了标准化考试的推广和普及。然而应当指出,这时的考试方法仍是传统的纸笔考试形式。到了2O世纪末,随着测试理论的完善、计算机的普及、多媒体技术的运用和经济的增长,测试界已清楚地看到单一的纸笔考试弊大于利。那么纸笔考试所暴露出来的问题该如何解决?标准化考试还要不要推行?于是专家们开始在测试的方法和手段上下工夫,国外的TOEFL如此,国内的CET亦然。这一变化竞来得如此之快,可以说是在向一个时代告别,即:计算机化考试时代的到来。1.3 国内外发展现状现在 国内外都有许多的计算机考试系统,而CAT(computerized Adaptive Testing,计算机自适应考试系统)是近年来测验研究中引人注目并取得了重大发展的领域。计算机化白适应测验(简称CAT)是在项目反应理论的基础上,建立题库,然后计算机根据被试的能力水平自动地选择测试题目,并对被试的所达到的能力的水平做出判断的一种全新的测验形式。所谓自适应测验它的基本思想是“因人施测”,使不同水平被试者都能接受一组跟自己特质水平相适应的试题。所谓“自适应”就是测验本身要自动地适应被试的具体情况,在被试作答过程中及时根据作答资料估出被试的可能水平,并针对这一水平迅速决策,从大型题库中调取难度恰当、性能优良的题目继续施测。直到施测的题目足够多,测验信息量累计和达到指定值为止。如今在美国,CAT已经在教育测验、职业测量、人事测评等领域中大显身手,如美国研究生入学考试(Graduate Record Examination)、工商管理类研究生入学考试(Graduate for Management and Administration Test)以及全美护士国家委员会资格考试(Nurse National Committee License Test)等都已采取了CAT的方式。在信息产业中,美国Novell公司于1991年成功的应用了CAT进行认证考试,使参加Novell自适应考试的人数超过1,000,000人次。在我国,已经出现一些应用型的研究,自行编制了一些CAT测验,并取得了实际的运用效果,上海电大在上海市计算机应用能力的考试项目“VB6.0程序设计”中已采用了CAT的考试设计方法。江西师大小学数学CAT研究、华南理工大的“数据结构”自适应测试系统的研究也取得了一定的成果。自上世纪九十年代初期开始,全国大学英语四、六级考试委员会一直致力于项目反应理论和“计算机自适应测验”的研究和开发。1.4 系统开发的基本内容 1、教师发布试卷和答案 2、学生读取教师发布的试卷填写答案 3、系统对照教师发布的答案和学生做题给出的答案进行对比,自动判定出学生的成绩第2章 系统分析2.1 系统功能概述 系统主要为两个模块教师(管理员)登录模块和学生登录模,教师登录模块有三个基本功能,并且每个功能有具体的子功能 学生登录模块有三个基本功能 1、查看同学个人信息 2、进入个人测试 3、退出系统2.2 权限与控制用户按照不同的角色进行分类,分为管理员(教师)(admin)、学生(student)两类,每个角色对应不同的权限。admin帐号为系统产生是存在。student帐号不能注册,必须由管理员进行录入,产生相应的帐号和密码在告诉学生。 Admin(teacher)主要职责管理和添加各种数据,查看学生的信息。 student主要职责是考试和查看自己的考试信息。2.3 教师(管理员)登录模(1)修改学员基本信息 1、展示学生信息 2、添加学生信息 3、修改学生信息 4、删除学生信息 5、退出系统 6、返回上一级 (2)设置学员登录信息 1、展示学员账号密码 2、添加学员账号密码 3、修改学员账号密码 4、删除学员账号密码 5、退出学员账号管理 6、返回上一级(3)操作考核信息 1、查看考试题库内容 2、重置考试试卷内容 3、查看学生考试成绩 4、返回上一级 5、退出系统2.4 学生登录模块 1、查看同学个人信息 2、进入个人测试 3、退出系统2.5 主题结构 图 2-1第3章 系统实现3.1 类Student public class Student private String id; private String name; private String age; private String home;public Student() super(); / TODO Auto-generated constructor stubpublic Student(String id, String name, String age, String home) super(); this.id = id; = name; this.age = age; this.home = home;public String getId() return id;public void setId(String id) this.id = id;public String getName() return name;public void setName(String name) = name;public String getAge() return age;public void setAge(String age) this.age = age;public String getHome() return home;public void setHome(String home) this.home = home; 3.2 类Student1public class Student1 private String account;private String password;public Student1() super();/ TODO Auto-generated constructor stubpublic Student1(String account, String password) super();this.account = account;this.password = password;public String getAccount() return account;public void setAcoount(String account) this.account = account;public String getPassword() return password;public void setPassword(String password) this.password = password;3.3 类Answerpublic class Answer private char answer;public Answer() super();/ TODO Auto-generated constructor stubpublic Answer(char answer) super();this.answer = answer;public char getAnswer() return answer;public void setAnswer(char answer) this.answer = answer; 3.4 系统生成文件 在D盘StudentSystem文件夹下 account.txt 存储学员账户信息 answer.txt 存储答案信息 paper.txt 存储试卷考试内容信息 student.txt 存储学生基本情况信息3.5 主程序代码 package KaoHeXiTong;/* * 数据源: * 1,学生信息D:StudentSystemstudent.txt * 2,账号信息D:StudentSystemaccount.txt * * * * */import java.io.BufferedReader;import java.io.BufferedWriter;import java.io.File;import java.io.FileNotFoundException;import java.io.FileReader;import java.io.FileWriter;import java.io.IOException;import java.util.ArrayList;import java.util.Random;import java.util.Scanner;import org.omg.Messaging.SyncScopeHelper;public class LX06LogOn学生登录系统 public static void main(String args) throws Exception System.out.println(-欢迎来到车辆工程专业考核系统-);ArrayList list1 = new ArrayList();ArrayList list = new ArrayList();ArrayList list2 = new ArrayList();rea(list1);readAnswer(list2);read(list);Scanner sc = new Scanner(System.in);System.out.println(请输入登录账号:);String account = sc.nextLine();System.out.println(请输入登录密码:);String password = sc.nextLine();int index = -1;for (int i = 0; i list1.size(); i+) if (list1.get(i).getAccount().equals(account) & list1.get(i).getPassword().equals(password) index = i;break;if (account.equals(薛山) & password.equals(201322334) System.out.println(欢迎管理员进入);read(list); else if (index != -1) System.out.println(欢迎学员进入);Scanner sc1 = new Scanner(System.in);int count = 0;while (true) System.out.println(=);System.out.println(请输入数字选取功能);System.out.println(1,查看同学个人信息);System.out.println(2,进入个人测试);System.out.println(3,退出系统);System.out.println(=);int num = sc1.nextInt();switch (num) case 1:showd(list);break;case 2:try readPaper(); catch (Exception e) / TODO: handle exceptiontry stuAnswer(list2,account); catch (Exception e) / TODO: handle exceptionbreak;case 3:System.out.println(欢迎下次登录);return;default:System.out.println(你的输入有误,请重新输入);/ showd(list);/查看学生基本信息/ stuAnswer(list2);/阅读试卷做题并自动返回做对了几道题 else System.out.println(您的密码错误);return;while (true) System.out.println(=);System.out.println(请输入数字选择操作);System.out.println(1,修改学员基本信息);System.out.println(2,设置学员登录信息);System.out.println(3,操作考核信息);System.out.println(4,退出系统);System.out.println(=);String chose = sc.next();switch (chose) case 1:System.out.println(修改学员基本信息);while (true) int a = 0;gongNengd();String num = sc.next();switch (num) case 1:showd(list);wrid(list);break;case 2:addd(list);wrid(list);break;case 3:updd(list);wrid(list);break;case 4:deld(list);wrid(list);break;case 5:System.out.println(欢迎下次使用,再见!);return;case 6:a = 1;break;default:System.out.println(您的输入有误);if (a = 1) break;break;case 2:while (true) gongNeng();String num = sc.next();int b = 0;switch (num) case 1:show(list1);wri(list1);break;case 2:add(list1);wri(list1);break;case 3:upd(list1);wri(list1);break;case 4:del(list1);wri(list1);break;case 5:System.out.println(已退出账号管理功能);return;case 6:b = 1;break;default:System.out.println(您的输入有误!请重新选择账号管理功能);if (b = 1) break;break;case 3:System.out.println(操作考试信息);while (true) System.out.println(=);System.out.println(请输入数字进行操作);System.out.println(1,查看考试题库内容);System.out.println(2,重置考试题库内容);System.out.println(3,查看学生考试成绩(有bug));/System.out.println(4,重置考试答案);System.out.println(4返回上一级);System.out.println(5退出系统);System.out.println(=);Scanner sc1 = new Scanner(System.in);int num = sc1.nextInt();int num1 = 0;switch (num) case 1:readtiku();break;case 2:writePaper();break;case 3:/showAnswer(list2);/writeAnswer(list2);readscore();break;/case 4:System.out.println(请输入试卷答案);/addAnswer(list2);/writeAnswer(list2);/break;case 4:num1 = -1;break;case 5:return;default:System.out.println(你的输入有误,请重新输入!);if (num1 = -1) break;break;case 4:System.out.println(欢迎下次再来);return;public static void rea(ArrayList list1) throws IOException / System.out.println(读取文件);if (!(new File(D:StudentSystemaccount.txt).exists() new File(D:StudentSystem).mkdirs();new File(D:StudentSystemaccount.txt).createNewFile();BufferedReader br = new BufferedReader(new FileReader(D:StudentSystemaccount.txt);String line;while (line = br.readLine() != null) String arr = line.split(tt);Student1 s = new Student1(arr0, arr1);list1.add(s);System.out.println(登录信息已读取);System.out.println(*);br.close();public static void wri(ArrayList list1) throws IOException System.out.println(写入文件);BufferedWriter bw = new BufferedWriter(new FileWriter(D:StudentSystemaccount.txt);for (int i = 0; i list1.size(); i+) Student1 s = list1.get(i);bw.write(s.getAccount() + tt + s.getPassword();bw.newLine();bw.close();public static void add(ArrayList list1) System.out.println(添加文件);Scanner sc = new Scanner(System.in);System.out.println(请输入账号);String account = sc.next();int index = -1;for (int i = 0; i list1.size(); i+) if (list1.get(i).getAccount().equals(account) index = i;break;if (index = -1) System.out.println(请输入密码);String password = sc.next();Student1 s = new Student1(account, password);list1.add(s); else System.out.println(请重新选择功能);public static void upd(ArrayList list1) System.out.println(更新文件);Scanner sc = new Scanner(System.in);System.out.println(请输入要修改的账号);String account = sc.next();int index = -1;for (int i = 0; i list1.size(); i+) if (list1.get(i).getAccount().equals(account) index = i;break;if (index = -1) System.out.println(该账号不存在); else System.out.println(请输入新密码);String password = sc.next();Student1 s = new Student1(account, password);list1.set(index, s);System.out.println(密码重置成功);public static void del(ArrayList list1) System.out.println(删除文件);Scanner sc = new Scanner(System.in);System.out.println(请输入需要删除的账号);String account = sc.next();int index = -1;for (int i = 0; i list1.size(); i+) if (list1.get(i).getAccount().equals(account) index = i;break;if (index = -1) System.out.println(没有这个账号,请重新选择功能); else list1.remove(index);System.out.println(删除成功);public static void show(ArrayList list1) System.out.println(展示文件);if (list1.size() = 0) System.out.println(学员账号为空); else for (int i = 0; i list1.size(); i+) Student1 s = list1.get(i);System.out.println(s.getAccount() + tt + s.getPassword();public static void gongNeng() System.out.println(=);System.out.println(1,展示学员账号密码);System.out.println(2,添加学员账号密码);System.out.println(3,修改学员账号密码);System.out.println(4,删除学员账号密码);System.out.println(5,退出学员账号管理);System.out.println(6,返回上一级);System.out.println(=);public static void read(ArrayList list) throws IOException System.out.println(学生信息已读取);if (!(new File(D:StudentSystemstudent.txt).exists() new File(D:StudentSystem).mkdirs();new File(D:StudentSystemstudent.txt).createNewFile();BufferedReader br = new BufferedReader(new FileReader(D:StudentSystemstudent.txt);String line;while (line = br.readLine() != null) String arr = line.split(tt);Student s = new Student(arr0, arr1, arr2, arr3);list.add(s);br.close();public static void showd(ArrayList list) System.out.println(展示);if (list.size() = 0) System.out.println(系统内学生信息为空); else System.out.println(学号tt姓名tt年龄tt住址);for (int i = 0; i list.size(); i+) Student s = new Student();s = list.get(i);System.out.println(s.getId() + tt + s.getName() + tt + s.getAge() + tt + s.getHome();public static void wrid(ArrayList list) throws IOException System.out.println(写入);BufferedWriter bw = new BufferedWriter(new FileWriter(D:StudentSystemstudent.txt);for (int i = 0; i list.size(); i+) Student s = new Student();s = list.get(i);StringBuilder sb = new StringBuilder();sb.append(s.getId().append(tt).append(s.getName().append(tt).append(s.getAge().append(tt).append(s.getHome();bw.write(sb.toString();bw.newLine();bw.close();public static void deld(ArrayList list) System.out.println(删除);Scanner sc = new Scanner(System.in);System.out.println(请输入需要删除的学号);String id = sc.next();int index = -1;for (int i = 0; i list.size(); i+) if (list.get(i).getId().equals(id) index = i;break;if (index = -1) System.out.println(系统没有该学生的信息,请重新选择功能); else list.remove(index);System.out.println(该学生信息移除完毕);public static void addd(ArrayList list) System.out.println(添加);Scanner sc = new Scanner(System.in);System.out.println(请输入学号);String id = sc.next();while (true) int index = -1;for (int i = 0; i list.size(); i+) if (list.get(i).getId().equals(id) index = i;break;if (index = -1) System.out.println(请输入姓名);String name = sc.next();System.out.println(请输入年龄);String age = sc.next();System.out.println(请输入住址);String home = sc.next();Student s = new Student(id, name, age, home);list.add(s);break; else System.out.println(您的输入重复,请重新输入);id = sc.next();public static void updd(ArrayList list) System.out.println(修改);Scanner sc = new Scanner(System.in);System.out.println(请收入需要修改的学号);String id = sc.next();int index = -1;for (int i = 0; i list.size(); i+) if (list.get(i).getId().equals(id) index = i;break
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年城市智能停车系统建设可行性研究报告
- 山东省名校联盟2025届高考质检试卷(二)语文试题及参考答案
- 2025年初级瑜伽教练考试指南与模拟题答案详解
- 2025年世界500强企业招聘面试题分析及预测趋势解读
- 东南西北课件教学素材
- 2025年中国建筑行业工程师职业资格认证考试模拟题及备考策略
- 2025年全球知名互联网公司面试题解析
- 英语教师在线听课心得体会
- 高校教学管理工作效率提升策略
- 传染病防治专项检查的策略及实施路径
- 多年生牧草加气地下滴灌技术规程
- 开学第一课课件七年级英语上册
- 《第1节 细胞是生命活动的基本单位》教学设计和导学案
- 天然气管网SCADA系统方案建议书
- 应急信息报送
- 2024-2029年中国网络流量分析软件行业市场现状供需分析及市场深度研究发展前景及规划战略投资分析研究报告
- 《医药电子商务》1-电子商务概述
- 《垃圾发电厂钠碱湿法烟气脱酸系统技术规程》
- 植物的生物节律与生物钟
- 人教版数学一年级上册全册教学课件
- 烹饪面点职业生涯规划书
评论
0/150
提交评论