摘要传统考试方式一直都是C/S结构,即客户机和服务器结构。随着互联网技术的飞速发展,C/S结构已经不足以满足用户的需求,基于B/S(浏览器/服务器)结构的在线考试系统随之出现。基于浏览器/服务器的在线考试系统日益成为越来越多高校及企业考试的首选。本文中的在线考试系统采用具有强大功能、灵活高效的MySQL架构和全B/S模式,它具有高度的可扩展性,使用在线考试系统时,被授权的考试用户不管在什么地方,只要可以上网使用浏览器,就可以通过网络登录该系统,参加在线练习、考试、单元测评等;该设计实现了按照各个科目随机抽题组卷、题库管理、系统管理、在线考试的功能,可以对客观题在线评分。用户登录成功后,首先需要阅读考试须知,然后选择需要的考试科目进入考试页面,并且完成相应科目考试,最后计算机会自动判卷显示成绩,大大提高了考试效率。在线考试系统的系统管理功能,初步实现了管理题库、管理考生信息、查询考试成绩、管理考试科目等功能。系统中的题库管理功能,初步实现了对试题的只能加、修改、删除、查询功能。服务器端的平台采用windows7系统,数据库平台采用MySQL,整个工程采用Struts&Hibernate架构设计。采用管理员,学生两级授权方式,使系统更安全更方便简洁。关键词:在线考试;B/S;J2EE-I-OnlineExaminationSystemBasedonB/SAbstractThetraditionalexaminationmethodhasalwaysbeenC/Sstructure,thatis,clientandserverstructure.WiththerapiddevelopmentofInternettechnology,C/Sstructureisnotenoughtomeettheneedsofusers,basedonB/S(browser/server)structureoftheonlineexaminationsystemfollowed.Internet-basedonlineexamsystembasedonbrowser/serverisincreasinglybecomingthefirstchoiceformoreandmorecollegesanduniversities.Theonlineexamsysteminthisarticleusesapowerful,efficientandflexibleMySQLarchitectureandfullB/Smode,withahighdegreeofscalability,authorizedtestusersnomatterwheretheyare,aslongasyoucanusethewebbrowser,youcanNetworkregistrationonlineexaminationsystem,toparticipateinonlineexaminations,onlinepractice,etc.;thedesigntoachievearandomsubjectbysubject,onlineexamination,thetitleofthelibrarymanagement,systemmanagementfunctions,totheobjectivetitleonlinerating.Aftertheuserlogsinsuccessfully,readtheexaminationnotes,thenselecttheexaminationsubjectstoentertheexaminationpage,completethecorrespondingsubjectexamination,thecomputerautomaticallysentencedtoshowtheresults,greatlyimprovingtheefficiencyoftheexamination.Systemmanagement,toachievetheexam,candidatesinformation,testscores,examinationsubjectsmanagement.Thequestionbankmanagement,toachievethequestionstoadd,edit,deletefunction.Server-sideplatformusingwindows7system,thedatabaseplatformusingMySQL,theentireprojectusingStruts&Hibernatearchitecturedesign.Theuseofadministrators,studentstwolevelsofauthorization,thesystemmoresecureandmoreconvenientandconcise.KeyWords:OnlineExam;B/S;J2EE-II--IV-目录摘要.........................................................................................................................................IAbstract......................................................................................................................................II1文献综述.................................................................................................................................11.1项目背景.......................................................................................................................11.1.1在线考试系统的背景.........................................................................................11.1.2在线考试系统的发展......................................