【正文】
四川理工學(xué)院畢業(yè)設(shè)計(jì)(論文) 基于 web 的網(wǎng)絡(luò)考試系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 學(xué) 生:張井源 學(xué) 號(hào): 08101030422 專 業(yè):網(wǎng)絡(luò)工程 班 級(jí): 20204 指導(dǎo)教師:趙攀 四川理工學(xué)院計(jì)算機(jī)學(xué)院 二〇一二年六月 I 基于 web的網(wǎng)絡(luò)考試系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 摘 要 利用網(wǎng)絡(luò)和數(shù)據(jù)庫技術(shù),結(jié)合目前硬件價(jià)格普遍下跌與寬帶網(wǎng)大力建設(shè)的有利優(yōu)勢(shì),我們基于 B/S模式研究開發(fā)了試題庫與在線考試系統(tǒng)這一 ASP應(yīng)用程序,基 于 web 的網(wǎng)絡(luò)考試系統(tǒng)。它的運(yùn)用方便、操作簡單,效率很高,現(xiàn)階段雖只實(shí)現(xiàn)了試卷的客觀題部分以及簡單的主觀題型,但已具有試題(卷)錄入、修改和查詢,以及進(jìn)行在線考試等重要功能,也就是說實(shí)現(xiàn)了真正的無紙化考試,滿足任何授權(quán)的考生隨時(shí)隨地考試并迅速獲得成績,并給出其詳細(xì)的成績分析與試卷評(píng)估, 前臺(tái)主要用于考生注冊(cè)和登錄系統(tǒng)、在線考試、查詢成績以及修改個(gè)人資料等;后臺(tái)主要用于管理員對(duì)考生信息、課程信息、考題信息和考生成績信息、智能出卷等進(jìn)行管理。本系統(tǒng)的實(shí)現(xiàn)有利于提高網(wǎng)絡(luò)教學(xué)的質(zhì)量同時(shí)大大拓展了考試的靈活性,閱卷效率 ,以及保證了考試的公平性、答案的安全性 。 關(guān)鍵詞: 考試系統(tǒng); B/S模式;網(wǎng)絡(luò); ASP應(yīng)用 II Design and Implementation of Examination System Based on Web ABSTRACT By use of the technology of Web and database, and with the current advantage that the price of hardware is lower and the Wide Band is more popular, we’ve developed a this ASP application program for examination questions database and online exam system ,which is a web exam system based on B/S mode. This application is very simple, convenient and efficiency. On this stage, although it only include objective questions and some subjective questions, but it already has these important functions including question input, modify, query and online exam. It means that we can realize the real offpaper exam. Any qualified student can take part in the exam in any time on anywhere and get their marks immediately. It also can make detailed analysis and evaluation for each student. The front window mainly used for registration, log in, online exam, mark query and modify private information. The background mainly used by administrator to manage students’ information, course information, exam questions information, student marks information and intelligent questions. This system can improve the online teaching quality, the exam flexibility and review efficiency. This system also can guarantee fair exam and safety answer . Keywords: Examination system。 B / S mode。 work。 ASP application III 目錄 第 1 章 引言 ......................................................... 1 基本介紹 ..................................................... 1 運(yùn)行環(huán)境與系統(tǒng)結(jié)構(gòu) ........................................... 2 系統(tǒng)特點(diǎn) ..................................................... 2 一個(gè)完整的網(wǎng)絡(luò)考試系統(tǒng)項(xiàng)目分析 ............................... 3 第 2 章 ASP 技術(shù)介紹 ................................................. 5 第 3 章 需求分析 ..................................................... 9 問題定義 ..................................................... 9 系統(tǒng)目標(biāo) ..................................................... 9 可行性分析 ................................................... 9 傳統(tǒng)的數(shù)據(jù)庫應(yīng)用程序的分層結(jié)構(gòu) .......................... 9 現(xiàn)有的數(shù)據(jù)庫應(yīng)用程序的分層結(jié)構(gòu) ......................... 11 本系統(tǒng)的方案選擇 ............................................ 12 第 4 章 系統(tǒng)詳細(xì)設(shè)計(jì) ................................................ 13 系統(tǒng)結(jié)構(gòu) .................................................... 13 開發(fā)工具 .................................................... 13 數(shù)據(jù)流程圖 .................................................. 14 數(shù)據(jù)字典 .................................................... 15 第 5 章 數(shù)據(jù)庫 ...................................................... 16 數(shù)據(jù)庫需求分析 .............................................. 16 數(shù)據(jù)庫中的表結(jié)構(gòu)及數(shù)據(jù) ...................................... 16 管理表( admin) ........................................ 17 學(xué)生信息表( student) .................................. 17 試題類型信息表( type) ................................. 18 學(xué)生成績表( score) .................................... 18 專業(yè)信息表 (Special).................................... 18 專業(yè)科目基本信息表( Subject) .......................... 19 專業(yè)班級(jí)基本信息表( class) ............................ 19 第 6 章 程序設(shè)計(jì)與實(shí)現(xiàn) .............................................. 20 系統(tǒng)功能模塊 ................................................ 20 IV 考試登陸模塊設(shè)計(jì) ....................................... 20 考試界面設(shè)計(jì) ........................................... 21 后臺(tái)管理設(shè)計(jì) ........................................... 21 成績查詢?cè)O(shè)計(jì) ........................................... 21 系統(tǒng)測(cè)試 .................................................... 22 管理員登陸測(cè)試 ......................................... 22 學(xué)生登陸測(cè)試 ........................................... 23 考試頁面測(cè)試 ........................................... 24 管理員后臺(tái)功能測(cè)試 ..................................... 24 學(xué)科管理頁面測(cè)試 ....................................... 24 班級(jí)管理測(cè)試 ........................................... 25 添加試卷測(cè)試 ........................................... 25 總結(jié) ............................................................... 26 致謝 ............................................................... 27 參考文獻(xiàn) ........................................................... 28 附 錄 ............................................................. 30 附錄 A: 主要代碼程序 ............................................... 30 附錄 B: 系統(tǒng)使用說明書 ............................................. 34 四川理工學(xué)院畢業(yè)設(shè)計(jì)(論文) 1 第 1 章 引言 現(xiàn)階段,學(xué)校與社會(huì)上的各種考試大都采用傳統(tǒng)的考試方式,在此方式下,組織一次考試至少要經(jīng)過五個(gè)步驟,即人工出卷、考生考試、人工閱卷、成績?cè)u(píng)估和試卷分析。顯然,隨著考試類型的不斷增加及考試要求的不斷提高,教師的工作量將會(huì)越來越大,并且其工作將是一件十分煩瑣和非常容易出錯(cuò)的事情,可以說傳統(tǒng)的考試方式已經(jīng)不能適應(yīng)現(xiàn)代考試的需要。隨著計(jì)算機(jī)應(yīng)用的迅猛發(fā)展, 網(wǎng)絡(luò)應(yīng)用不斷擴(kuò)大,如遠(yuǎn)程教育和虛擬教學(xué)的出現(xiàn)等等,且這些應(yīng)用正逐步深入到千家萬戶。人們迫切要求利用這些技術(shù)來進(jìn)行在線考試,以減輕教師的工作負(fù)擔(dān)及提高工作效率,與此同時(shí)也提高了考試的質(zhì)量,從而使考試更趨于公證!客觀!更加激發(fā)學(xué)生的學(xué)習(xí)興趣。例如目前許多國際著名的計(jì)算機(jī)公司所舉辦的各種認(rèn)證考試絕大部分采用這種方式。為了適應(yīng)新形勢(shì)的發(fā)展,我們推出了這一系統(tǒng),使其盡快在各類考試中發(fā)揮高效、便捷的作用 ,把老師從繁重的工作中解脫出來。 基本介紹 基于 web 在線考試系統(tǒng)采用 ASP、 HTML、 Dreamweaver CS Photoshop 、Javascript、 VBScript、 Java 編程語言、圖形編輯與數(shù)據(jù)庫等工具,通過基于WEB 服務(wù)器訪問純 WEB 頁面,實(shí)現(xiàn)在線出卷與考試等各項(xiàng)相關(guān)的功能。