1. 首頁
  2. 資料庫作業系統

大學畢業設計系統的畢業論文

關於大學畢業設計系統的畢業論文

摘要:

隨著計算機應用的`迅猛發展,網路應用的不斷擴大,如遠端教育和虛擬大學大出現等,且這些應用正逐步深入要千家萬戶。人們迫切要求利用這些技術來進行線上考試,以減輕教師的工作負擔及提高工作效率,與此同時也提高了考試的質量,從而是考試更趨於公正、客觀,更加激發學生的學習興趣。線上考試系統是為了方便學生考試、老師閱卷、提高考試的公正性、公平性。本文主要包括系統的課題概述、業務層設計、資料庫設計、資料訪問層設定、應用層設計等。

1 課題概述

1.1 系統基本需求

(1)操作簡單方便,介面簡潔美觀。

(2)具有實時性,已註冊的使用者無論身在何地,透過Internet遊覽器,都可登入網路考試系統。

(3)具有嚴肅性和公正性,系統提供的自動交卷功能使考試到結束時間時,系統自動交卷。

(4)提供考試時間倒計時功能,讓考生隨時瞭解考試剩餘時間。

(5)系統自動閱卷,保證成績真實,準確。

(6)考生可以隨時檢視考試成績 。

(7)對考生註冊資訊進行管理 。

(8)系統執行穩定,安全可靠。

系統功能模組如圖:

1.2 系統功能分析(用例圖) 學生用例圖:

管理員用例圖:

2 業務層設計

2.1 類的識別

本網站共建立了7個類,分別為 Datacon.cs(資料操作類),JudgeProblem.cs(判斷題類)MultiProblem.cs(多選題類),Paper.cs(試卷類),Scores.cs(分數類),SingleProblem.cs(單選題類),GetSafeData.cs(資料安全類)。其中JudgeProblem.cs,SingleProblem.cs,MultiProblem.cs,Paper.cs,Scores.cs放置到BusinessLogicLayer資料夾中,GetSafeData.cs放置到DataAccessHelper資料夾中。

2.2 類的屬性和方法設計

(1)Datacon.cs(資料操作類) 方法:

getcon:用來連線資料庫

eccom: 用來執行對資料庫操作的SQL語句命令 bind: 用於將資料庫繫結到表格控制元件中

ecDropDownList:用於姜資料庫繫結到下拉列表框中

Bindinfostring:用於將資料庫資料繫結到表格控制元件中,並獲取資料表中的主鍵欄位

(2)SingleProblem.cs(單選題類) 屬性:

public int ID{

set

{

this._ID = value; }

get {

return this._ID; }}

public int CourseID{

set {

this._CourseID = value; } get {

return this._CourseID; }}

public string Title{

set {

this._Title = value; } get {

{

this._AnswerB = value; } get {

return this._AnswerB; }}

public string AnswerC{

set {

this._AnswerC = value; } get {

return this._AnswerC; }}

public string AnswerD{

set {

this._AnswerD = value;return } this._Title; }

public string AnswerA {

set {

this._AnswerA = value;} get {

return this} ._AnswerA;}

public string AnswerB{

set

方法:

LoadData 初始化題目

UpdateByProc 更新判斷題資訊

(3)MultiProblem.cs(多選題類) 屬性:

public

int ID{set { this._ID = value; } get{ } return this._ID; }public int CourseID {set { this._CourseID = value; } get { return this._CourseID; } }public { string Titleset{ this._Title = value; } get{return this._Title; } } public{ string AnswerAset { } this._AnswerA = value;get { return this._AnswerA;} }

方法:

LoadData 初始化題目

UpdateByProc 更新判斷題資訊 (4)JudgeProblem.cs(判斷題類)

} get{

}

} return this._AnswerD; public{

string Answer set{

this._Answer = value; } get {

return this._Answer; }

} public{ string AnswerBset{this._AnswerB = value; }get { return } } this._AnswerB; public{ string AnswerCset{ this._AnswerC = value; } get{ return this._AnswerC; } } public{ string AnswerD set {this._AnswerD =value; }} get{} return this._AnswerD; public{ string Answer set { this._Answer = value; } get { return this._Answer; } }