




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
一、选题的依据和意人工阅卷、成绩评估和试卷分析。教师的工作量将会越来越大,并且其工作将是一件十分烦琐和非常轻易出错的事情,明显的传统的考试方式已经不能适应现试的需要。随着计算机应用的迅猛发展,应用不断扩大,如教学和虚拟大学的出现等等,且这些应用正逐步深入到千家万户。人们迫切要求利用这些技术来进行等级考试,以减轻教师的工作负担及提高工作效率,与此同时也提高了考试的质量,从而使考试更趋于、客观,更加激发学生的学习例如目前许多国际闻名的计算机公司所举办的各种认证考试绝大部分采用这种方式、成题库就可以实现考试的自动化。这样一来,教师所要做的只是精心设计题目题、:PC:二、国内外研究现状及发展趋势(含文献综述20世纪70年代,考试着手进行计算机的研究工作,并于1983年编制出有效的系统,当时的名称是计算机辅试系统。1990年8月,加利福尼亚得克亚斯等十个州创建各州以及各高等院校相互认可的以及相应的教学体国内外计算机考试系统的我们发现他们具有以下特点(1C/S结构和B/S结构并存,(3)(4三、本课题研究内删阅改四、课题研究方需求分析需求、分析清楚,从逻辑上或从功能需求上提出系统的方案。利用表单来对信息进行管理、数据处理、信息查询、等操作。XP(SQL五、研究目标、主要特色及工作进MyEclipse开发之主 Java语言程序设计.[M].:科学主编Java数据库系统项目开发实践.[M].-科学.,,主编数据库原理及应用.[M].-人民邮电.- UML面向对象设计与分析.[M]. 学.[2007]-许家珆主 软件工程――方法与实践.[M].-电子工业.,,邹丰义主编 ,主 施伯乐,,主编数据库系统(第三版).[M]高校教育主编现代软件工程.[M],交通大学嘉主编UML系统建模与分析设计.[M]机械工业:,,主编Java课程设计案例精编: Java数据库高级编程宝典.[M]:电子工业,主 ,,主编Java项目设计与开发范例.[M]:电子工美)JohnW.Satzinger,(美)RobertB.Jackson,(美)StephenD.Burd著 系统分析与设计.[M]:电子工业.[2006]宜春学设计性申独立进行取得的研究成果。除了文中特别加以标注表或撰写的成果。对本文的研究贡献的个人和集体,均在文中以明确方式表明。本人完全本申明的,其由本人承担。作者签4、Java语言是健壮的。Java的强类型机制、异常处理、废料的自动收集等是Java程序健壮性的重要保证。对指针的丢弃是Java的明智选择。Java的安全检查机制使得Java更具健壮性。5、Java语言是安全的。Java通常被用在网络环境中,为此,Java提供了一个安全机制以防 代码的 。除了Java语言具有的许多安全特性以外,Java对通过网络 的类具有一个安全防范机制(类lassLoader),如分配不同的名字空间以防替代本地的同名类、字节代码检查,并提供安全管理机制(类SecurityManager)让Java应用设置安全哨兵。6、Java语言是体系结构中立的。Java程序(后缀为java的文件)Java台上被编译为体系结构中立的字节码格式(后缀为class的文件),然后可以在实现这个Java平台的任何系统中运行。这种途径适合于异构的网络环境和软件的分发。7、Java语言是可移植的。这种可移植性来源于体系结构中立性,另外,Java还严格规定了各个基本数据类型的长度。Java系统本身也具有很强的可移植性,Java编译器是用Java实现的,Java的运行环境是用ANSIC实现的。8、Java语言是解释型的。如前所述,Java程序在Java平台上被编译为字节码格式,然后可以在实现这个Java平台的任何系统中运行。在运行时,Java平台中Java解释器对这些字节码进行解释执行,执行过程中需要的类在联接阶段被载入到运行环境中。9、Java是高性能的。与那些解释型的高级语言相比,Java的确是高性能的。事实上,Java的运行速度随着JIT(Just-In-Time)编译器技术的发展越来越接近于C++。10、Java语言是多线程的。在Java语言中,线程是一种特殊的对象,它必须由Thread类或其子(孙)类来创建。通常有两种方法来创建线程:其一,使用型构为Thread(Runnable)的构造子将一个实现了Runnable接口的对象包装成一个线程,其二,从Thread类派生出子类并重写run方法,使用该子类创建的对象即为线程。值得注意的是Thread类已经实现了Runnable接口,因此,任何一个线程均有它的run方法,而run方法中包含了线程所要运行的代码。线程的活动由一组方法来控制。Java语言支持多个线程的同时执行,并提供多线程之间的同步机制(关键字为synchronized)。11、Java语言是动态的。Java语言的设计目标之一是适应于动态变化的环境。Java程序需要的类能够动态地被载入到运行环境,也可以通过网络来载入所需要的类。这也有利于软件的升级。另外,Java中的类有一个运行时刻的表示,能进行运行时刻的类型检查。Java语言的优良特性使得Java应用具有无比的健壮性和可靠性,这也减少了应用系统的费用。Java对对象技术的全面支持和Java平台内嵌的API能缩短应用系统的开发时间并降低成本。Java的编译一次,到处可运行的特性使得它能够提供一个随处可用的开放结构和在多平台之间传递信息的低成本方式。特别是Java企业应用编程接口(JavaEnterpriseAPIs)为企业计算及电子商务应用系统提供了有关技术和丰富的类库。数据库语言准,1987ISO标准,目前它广泛应用于数据库管理系统里。SQLSQL3SQL命SELECTSQLSQLCREATEALTERINSERTDELETEUPDATESQL从WHEREGROUPBYHAVINGGROUPBYORDERBYSQL运算SQLa.WHERE从句里,用于组合查询的条件。SQL语句中经常出现(1<(2>(3<=(4>=:(5)(6)(7)系统需求分功能性需根据考试系统的需要,要求系统具有以下功能管理以及的修改3-1所示:查添删查添删修在提 3-2修修考生信息管试题管管理登考考 用例(1)查查看考生信增加考生信考生信息管删除考生信查询考生分修查看试题信管理增加试题信试题信息管删除试题信 开发环MyEclipseSQLServer2000总体设输输考点击开始考点击提交试退登陆界考生页考试页分数显示页输入用户管理点击查看试题信点击查看考生信管理员页试题信息页考生信息页点击添加考生信点击删除考生信点击删除试题信添加考生信息页点击添加试题信点击修删除试题信息页输入试题删除考生信息页输入试题添加试题信息页输入试题主输入考生修改页输入试题选输入考生 输入考生输输入正确答点击删输入输入点击提点击提点击提点击删失败页成功页登陆失图4-1 (1)数据库设通过对系统功能的分析,考试系统需要包含以下数据库信息E-R模型表示。E-R4-21n管1n管nnn 系统全局E-RE-RE-R图。E-R4-3所示: 考生实体E—R tableuserIdchar(9)NOTNULL,userNamechar(20)NOTNULL,userPasswordchar(9)NOTNULL,userScorechar(3),E-R4-4管理员编管理员姓 管理员实体E—R管理员编管理员姓createtableadminIdchar(10)NOTNULL,adminNamechar(20)NOTNULL,adminPasswordchar(10)NOTNULL,PRIMARYKEY(adminID));E-R4-5试题选项试题选项试题选项试题选项 试题实体E—RcreatetabletitleIdchar(10)NOTNULL,titleMainchar(500)NOTNULL,titleachar(100)NOTNULL,titlebchar(100)NOTNULL,titlecchar(100)NOTNULL,titledchar(100)NOTNULL,titleAnswerchar(1)NOTNULL,PRIMARYKEY(titleId));详细设系统启动后,初始化完成从数据库中信息之后,显示主界面如下图5-1所示5-1登陆界面在登陆界面选择考生,输入正确的用户名和,即可看到考生须知,仔细阅读5-2所示:5-2在登录界面选择管理员,正确输入用户名和之后就可以进入到管理员界面,5-3所示:5-3UMLL发送登发送登陆申获取用户登陆信发送登陆信查询用户真实信返回用户真实信验证用户信返回验证信执行相应的处理流用户信用户管登陆界5-4登陆/测测考考5-5 管管理发送请获取与考生相关的属性信发送考生信查询相关属性的考生返回查询结发送操作结显示操作结返回操作结考生信添加考添加考生信添加考生页图5-7 在登陆页面中输入用户号和以及选择考生点击“登陆”按钮,图5- Stringsql="selecttop5*fromtitleorderby<%for(inti=2;i<=n-<optionstmt.executeUpdate(“updateuserasetuserScore=”+s+”whereuserId=”username);<%Stringl="jdbc:odbc:testdsn";}catch(java.lang.ClassNotFoundExceptionex){}Connectioncon=DriverManager.getConnection(l,"sa","admin");Statementstmt=con.createStatement();Stringsql="select*fromusera";ResultSetrs=stmt.executeQuery(sql);ResultSetMetaDatarsmd=rs.getMetaData();for(int<option}catch(SQLExceptionex1){5-9Stringsql="select*fromuserawhereuserId="+userid;dispatcher.forward(request,stmt.executeUpdate("insertintouseradispatcher.forward(request,}5-10删除考生页面Stringsql="select*fromuserawhereuserId="+userid;sql="deletefromuserawhereuserId="+userid;dispatcher.forward(request,dispatcher.forward(request,}查询考生分数:只需要到数据库中即可<%String
}catch(java.lang.ClassNotFoundExceptionex){} Statementstmt=con.createStatement();Stringsql="select*fromtitle";ResultSetrs=stmt.executeQuery(sql);ResultSetMetaDatarsmd=rs.getMetaData();for(int<option <%}catch(SQLExceptionex1){}图5- 添加试题页Stringsql="select*fromtitlewheretitleId="+titleid+"or图5-12 con=DriverManager.getConnection(l,"sa","admin");Stringsql="select*fromtitlewheretitleId="+titleid;sql="deletefromtitlewheretitleId="+titleid;dispatcher.forward(request,dispatcher.forward(request,response);}个 管
图5- 修改页con=DriverManager.getConnection(l,"sa",Stringsql="select*fromadminwhereadminPassword="+u1;stmt.executeUpdate("updateadminsetadminPassword="+u2+"whereadminPassword="+u1);dispatcher.forward(request,}
dispatcher.forward(request,总结与展成了以下任务:实现系统需求分析,明确了系统功能;详细设计系统功能。MyEclipseLserver2000经过一段时间的努力,在老师的悉心帮助下,我终于完成了该。通过考试系统!的老师传授给我的专业知识是我不断成长的源泉,也是完成本的基础。还要感谢![1]主 Java语言程序设计.[M].:科学[2]主编Java数据库系统项目开发实践.[M].-科学.[3],,主编数据库原理及应用.[M].-人民邮电.- UML面向对象设计与分析.[M]. 学.[2007]-[5]许家珆主 软件工程――方法与实践.[M].-电子工业.,[6],邹丰义主 ,[7]主 [8]施伯乐,,主编数据库系统(第三版).[M]高校教育[9]主编现代软件工程.[M],交通大学[10]嘉主编UML系统建模与分析设计.[M]机械工业:[11],,主编Java课程设计案例精编: Java数据库高级编程宝典.[M]:电子工业[13],主 [14],,主编Java项目设计与开发范例.[M]:电子工[15]美)JohnW.Satzinger,(美)RobertB.Jackson,(美)StephenD.Burd著 系统分析与设计.[M]:电子工业.[2006]
考试系统的设计与实1考试系统需求分2考试系统总体设根据需求分析,考试系统的结构如图1考题系考考当生库统生试前数信配登时试据息置陆间题管管管管控界理理理理制面图1考试系统结构鉴于题的性.目前无法实现系统自动判卷,所以本系统只作客观题部分。一通常,每一类型的试题都应有~即具有管理考生、试题以及试卷等内容的权力。它不需,在数据库有一个表来存放相主键不用修改,避免了造成系统中的数据,或者覆盖其它有用数据的现象。如果用执行了操作,则必须重新操作。管理员可以删除不再需要的试题3考试系统的具体实行考试,答完试题后交卷,进入下一个界面。考生提交答卷后,由计算机进行处理—判4能充分利用Intem~的资源。实现考试的的网络化.这对教学方法、教学的将起到OnlineExaminationSystemDesignandPresent,Avarietyofschoolsandthecommunitymostofthetraditionaltestexaminations,inthisway,theorganizationofatestatleastfivestepstogothroughthatmanualatitle,examcandidates,artificialgrading,performanceevaluationandysispapers.Clearly,asthetypeofexaminationandexaminationrequirementsofincreasingthecontinuousimprovementwillbeincreasingtheworkloadofteachersandtheirworkwillbeaverycumbersomeanderrorpronetodo.Canbesaidthatthetraditionaltestmethodscannotmeettheneedsofmodernexaminations.Withtherapiddevelopmentofcomputerapplications,webapplicationscontinuetoexpand,andtheseapplicationsaregraduallydeepintomillionsofhouseholds.Peopleurgentlyrequiretheuseofthesetoconductonlineexaminations,toreducetheworkloadofteachersandimproveworkefficiency,whilealsoimprovingthequalityoftheexamination,sothattendstobemorenotaryexam,objective,andmoretostimulatestudentsinterestinlearning.Theonlineexaminationsystemisdevelopedbasedonthisidea.onlineexaminationsystemneedsToimplementasoftwaresystemneedsysisshouldbeconductedfirst,socanthedesignofsoftwaretomeetuser'svariousfunctions.Herethedesignoftheonlineexaminationsystemneedsysis.First,becauseexaminationofsomespecificobject-oriented,socandidatesshouldbeauthenticatedintothesystem.Afterthecandidatesentertheexaminationsystem.Shouldbeabletochooseaccordingtotheirneedstestsubjects.Sothesystemshouldalsohavethechoiceoffunctionaltestsubjects.Web-basedonlineexamenvironment,papersshouldberandomlyselectedfromthedatabaseserverafterthedynamicallygeneratedquestions.Inaddition,thesystemshouldalsocontrolthetimeofexamination,Timewillrequirecandidatestocarryoutanassignment.Candidatesselectedtosubmittheanswer,youshouldautomaticallybyacomputergraders,getresultsoutaftertheshow.Aftertheexam,youcanreturntologinscreenorcontinuetotest.Inaddition,shouldbeabletoeasilyandfaston-lineexaminationsystemmanagement.Second,thesystemshouldhavethebasicfunctions:(1)candidatedatamanagement:Administratorscanaddordeletecandidate;(2)Testdataandinformationmanagement:sub-subjects,ontheradio,checkbox,todeterminethreekindsofTestBankQuestionsmanagement,thequestionsoftheadditionsanddeletions,editingeasier;(3)onlineexam:systemsofstrictcontrolovertheentireexaminationprocess,theimplementationofTimemonitoringandcontrolprivileges,candidatesneedtocarryoutanassignmentwithinthetimelimitofthetest;(4)computerautomatedscoring:Thesystemonlyconsidertheobjectivequestions,askthecomputertoautomaticallymarking,andthenimmediayshowingcandidatesscore.(5)resultsat:candidatesfinished,theadministratorshouldbeabletoqueryalltherecordsandshouldbeabletodeletethespecifiedrecords.Inadditiontoachievetheabovefunctions,theonlineexaminationsystemshouldalsohaveafriendly,simpleinterface,highersecurity,stability,strong,abletomeetpeopleonlinesimultaneouslyandcarryoutexaminations.OverallDesignofOnlineExaminationBasicThesystemisdesignedforcandidatesloggedin,participateinonlineexamquestionsandtheadministratortoinput,modify,delete,queryperformance,managetheuser'sASPapplication.ItshouldhaveOpenness,convenienceandflexibility.Administratorsnotonlytotheexamcaneasilyadd,modifyandqueryquestions,butcanalsoautomaticallyaddsubjectandestablishcorrespondingdata;Italsoallowstheuseraccordingtotheirneeds,selectthetestsubjects.Candidatesforeffectiveauthenticationlogin,selectthetestsubjectsandaskedtoanswerwithintheprescribedtime,whentherequiredtime,thesystemwillautomaticallybeprompted.Oncethecandidatesfinishtheexaminationpaperwillbeabletoimmediayseetheirpost-testscores,Andthescorewillberecordedforreviewinthestorageandaccess:other.Automaticallybyacomputercanbecompleyflexible,randomlyselectedtypesofquestionsinthetestdatabasecomposedofvariousformsofpaper,itscontentswillbewiththelibraryitemischanged,andthatquestionsgeneratedbythedifferentcandidatesaredifferent.SystemSystemConfigurationExamInformationCandidatesDataLoginDataManagementAccordingtoSystemConfigurationExamInformationCandidatesDataLoginDataManagementCurrentCurrentTestOnlineexaminationsystemtoentertheCandidatesloginExamtimeFigureExamtimeDetailedDetaileddesignoftheentiredesignprocess.Oneofthemostimportantsteps.Thefollowingsub-sectionsbelowthedetaileddesignofthesystem:(1)TestDesign(2)Thetableinthedatabasedesign(3)candidates,theadministratorrights(4)detaileddesignoffunctionmodules(5)onlineexamsystemtestblockdiagram.questionGiventhesubjectivityofsubjectivequestions.Gradersareunabletoachievethesystemautomatically,sothesystemonlyforsomeobjectivequestions.Undernormalcircumstances,ofteninthefourmultiplechoiceanswersfortheselectedA,B,C,D,choosetheonlycorrectanswer:Multiplechoiceisavailableforselectioninthemultiplechoiceanswers;anddeterminetheproblemisessentiallytoTherearetwooptionsfortheequivalentofmultiplechoice.Thus,thissysteminvolvedMultiplechoiceandmultiplechoicewithmuchthesamethepast,andassumethatmultiplechoiceisgenerallytoprovideuptofouralternativeanswers,atleastonestandardthedesignofthedatabaseTypically,eachtypeofitemshouldhave~atablestructure.Weuseallthequestionsputtogetherprogramstocreatedatatables,andeachitemareonatable,Eachhasfouralternativeanswerstoobjectivequestionsinadditiontodetermineextraneousitemsf),eachitemallhavequestions,alternativeanswersandotherdatastatesthatitsproperties.FieldnameisusuallythecorrespondingEnglishwords.Inthisway,checkitmoreconvenient,willsavetime,butalsonotresultinsuchdataisveryAdministratorInthissystem,canbeanumberofadministrators,thesystemadministrator.Theydonothavethepermissionofthegeneralcandidates,thecandidateswiththemanagement,examinationquestionsandexaminationpapersandsoonpower.ItNoregistration,atableinthedatabasetostoreinformationabouttheexistenceoftheadministratorcanaddordeleteadministrators.Administratorscanaddtotheexamandmeettherequirementsofvarioustypesofquestions,youcanalsomodifyanddeletethem.Atthesametime,administratorscansubjectcandidates,theexaminationrecordsandotherdatamanagement.TestFirst,selecttheitembelongstotheadministratoraccount.Iftheisnotthesubject,youcanaddone.Return,refreshthepagetoseethenewcoursename.Moreover,inthissystemneedtoselectthesubjectsofotherceswillbeautomaticallyupdated.Second,eachtypeoftestquestions,testcontentandoptionsandanswerothercolumns.Afteryoufinishenteringtheadministrator,youcanseethepreview.Iftheinputisnotvalid,orhasbeenthesubjectexaminnumberandcontentofthequestions,thesystemgivestheappropriatepromptorwarning,tobecorrected.Administratorscanalsomakechangestothequestions.However,theprimarykeyofthetabledonotchangeavoidtheconfusioncausedbythedatasystem,orotherusefuldatacoveringthephenomenon.Iftheuserhasperformedanillegaloperation,youmustre-operation.Administratorscandeletetheitemnolongerneeded.ThedesignoffunctionCandidatesLoginCandidatestoadddatatothedatabaseadministratorbeforetheycanlogin,becausethesystemisaimedatthedesignstudentswithinschools,soitissubjecttocertainrestrictionsontheuserinterfacetest.Afterclicking"OK"buttonwillfirstenterthe"Candidatesexamnotes,"thereminderscreen,backwardwhenthecandidatewhofinishedreadingonlineexaminationsystem.OnlineTestIntotheonlineexamisthemostimportantpartofthesystem.Becauseasystemifrelatedtoreality,itmustbeconsideredverygood,perfect.Candidateslogin,justselectthetestsubjectsafterthetestonlinetocalluppapers.Inordertoachievetheextractionofdynamicrandomrepeatquestions,topicselectionprocessneedstochooseonequestioneach.Inthetestdatabasewillsignaccordingly,soyouwillnotrepeatoutofthequestion.Paperscameoutontheitembankintoflagrecovery.Thiswillenableeachcandidate'spapersaredifferent.Candidatesanswerinformationthroughitssinglecheckbuttontoselecttheanswertoreflect.Self-examinationpaperandtheendoftheexaminationtotakethetimespecifiedcombinationofautomatictitledisymeanstobeawaytoachievesystem.Whenthecandidatelogininformationandmatchthedatainthedatabasecanentertheonlineexaminations.concreterealizationofonlineexaminationAftermakingtheoveralldesign.Tobegindetaileddesignandcoding.Thatis,sandorganizethemwiththerealizationofallorganicfunctions.Accordingtosystemdesign,thefirstsystemtohavealoginscreen.Inthelogininterface.Candidatescanlogontotakethetestfromtheinterface.Administratorscanlogintothemanagementinterface.Candidatesenterthecorrectusernameandpassword,thenenterthetestsubjectsshouldbeselectedinterface.Intheinterface,candidateschoosetotakethetestsubjects,thisin ctiveprocessisessential.Afterthetestsubjectstodeterminethecandidatestoenterthestarttestinterface,testquestionsbycomputerrandomextraction,showingofftoformpaper,andstarttiming.Candidatesexaminationagain,answeredthequestionsaftertheexaminationpaper,gotothenextscreen.Candidatestosubmitresponses,bythecomputerprocessing--graders,cometotestscores.Disyed.Andtokeepthestudentdatabaseofexamrecords.Inthisinterfaceshouldbeabletoreturntocontinuethetestorreturntotheloginscreen.Thesearethefunctionalpartoftheexaminationsystem.Tomanagethesystem,suchasdatamanagementquestions,candidatesdatamanagement,s
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 摄影工作室行业服务方案
- 农业科研院所2025年农产品无损检测技术创新路径研究
- 河北省衡水市安平县安平中学2025-2026学年高一上学期开学测试历史试卷
- 河北省面试真题及答案
- 数学篮球题目及答案
- 2025年山西省教师职称考试(语文)(小学)测试题及答案
- CN222977475U 一种锻钢固定球阀的注脂结构 (成都成高阀门股份有限公司)
- CN120218158A 用于从经修剪的神经网络中去除掩膜的技术(辉达公司)
- 2025年良肢位考试题及答案
- CN120107265B 一种基于图像处理的油石静压成型质量检测方法 (西安博尔新材料有限责任公司)
- 养老规划师理论知识考核试题及答案
- 《煤矿安全规程》2025
- 燃气综合考试题及答案
- 应急预案评估管理办法
- 2025年职业指导师(中级)专业能力职业指导实务试卷
- DNA检测实验室建设与运营优化方案
- 2025江苏苏州昆山国创投资集团有限公司第一期招聘17人笔试参考题库附带答案详解版
- 皮肤撕脱伤的护理
- 茶叶质量安全培训课件
- 以语文为翼筑高中生健康心理之基:高中语文教学中的心理健康教育探索
- 安全副总经理岗位职责
评论
0/150
提交评论