【正文】
關用例 無功能特性 系統(tǒng)的初始頁面,并對用戶的表單輸入進行合法性驗證。軟件測試的重要性我們都明白:系統(tǒng)的問題越早發(fā)現(xiàn),改正的成本越低,破壞性也越小,所以,在系統(tǒng)發(fā)布前,要盡量多地把系統(tǒng)的問題找出來,其手段就是有計劃、有組織地進行充分的測試。此應用程序可廣泛運行于國際互聯(lián)網(wǎng)即 Inter,也可適用于內部的局域網(wǎng)。圖 54 登錄頁面視圖 系統(tǒng)子模塊用戶注冊模塊如圖 55 所示圖 55 用戶注冊模塊圖用戶忘記密碼,找回密碼模塊如圖 56 所示圖 56 用戶忘記密碼,找回密碼模塊圖陜西理工學院畢業(yè)設計第 23 頁 共 42 頁 學生子系統(tǒng)模塊學生登錄成功后主要有以下 5 個功能模塊,生成試卷,開始考試,查看成績,查閱試卷 退出系統(tǒng)。 (主要代碼見附錄)。數(shù)據(jù)關系圖 [8]如下 412 所示圖 412 數(shù)據(jù)表關系圖陜西理工學院畢業(yè)設計第 20 頁 共 42 頁5 系統(tǒng)詳細設計 數(shù)據(jù)庫連接Java 通過 JDBC 連接 MySQL[9]數(shù)據(jù),步奏如下 ()方法加載驅動程序。最后點擊安全退出可以退出系統(tǒng)。 社會可行性本項目不涉及在社會上或政治上引起侵權、破壞或其他責任問題。 考生信息管理,定時收卷,驗證登錄. 2. 數(shù)據(jù)庫可并發(fā)訪問并具有較大的吞吐量. 3. 系統(tǒng)具有很好的可移植性、可擴展性和可重用性. 4. 系統(tǒng)反應速度較快,當客戶端與服務器斷開連接時候也能夠實現(xiàn)按時收卷. 5. 使用系統(tǒng)的每個用戶都必須有登陸密碼,具有較好的安全保密性.6. 系統(tǒng)界面具有一定的人性化 技術可行性在“在線考試系統(tǒng)”開發(fā)中,使用 Java 語言開發(fā)。最早支持 Servlet 標準的是 JavaSoft 的 Java Web Server。MySql 數(shù)據(jù)引擎是本企業(yè)數(shù)據(jù)管理解決方案的核心。 Sun 公司對 Java 編程語言的解釋是:Java 編程語言是個簡單、面向對象、分布式、解釋性、健壯、安全與系統(tǒng)無關、可移植、高性能、多線程和動態(tài)的語言。 Java 不同于一般的編譯執(zhí)行計算機語言和解釋執(zhí)行計算機語言。jsp:plugin Netscape Navigator 的老版本和 Inter Explorer 使用不同的標簽以嵌入一個 applet。JSP 動作是一系列可以調用內建于網(wǎng)絡服務器中的功能的 XML 標簽。效果就好像被包含文件的內容直接被粘貼到當前文件中一樣。網(wǎng)頁還能通過 tags 和 scriptlets 訪問存在于服務端的資源的應用邏輯。所有程序操作都在服務器端執(zhí)行,網(wǎng)絡上傳送給客戶端的僅是得到的結果,這樣大大降低了對客戶瀏覽器的要求,即使客戶瀏覽器端不支持Java,也可以訪問 JSP 網(wǎng)頁。其中,使用在線考試影響較大的考試有:1994 年開始,國家教務組織的全國計算機等級考試;1996 年,教育部考試中心舉辦的全國計算機應用技術證書(National Aplide Information Technology Certificate 簡稱 NIT) ,等等。因而對于有極大市場的社會認證考試,必然會走上專業(yè)化的道路。基于上述考慮,用 B/S 模式來設計考試系統(tǒng)比較合適,服務器端我們采用 MySql 數(shù)據(jù)庫系統(tǒng) JSP 技術來構成考試的應用服務系統(tǒng);客戶端采用瀏覽器來完成考試全過程,同時可進行遠程系統(tǒng)維護和管理。要求具有一定專業(yè)水準的技術人員去完成。在線考試系統(tǒng)中題目的生成、試卷的提交、成績的批閱等都在網(wǎng)絡上自動完成。JAVA。老師希望有效改進現(xiàn)有的考試模式,提高考試工作的效率,教育機構也希望給網(wǎng)上的學生提供更全面靈活的服務,以更準確地對學生進行跟蹤和評價。本論文研究了一種基于 JSP 的在線考試系統(tǒng)。TOMCAT陜西理工學院畢業(yè)設計第 III 頁 共 42 頁The Design and Implement of The Logistics Management System Based on B/S Model Liu Xu(Grade11,Class02,Information and puting science Major, Mathematics and Computing Science Dept., Shaanxi University of Technology, Hanzhong 723000,Shaanxi)Tutor: ZhaohuiAbstract: With the development of puter technology and the Inter era, it has entered an information age which is also known as the digital age. In this digital work environment, students prefer personalized munication space to meet, to learn according to their own situation, and also needs a scientific evaluation. The teachers want to effectively improve the current test model to increase the examination efficiency. Education institutions want to give students a more prehensive flexible service to more accurately track and evaluate students. Online examination system is developed to meet this demand targeting to an Interbased test model. With this new model, schools can create a new test environment for the successful test management and to improve the effectiveness and examination standard level, so that school administrators, teachers and students can work anytime, anywhere via the Inter test. In this paper, an online examination system is developed based on JSP. The system includes subsystem modules of students, teachers and administrators submodules. The student module features include: student login, student exams, check grades, student messages and personal information management functions. The teacher module features include: teacher registration, adding courses, paper management, exam management, test management, online marking, performance management, message management, announced management and personal information management. The manager module features include: bulletin management, other management systems, professional management, class management, student management, teacher management and password change functionality. The system uses JSP and MySql as the development tools which are more extensible.Key Words: Online Exem System, JAVA, JSP, MySql陜西理工學院畢業(yè)設計第 IV 頁 共 42 頁目 錄1 引言 .....................................................6 研究背景 .................................................6 研究意義 .................................................6 研究現(xiàn)狀 .................................................7 國外研究現(xiàn)狀 ..........................................7 國內研究現(xiàn)狀 ..........................................7 研究的主要內容 ...........................................7 本文的組織 ...............................................72 系統(tǒng)相關技術 .............................................8 JSP 技術 ..................................................8 JAVA 語言 .................................................9 數(shù)據(jù)庫連接 ...............................................10 MYSQL數(shù)據(jù)庫 ..............................................10 SERVLET技術 ...............................................103 系統(tǒng)需求分析 ...................................................................................11 系統(tǒng)概述 ......................................................................11 可行性分析 ...................................................................11 技術可行性 ...................................................................11 操作可行性 ...................................................................11 社會可行性 ...................................................................114 系統(tǒng)概要設計 ............................................12 系統(tǒng)功能模塊圖 ...........................................12 學生子系統(tǒng)模塊 .......................................12 教師子系統(tǒng)模塊 .......................................14 數(shù)據(jù)庫設計 ...............................................16 數(shù)據(jù)字典 .............................................16 數(shù)據(jù)表結構 ...........................................16 數(shù)據(jù)表關系圖 .........................................195 系統(tǒng)詳細設計 ............................................20 數(shù)據(jù)庫連接 ...............................................20 系統(tǒng)架構搭建 .............................................20 系統(tǒng)目錄結構 .........................................20 系統(tǒng)訪問權限設置 .....................................21 系統(tǒng)主要功能實現(xiàn) .....................................21 系統(tǒng)功能模塊的設計與實現(xiàn) .................................22 系統(tǒng)登錄界面 .......................................