JSP3006SMART系統(tǒng)-考試監(jiān)控及閱卷模塊的設(shè)計(jì)與開發(fā)2_第1頁
JSP3006SMART系統(tǒng)-考試監(jiān)控及閱卷模塊的設(shè)計(jì)與開發(fā)2_第2頁
JSP3006SMART系統(tǒng)-考試監(jiān)控及閱卷模塊的設(shè)計(jì)與開發(fā)2_第3頁
JSP3006SMART系統(tǒng)-考試監(jiān)控及閱卷模塊的設(shè)計(jì)與開發(fā)2_第4頁
JSP3006SMART系統(tǒng)-考試監(jiān)控及閱卷模塊的設(shè)計(jì)與開發(fā)2_第5頁
已閱讀5頁,還剩4頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、SMART系統(tǒng)考試監(jiān)控及閱卷模塊的設(shè)計(jì)與開發(fā)摘 要Smart在線考試評(píng)估系統(tǒng)(簡(jiǎn)稱“SMART系統(tǒng)”),是基于Browser/Server(簡(jiǎn)稱B/S)結(jié)構(gòu)的數(shù)據(jù)庫訪問模式,采用Struts + Spring + Hibernate作為平臺(tái)搭建的框架開發(fā)的一套新型智能的遠(yuǎn)程教育軟件。主要用于各中小學(xué)的學(xué)生考試和教學(xué)評(píng)估。本論文設(shè)計(jì)作為Smart項(xiàng)目的一個(gè)組成部分,主要實(shí)現(xiàn)了考試過程監(jiān)控和客觀題的自動(dòng)閱卷功能。論文首先介紹了設(shè)計(jì)中所涉及到的項(xiàng)目背景、開發(fā)技術(shù),并構(gòu)建了系統(tǒng)的總體框架;其次根據(jù)中小學(xué)的實(shí)際情況和遠(yuǎn)程教育軟件項(xiàng)目的需求,詳細(xì)地進(jìn)行了數(shù)據(jù)庫設(shè)計(jì)和系統(tǒng)功能模塊設(shè)計(jì),制定了各功能模塊的流程

2、圖;然后采用JAVA編程語言對(duì)本論文的設(shè)計(jì)任務(wù)進(jìn)行編碼,并最終實(shí)現(xiàn)了對(duì)考試過程的監(jiān)控和對(duì)客觀題的自動(dòng)閱卷等功能。通過本模塊的應(yīng)用,可以滿足SMART系統(tǒng)的在線考試部分需求,對(duì)SMART系統(tǒng)的應(yīng)用和發(fā)展起到一定的促進(jìn)作用。關(guān)鍵詞:Hibernate;在線考試;考試監(jiān)控;閱卷The SMART SystemDesign and Implementation The Module of The Examination Controls and Paper InspectionAbstractSmart online examination and evaluation system, as SMAR

3、T System for short; is a kind of the intelligent long-distance education software which is developed by the framework of the Struts + Spring + Hibernate. This system will be used mainly in the middle and primary schools for examination and evaluation. As the part of the system, it has mainly realize

4、d some functions, controlling the course of examination and looking over the papers automatically. First, the thesis introduces the background of the project and the technology that involved in the project, and the construction of the developing platform by according to the actual conditions of the

5、elementary school and middle school. Second, according to the actual conditions of the middle schools and primary schools and the demand of the long-distance education software project, the thesis describes the designation of the database and the module of systematic function in details, and then ma

6、kes the flow diagram of every function module; and then based upon JAVA language to program. At last the system provides the function of the examination controls and the automatic objective questions inspection. By this module applying, it may satisfy the Smart system demand, and promote the Smart s

7、ystem development.Key words: Hibernate; online examination; examination controls; paper inspection目 錄論文總頁數(shù):23頁1引言11.1課題背景11.2課題目的11.3課題意義12系統(tǒng)總體設(shè)計(jì)12.1系統(tǒng)構(gòu)架及其相關(guān)技術(shù)介紹12.2開發(fā)環(huán)境及相關(guān)技術(shù)介紹53系統(tǒng)需求分析73.1考試監(jiān)控模塊需求分析73.2閱卷模塊需求分析84系統(tǒng)數(shù)據(jù)庫設(shè)計(jì)84.1考試監(jiān)控模塊數(shù)據(jù)庫設(shè)計(jì)84.2閱卷模塊數(shù)據(jù)庫設(shè)計(jì)105系統(tǒng)功能設(shè)計(jì)及實(shí)現(xiàn)115.1考試監(jiān)控模塊設(shè)計(jì)及實(shí)現(xiàn)115.2閱卷模塊設(shè)計(jì)及實(shí)現(xiàn)176系統(tǒng)測(cè)試19結(jié)

8、論20參考文獻(xiàn)21致 謝22聲 明231.1 考試監(jiān)控模塊設(shè)計(jì)及實(shí)現(xiàn)考試監(jiān)控模塊的設(shè)計(jì),是指對(duì)整個(gè)考試過程及考試過程中發(fā)生的一些事件進(jìn)行監(jiān)視和控制??傮w流程如下:1. 學(xué)生在點(diǎn)擊參加考試后,通過對(duì)學(xué)生所在的班級(jí)NO的判斷,查找出所有該班有權(quán)限參加的考試,再通過發(fā)卷時(shí)間與服務(wù)器當(dāng)前時(shí)間的比對(duì),在頁面上顯示出符合該生的考試信息。圖5-1學(xué)生考試信息圖2. 學(xué)生通過點(diǎn)擊對(duì)應(yīng)的考試進(jìn)入考試界面(此時(shí)將學(xué)生的信息,如姓名、學(xué)號(hào)、登陸時(shí)間、登陸IP等寫入監(jiān)控表),進(jìn)行答題。圖5-2學(xué)生考試答題圖圖5-5用戶監(jiān)控端班級(jí)列表圖監(jiān)考老師可以實(shí)時(shí)獲得各個(gè)學(xué)生的考試狀態(tài)。也可以對(duì)某個(gè)或多個(gè)學(xué)生進(jìn)行對(duì)應(yīng)的考試操作,如

9、讓他們重新考試或者是結(jié)束考試等。圖5-6用戶監(jiān)控端監(jiān)控頁面圖用戶監(jiān)控端改變考試狀態(tài)流程圖:圖5-7用戶監(jiān)控端改變考試狀態(tài)流程圖用戶考試端獲取考試狀態(tài)流程圖:圖5-8用戶考試端獲取考試狀態(tài)流程圖具體實(shí)現(xiàn)方法:/創(chuàng)建XMLHttpRequest類var xmlHttp; function createXMLHttpRequestObject() if(window.ActiveXObject) xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); else if(window.XMLHttpRequest) xmlHttp=new XM

10、LHttpRequest(); /向服務(wù)器發(fā)送請(qǐng)求function startRequest(url,functionName)/url為要執(zhí)行的在action中的更新方法var url = "<%=request.getContextPath()%>/examPageAction.do?action=update"createXMLHttpRequestObject();/發(fā)送請(qǐng)求后的回調(diào)函數(shù)/ getExamState為我要調(diào)用的javascript函數(shù)名(主要實(shí)現(xiàn)對(duì)各種狀態(tài)的處理)xmlHttp.onreadystatechange=getExamStat

11、e;xmlHttp.open("GET",url,true);/發(fā)送請(qǐng)求并異步執(zhí)行xmlHttp.send(null);/實(shí)現(xiàn)的javascript代碼function getExamState() if (xmlHttp.readyState = 4 && xmlHttp.status = 200) /取得考試狀態(tài)var examState = xmlHttp.responseXML.getElementsByTagName("examState");var state = examState0.firstChild.nodeValue;/對(duì)不同的狀態(tài)進(jìn)行不同的操作if(state = 'kaoshizhong') if(state = 'kaoshihou') if(state = 'kaoshiqian') /定時(shí)調(diào)用該函數(shù),時(shí)間單位為毫秒window.setInterval("startRequest()", 10000);如老師禁止學(xué)生考試,則在學(xué)生考試端顯示相關(guān)的信息。學(xué)生確認(rèn)消息后則自動(dòng)退出當(dāng)前考試。圖5-9用戶考試端 狀態(tài)被改變后的答題頁面1.2 閱卷模塊設(shè)計(jì)及實(shí)現(xiàn)在學(xué)生主動(dòng)提交

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論