關於大學畢業設計系統的畢業論文
- 數據庫操作系統
- 關注:9.99K次
摘要:
隨着計算機應用的迅猛發展,網絡應用的不斷擴大,如遠程教育和虛擬大學大出現等,且這些應用正逐步深入要千家萬户。人們迫切要求利用這些技術來進行在線考試,以減輕教師的'工作負擔及提高工作效率,與此同時也提高了考試的質量,從而是考試更趨於公正、客觀,更加激發學生的學習興趣。在線考試系統是為了方便學生考試、老師閲卷、提大學聯考試的公正性、公平性。本文主要包括系統的課題概述、業務層設計、數據庫設計、數據訪問層設置、應用層設計等。
1 課題概述
1.1 系統基本需求
(1)操作簡單方便,界面簡潔美觀。
(2)具有實時性,已註冊的用户無論身在何地,通過Internet遊覽器,都可登錄網絡考試系統。
(3)具有嚴肅性和公正性,系統提供的自動交卷功能使考試到結束時間時,系統自動交卷。
(4)提供考試時間倒計時功能,讓考生隨時瞭解考試剩餘時間。
(5)系統自動閲卷,保證成績真實,準確。
(6)考生可以隨時查看考試成績 。
(7)對考生註冊信息進行管理 。
(8)系統運行穩定,安全可靠。
系統功能模塊如圖:
1.2 系統功能分析(用例圖) 學生用例圖:
管理員用例圖:
2 業務層設計
2.1 類的識別
本網站共創建了7個類,分別為 (數據操作類),(判斷題類)(多選題類),(試卷類),(分數類),(單選題類),(數據安全類)。其中,,,,放置到BusinessLogicLayer文件夾中,放置到DataAccessHelper文件夾中。
2.2 類的屬性和方法設計
(1)(數據操作類) 方法:
getcon:用來連接數據庫
eccom: 用來執行對數據庫操作的SQL語句命令 bind: 用於將數據庫綁定到表格控件中
ecDropDownList:用於姜數據庫綁定到下拉列表框中
Bindinfostring:用於將數據庫數據綁定到表格控件中,並獲取數據表中的主鍵字段
(2)(單選題類) 屬性:
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)(多選題類) 屬性:
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)(判斷題類)
} 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; } }
- 文章版權屬於文章作者所有,轉載請註明 https://xuewengu.com/flhy/shujuku/pwlyv6.html