freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

網(wǎng)上考試系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)(參考版)

2024-12-07 17:18本頁(yè)面
  

【正文】 } // /script 身份驗(yàn)證代碼 (此處以教師身份驗(yàn)證代碼為例 ) % 39。return false。MySQL數(shù)據(jù)庫(kù) End Select Set conn = () ConnStr If Err Then Set conn = Nothing 數(shù)據(jù)連接錯(cuò)誤 ! () End If % 表單驗(yàn)證代碼 script language=JavaScript type=text/JavaScript ! //檢查表單信息填寫(xiě)情況 function checkFormData(theForm){ if( .value==){ alert(提示信息 )。 database=examDB。 user name=root。連接虛谷數(shù)據(jù)庫(kù) Case 4 ConnStr = Driver={mysql odbc driver}。 database=examDB。 UID=SYSDBA。連接迖夢(mèng)數(shù)據(jù)庫(kù) Case 3 ConnStr = Driver={XuguSQL}。 database=examDB。 UID=SYSDBA。連接 SQL數(shù)據(jù)庫(kù) Case 2 ConnStr = Driver={DM ODBC Driver}。database=examDB。uid=sa。連接 Access 數(shù)據(jù)庫(kù) Case 1 ConnStr = Driver={SQL Server}。Data Source= amp。定義數(shù)據(jù)庫(kù)類(lèi)別, 0為 Access 數(shù)據(jù)庫(kù) ,1為 SQL數(shù)據(jù)庫(kù), 2為迖夢(mèng)數(shù)據(jù)庫(kù), 3為虛谷數(shù)據(jù)庫(kù), 4為 MySQL數(shù)據(jù)庫(kù) Const IsSqlDataBase = 1 39。 填 寫(xiě) 表 單進(jìn) 入 操 作 界 面修 改表 單 驗(yàn) 證刪 除 查 詢(xún)?cè)?加數(shù) 據(jù) 庫(kù)結(jié) 束 操 作顯 示 結(jié) 果重 新 填 寫(xiě)確 認(rèn) 操 作 圖 5?4通用模塊流程圖 實(shí)現(xiàn)代碼 連接數(shù)據(jù)庫(kù)代碼 本系統(tǒng)可以方便的連接不同類(lèi)型的數(shù)據(jù)庫(kù),只需更改常量 IsSqlDataBase 的值即可 ,從根本上實(shí)現(xiàn)了跨平臺(tái)、可移植性。通用模塊也包括一些連接數(shù)據(jù)庫(kù)、驗(yàn)證碼、防注入過(guò)濾、日志記錄等功能。 流程分析 首先用戶(hù)進(jìn)入登錄界面,輸入帳戶(hù)和密碼通過(guò)系統(tǒng)驗(yàn)證后方可進(jìn)入操作界面,用戶(hù)可以進(jìn)行添加、修改、刪除等操作。 功能分析 通用模塊用 于實(shí)現(xiàn)對(duì)基本數(shù)據(jù)在數(shù)據(jù)庫(kù)的增加、刪除、修改、查詢(xún)、信息列 表、詳細(xì)內(nèi)容顯示等功能。color:1473B3。 borderbottom:1px solid E2F4FC。 paddingbottom:5px。 marginbottom:5px。 float:left。 color:000000}/*主體的右邊信息顯示部分,首行縮進(jìn)兩端對(duì)齊 */ foot{width:1000px。 padding:10px 20px 10px 20px。textjustify:interideograph。border: 1px solid 7acdf2。 height:370px。 fontweight:bold。padding:5px 0px 5px 0px。 margin:5px 5px 5px 5px。 textalign:left}/*頁(yè)面右側(cè) */ rnav{width:805px。borderleft:1px dashed 1071b5。height:400px。 height:auto。 backgroundrepeat:repeatx。 height:31px。 backgroundimage:url(images/)。 height:auto}/*頁(yè)面容器 */ banner{width:1000px。backgroundcolor:ffffff。fontsize:12px。 margin:0px。數(shù)據(jù)存儲(chǔ)層,接收數(shù)據(jù)操縱層傳遞的指令用標(biāo)準(zhǔn)的 SQL 語(yǔ)句直接對(duì)數(shù)據(jù)庫(kù)進(jìn)行操作,并將結(jié)果反饋給數(shù)據(jù)操作層。用戶(hù)界面層,實(shí)現(xiàn)人機(jī)交互,用于收集、顯示數(shù)據(jù),考慮到用戶(hù)的視覺(jué)效果采用了CSS+DIV進(jìn)行版面布局如圖 5?3頁(yè)面布局 DIV嵌套結(jié)構(gòu)圖所示。 各個(gè)模塊又都是基于三層的數(shù)據(jù)結(jié)構(gòu) :用戶(hù)界面層、數(shù)據(jù)操縱和數(shù)據(jù)邏輯層、數(shù)據(jù)存儲(chǔ)層。 在 線 考 試 系 統(tǒng)學(xué) 生 子 系 統(tǒng)在線考試教 師 子 系 統(tǒng)修改密碼提交問(wèn)題成績(jī)查詢(xún)登錄系統(tǒng)修改密碼登錄系統(tǒng)考場(chǎng)監(jiān)控考試發(fā)布試題管理專(zhuān)家答疑用戶(hù)管理信息發(fā)布教師授權(quán)日志管理查看日志 圖 5?1在線考試系統(tǒng)總體結(jié)構(gòu)圖 教師子系統(tǒng)是為教師發(fā)布信息、管理用戶(hù)、分配操作權(quán)限、問(wèn)題答疑、管理試題庫(kù)、配置組卷方案、考試監(jiān)考管理、考試成績(jī)分析、試題試卷分析提供服務(wù)。 表 4?1教師信息表 (teainfo) 字段名稱(chēng) 數(shù)據(jù) 類(lèi)型 約束說(shuō)明 功能說(shuō)明 ID bigint(8) not null 自動(dòng)編號(hào) teaID nvarchar(50) key, not null 教師編號(hào) teaName nvarchar(50) not null 教師姓名 teaPwd nvarchar(50) not null 密碼 purview nvarchar(50) not null 權(quán)限 表 4?2學(xué)生信息表 (stuinfo) 字段名稱(chēng) 數(shù)據(jù)類(lèi)型 約束說(shuō)明 功能說(shuō)明 stuID bigint(8) key, not null 學(xué)號(hào) stuName nvarchar(50) not null 學(xué)生姓名 stuPwd nvarchar(50) not null 密碼 gradeID int not null 年級(jí)編號(hào) classID int not null 班級(jí)編號(hào) 表 4?3科目信息表 (subject) 字段名稱(chēng) 數(shù)據(jù)類(lèi)型 約束說(shuō)明 功能說(shuō)明 subjID int(4) key, not null 科目編號(hào) subjName nvarchar(50) not null 科目名稱(chēng) subjInfo nvarchar(250) null 科目信息 表 4?4年級(jí)信息表 (gradeInfo) 字段名稱(chēng) 數(shù)據(jù)類(lèi)型 約束說(shuō)明 功能說(shuō)明 gradeID int(4) key, not null 年級(jí)編號(hào) gradeName nvarchar(50) not null 年級(jí)名稱(chēng) 表 4?5班級(jí)信息表 (classInfo) 字段名稱(chēng) 數(shù)據(jù)類(lèi)型 約束說(shuō)明 功能說(shuō)明 classID int(4) key, not null 班級(jí)編號(hào) className nvarchar(50) not null 班級(jí)名稱(chēng) 表 4?6試題表 (quizLib) 字段名稱(chēng) 數(shù)據(jù)類(lèi)型 約束說(shuō)明 功能說(shuō)明 quizID bigint(8) key, not null 試題編號(hào) subjID int(4) not null 所屬科目 quizTitle nvarchar(1000) not null 題干 quizClass nvarchar(50) not null 題型 quizOption nvarchar(200) not null 選項(xiàng) quizKey nvarchar(50) not null 標(biāo)準(zhǔn)答案 quizHits int(4) not null 選中次數(shù) quizKeyOk int(4) not null 答對(duì)率 quizWriter nvarchar(50) null 試題作者 quizTime smalldatetime(4) not null 添加時(shí)間 表 4?7考卷信息表 (examInfo) 字段名稱(chēng) 數(shù)據(jù)類(lèi)型 約束說(shuō)明 功能說(shuō)明 examID bigint(8) key, not null 考卷編號(hào) examName nvarchar(200) not null 班級(jí)名稱(chēng) examPwd nvarchar(50) not null 考場(chǎng)密碼 examClass nvarchar(50) not null 考試類(lèi)別 subjID int(4) not null 考試科目 examStart smalldatetime(4) not null 開(kāi)考時(shí)間 字段名稱(chēng) 數(shù)據(jù)類(lèi)型 約束說(shuō)明 功能說(shuō)明 examEnd smalldatetime(4) not null 結(jié)束時(shí)間 teaID nvarchar(50) not null 教師號(hào) GradeID int(4) not null 考生年級(jí)編號(hào) ClassID int(4) not null 考生班級(jí)編號(hào) radio1Sum int(4) not null 判斷題數(shù)目 radio1Val int(4) null 判斷題分值 radio2Sum int(4) not null 單選題數(shù)目 radio2Val int(4) null 單選題分值 checkboxSum int(4) not null 多選題數(shù)目 checkboxVal int(4) null 多選題分值 textSum int(4) not null 填空題數(shù)目 textVal int(4) null 填空題分值 examScore int(4) null 總分值 examAvg int(4) null 平均分?jǐn)?shù) examStatus nvarchar(50) not null 考場(chǎng)狀態(tài) 表 4?8學(xué)生成績(jī)表 (stuPaper) 字段名稱(chēng) 數(shù)據(jù)類(lèi)型 約束說(shuō)明 功能說(shuō)明 stuID bigint(8) key, not null 考生號(hào) examID bigint(8) key, not null 考場(chǎng)編號(hào) paperID int(4) not null 試卷編號(hào) quizID int(4) not null 試題編號(hào) quizClass nvarchar(50) not null 試題類(lèi)型 quizKey nvarchar(50) not null 試題答案 quizStatus bit(1) not null 試題狀態(tài) quizScore int(4) not null 試題分?jǐn)?shù) stuKey nvarchar(50) null 學(xué)生答案 stuScore int(4) null 考生得分 表 4?9學(xué)生成績(jī)表 (stuScore) 字段名稱(chēng) 數(shù)據(jù)類(lèi)型 約束說(shuō)明 功能說(shuō)明 stuID bigint(8) key, not null 考生號(hào) stuPwd nvarchar(50) not null 考場(chǎng)密碼 examID bigint(8) not null 考場(chǎng)編號(hào) quizID ntext (16) not null 試題編號(hào) quizKey ntext (16) not null 正確答案 stuKey ntext (16) null 考生答案 stuScore int(4) null 考生分?jǐn)?shù) stuStatus nvarchar(50) null 考生 狀態(tài) 表 4?10專(zhuān)家答疑表 (board) 字段名稱(chēng) 數(shù)據(jù)類(lèi)型 約束說(shuō)明 功能說(shuō)明 boardid bigint(8) key, not null 問(wèn)題編號(hào) userid bigint(8) not null 學(xué)生號(hào) 字段名稱(chēng) 數(shù)據(jù)類(lèi)型 約束說(shuō)明 功能說(shuō)明 username nvarchar(50) not null 學(xué)生姓名 title ntext (16) not null 問(wèn)題簡(jiǎn)述 content ntext (16) not null 問(wèn)題描述 vtime smalldatetime(4) null 提問(wèn)時(shí)間 reuser nvarchar(50) null 答疑教師 revert ntext (16) null 答疑內(nèi)容 表 4?11操作日志表 (audit) 字段名稱(chēng) 數(shù)據(jù)類(lèi)型 約束說(shuō)明 功能說(shuō)明 aid bigint(8) key, not null 日志編號(hào) logID bigint(8) not null 操作者編號(hào) logname nvarchar(50) not null 操作者姓名 [identity] nvarchar(50) not null 操作者身份 logtime smalldatetime(4) not null 操作時(shí)間 logip nvarchar(50) not null 主機(jī) IP operation nvarchar(100) not null 執(zhí)行操作 表 4?12信息分類(lèi)表 (sort) 字段名稱(chēng) 數(shù)據(jù)類(lèi)型 約束說(shuō)明 功能說(shuō)明 sortid int(4) key, not null 分類(lèi)編號(hào) sort nvarchar(50) not null 分類(lèi)名稱(chēng) 表 4?13信息發(fā)布表 (sort) 字段名稱(chēng) 數(shù)據(jù)類(lèi)型 約束說(shuō)明 功能說(shuō)明
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1