當前位置:文思屋>學習教育>畢業論文>

jsp考試系統JSP+TOMCAT+SQL

文思屋 人氣:1.41W
畢業論文

基於WEB的考試管理系統
 
摘  要:系統基於Browser/Server模式開發,應用DreamweaverMX軟體,結合JSP程式設計技術,並以 Microsoft SQL server2000為資料庫開發工具,在Windows xp系統中使用JDBC驅動程式進行資料庫連線。
     論文主要闡述的是考試管理系統的操作過程及1些關鍵技術。該系統考生和管理員資訊主要在管理員系統中輸入,不需資料庫直接輸入,考試時考生輸入准考證號碼,核對正確後進入考生介面,考生介面主要有選擇試卷、成績查詢組成,關鍵實現了考生在選擇試卷後進入考試窗體,系統強制考生退出,及考完後對客觀題的自動評分、存檔。管理員進入管理員系統介面,管理員系統主要由系統管理、考生管理、題庫管理、監控等模組組成,管理員系統和考試系統共同構成了該考試管理系統。
關鍵詞:JSP ;Browser/Server模式;題庫管理;考試。

 

Examination Administrative System on the Basis of WEB
 
Abstract: This system is based on Browser/Server mode development , employ DreamweaverMX software, combine JSP programming technology, regard Microsoft SQL server 2000 as the database developing instrument, use JDBC driver to join the database in Windows XP system.
What the thesis is mainly explained is procedure of the administrative system of an examination and some key technology. System this examinee and administrator information input of the system in administrator mainly, not needing the direct input of database , the examinee inputs the number of admission card for entrance examination when having an examination, enter examinee interface after check correct, examinee boundary plane mainly choose the paper , achievement to inquire about and make up, the key has realized examinees and entered and had an examination body of window behind choosing the paper, the system forces examinees to withdraw, and grading , filing automatically to objective question after finishing doing in the test. Administrator enter administrator systematic interface , administrator system mainly by system management, examinee manage, exam pool manage, module of controlling etc. make up, administrator system and examination system form, should have an examination administrative system together.
Key words: JSP; Browser/Server mode; Question bank management;Exam。

 


目  錄

摘要
前  言 1
1 概 述 2
1.1 選題背景 2
1.2 JSP技術介紹 2
1.2.1 JSP的執行原理 2
1.2.2 JSP的生命週期 3
1.2.3 Servlet和JavaBean技術介紹 4
1.2.4 ASP、PHP及JSP3種技術比較 5
1.2.5 JAVA 虛擬機器 5
1.2.6 伺服器環境配置 5
1.3 資料庫後臺環境配置 8
2 系統需求分析 9
2.1 系統功能分析 9
2.2 系統性能分析 9
2.3系統方案的確定和評價 9
3 系統總體設計 11
3.1 系統層次模組圖 11
3.1.1 系統管理模組 11
3.1.2 考生管理模組 11
3.1.3 題庫管理模組 12
3.1.4 監控模組 12
3.1.5 考試模組 12
3.2 系統流程圖 13
3.3 資料表設計 13
4 詳細設計及編碼 18
4.1 系統管理模組 18
4.1.1 管理員登入 18
4.1.2 更改密碼 19
4.1.3 高階管理 20
4.1.4 新增資源 21
4.1.5 新增管理員 24
4.1.6 刪除管理員 26
4.1.7 審批試卷 26
4.2考生管理模組 27
4.2.1 考生註冊 27
4.2.2 考生資訊查詢 29
4.3 題庫管理模組 32
4.3.1 基本屬性設定 32
4.3.2 自定義試卷 33
4.3.3 隨機生成試卷 34
4.4 監控模組 35
4.4.1 控制考試 35
4.4.2 監控中心 36
4.5考試功能模組 36
4.5.1 考生登入 36
4.5.2 選擇試卷 36
5 系統開發關鍵技術 40
5.1 主要程式實現的程式碼描述 40
5.1.1 提醒分類程式的主要程式碼描述 40
6 結束語 42
參考文獻 43
致  謝 44

前  言
在網路技術逐漸滲入社會生活各個層面的今天,傳統的.考試方式也面臨著變革,而網路考試則是1個很重要的方向。基於Web技術的網路考試管理系統可以藉助於遍佈全球的Internet進行,因此考試既可以在本地進行,也可以在異地進行,大大拓展了考試的靈活性。
網路考試管理系統的實現技術有多種,本文采用Web 技術實現。Web技術超越了傳統的“客戶機/伺服器”兩層結構,採用了3層體系結構:使用者介面層/事務層/資料庫層。因此Web結構有著更好的安全性。在使用者機上不需要安裝任何應用程式,應用程式可以安裝在事務層所在的計算機上,試題存放在資料庫伺服器上(事務層和資料庫可以是同1臺機器)。
伺服器端程式的實現技術也很多,本文選用了當前比較流行的網路程式設計技術——JSP作為主要實現手段(配合Java Servlet、Java Bean、HTML等)。JSP作為1種Web實現技術,它的效率是高的。這1點正好符合了考試管理系統所要求的實時性。JSP自身的安全性,再加上實現模式的特點,完全能夠達到考試的保密性要求,保證了考試的公平性原則。除此之外,作為Java平臺的1部分,JSP擁有Java語言“1次編寫,各處執行”的特點。又隨著越來越多的伺服器供應商將JSP支援新增到他們的產品中,這樣1來用JSP做成的這套系統可以輕鬆移植到其它平臺來執行。

jsp考試系統JSP+TOMCAT+SQL

TAGS:系統 jsp 考試