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

正文內(nèi)容

網(wǎng)上考試系統(tǒng)設(shè)計(jì)說明書(編輯修改稿)

2025-06-12 21:23 本頁面
 

【文章內(nèi)容簡介】 sword) { throw new NotImplementedException()。 } endregion region InfoService 成員 public bool add(object obj) { throw new NotImplementedException()。 } public bool modify(object obj) { throw new NotImplementedException()。 } public bool delete(string id) { throw new NotImplementedException()。 } endregion } } TeacherService 類的設(shè)計(jì): namespace DAL { public class TeacherService:AccountService,InfoService { region AccountService 成員 public bool verifyUsers(string userName, string password) { throw new NotImplementedException()。 } public bool modifyPassword(string userName, string oldPsd, string newPsd) { throw new NotImplementedException()。 } public bool verifyRoles(string userName, string password) { throw new NotImplementedException()。 } endregion 在線考試系統(tǒng) 19 百手起駕 整理為您 region InfoService 成員 public bool add(object obj) { throw new NotImplementedException()。 } public bool modify(object obj) { throw new NotImplementedException()。 } public bool delete(string id) { throw new NotImplementedException()。 } endregion } } 本程序通過訪問連接類 SQLHelper、 admin(student\Teacher)、 LoginDAO 和 RolDAO 類實(shí)現(xiàn)對數(shù)據(jù)庫中 admin(student\Teacher)表信息的檢索。 功能 根據(jù)返回的權(quán)限 purview 來登陸不同職務(wù)的頁面,實(shí)現(xiàn)分支操作。 輸入輸出項(xiàng) 輸入: 名稱 標(biāo)識 數(shù)據(jù)類型和格式 數(shù)據(jù)值的有效范圍 輸入的方式 管理員 ( 教師信息 、 學(xué)生信息 ) 編號 Adminid(stuid\teachid) string 密碼 password String 輸出: 名稱 標(biāo)識 數(shù)據(jù)類型和格式 數(shù)據(jù)值的有效范圍 輸出的方式 用戶 權(quán)限 rolePurview string 流程邏輯: Method Summary public int public bool verifyUsers(string userName, string password) { throw new NotImplementedException()。 } 登 陸 頁 面輸 入 用 戶id 、 密 碼驗(yàn) 證 用 戶 id密 碼 是 否 正 確 并 返 回用 戶 權(quán) 限YN返 回 權(quán)限 名 稱跳 轉(zhuǎn) 到 成 員頁 面 輸 入 權(quán) 限 號查 詢 數(shù) 據(jù) 庫 權(quán)限 的 全 稱返 回 權(quán) 限 全稱定 義 登 陸 跳 轉(zhuǎn) 頁 面 圖 1 系統(tǒng)登錄程序流程圖 圖 2 獲得權(quán)限程序流程圖 算法: id 和 password 查找用戶權(quán)限: 創(chuàng)建公共查找用戶類 模塊 管理員 模塊 簡單 程序 模塊 圖 管理員系統(tǒng)管理員信息維護(hù)教師信息維護(hù)班級信息維護(hù)學(xué)生信息維護(hù)課程信息維護(hù) 在線考試系統(tǒng) 21 百手起駕 整理為您 班級 維護(hù) 班級 類圖 cl a sse sS e r vi ce+++cl a ssi dcl a ssn a m edept: st r i n g: st r i n g: st r i n g++++g e t S cI d b yC l a ssI d ( st r i n g cl a ssI d )a d d S t u ( )m o d i f y ( )d e l ( ): i n t: i n t: i n t: i n t 方法設(shè)計(jì) 增加班級方法 方法的設(shè)計(jì)說明 public boolean addClass (classes cs) 該方法用于實(shí)現(xiàn) 班級的增加 。 程序描述 本方法通過訪問連接類 SQLHelper 和 class 類實(shí)現(xiàn)對數(shù)據(jù)庫中 class 表中 記錄的增加 ,是非常駐內(nèi)存的。 功能 該程 序通過傳遞的記錄的主鍵對數(shù)據(jù)庫中 class 表進(jìn)行增加 記錄。 輸入項(xiàng) classid:班級編號, String 類型 名稱 標(biāo)識 數(shù)據(jù)類型和格式 數(shù)據(jù)值的有效范 圍 輸入的方式 班級對象 class Class 對象 輸出項(xiàng) 名稱 標(biāo)識 數(shù)據(jù)類型和格式 數(shù)據(jù)值的有效范圍 輸出的方式 增加 是否成功的狀態(tài) insertclass boolean 算法 實(shí)現(xiàn): public static bool addClass(Classes class) 刪除 指定 班級方法 方法 的 設(shè)計(jì)說明 public boolean del (String classid) 該方法用于實(shí)現(xiàn)指定 班級 信息的刪除。 程序描述 本方法通過訪問連接類 SQLHelper 和 class 類實(shí)現(xiàn)對數(shù)據(jù)庫中 class 表中符合條件的班級 記錄進(jìn)行刪除,是非常駐內(nèi)存的。 功能 該程序通過傳遞的記錄的主鍵的值刪除符合條件的記錄。 輸入項(xiàng) classid: 班級編號 , String 類型 名稱 標(biāo)識 數(shù)據(jù)類型和格式 數(shù)據(jù)值的有效范圍 輸入的方式 班級對象 class Class 輸出項(xiàng) 名稱 標(biāo)識 數(shù)據(jù)類型和格式 數(shù)據(jù)值的有效范圍 輸出的方式 刪除是否成功的狀態(tài) deleterate boolean 算法 public bool deleteClass (String classid) //刪除 班級 表中記錄 { } 流程邏輯 順序結(jié)構(gòu) 。 注釋設(shè)計(jì) 在本程序中安排的注釋,如: 加在模塊首部的注釋:角色信息的分頁查詢; 對各變量的功能、范圍、缺省條件等加注釋; 修改 (更新) 指定班級方法的設(shè)計(jì)說明 public boolean updateClass (Classes class) 該方法用于指定 班級 信息的修改。 1. 程序描述 本方法通過訪問連接類 SQLHelper 和 classDAO 類實(shí)現(xiàn)對數(shù)據(jù)庫中 class 表中符合條件的 班級 記錄進(jìn)行修改,是非常駐內(nèi)存的。 2 功能 該程序修改相關(guān)記錄的信息,主鍵不能修改。 3 輸人項(xiàng) class: 班級 對象, class 類型 名稱 標(biāo)識 數(shù)據(jù)類型和格式 數(shù)據(jù)值的有效范圍 輸入的方式 班級對象 class class 4 輸出項(xiàng) 名稱 標(biāo)識 數(shù)據(jù)類型和格式 數(shù)據(jù)值的有效范圍 輸出的方式 修改是否成功的狀態(tài) updateClass boolean 5 流程邏輯 順序結(jié)構(gòu) 。 6 注釋設(shè)計(jì) 在線考試系統(tǒng) 23 百手起駕 整理為您 在本程序中安排的注釋,如: 對各變量的功能、范圍、缺省條件等加注釋; 查詢 指定班級 方法的設(shè)計(jì)說明 public string selectClass (string classid) 該方法用于指定班級信息的 獲取 。 1. 程序描述 本方法通過訪問連接類 SQLHelper 和 classDAO 類實(shí)現(xiàn)對數(shù)據(jù)庫中 class 表中符合條件的班級記錄進(jìn)行 查詢 ,是非常駐內(nèi)存的。 2 功能 該程序 查詢 相關(guān)記錄的信息。 3 輸人項(xiàng) Classid:班級 編號, string 類型 名稱 標(biāo)識 數(shù)據(jù)類型和格式 數(shù)據(jù)值的有效范圍 輸入的方式 班級對象 Classid String 4 輸出項(xiàng) 名稱 標(biāo)識 數(shù)據(jù)類型和格式 數(shù)據(jù)值的有效范圍 輸出的方式 若該班級存在 Class Class 對象 若該班級不存在 輸出錯(cuò)誤信息 5 方法 public static bool getclass(string classid) 查詢 所有班級 方法的設(shè)計(jì)說明 學(xué)生信息 維護(hù) 關(guān)系類圖 st u d e n t++++++學(xué)號姓名性別身份證密碼聯(lián)系方式: st r i n g: st r i n g: st r i n g: st r i n g: st r i n g: st r i n gst u d e n t D A O++++S t u L o g i n ( )i n se r t st u ( )d e 。 e t e st u ( )u p d a t e st u ( ): b o o l: b o o l: b o o l: b o o lD B co n n+++++連接數(shù)據(jù)庫 ( )g e t S q l D a t a R e a d e r ( )g e t D a t a S e t ( )g e t D a t a T a b l e ( )u p d a t e ( ): S t r i n g: A r r a y: A r r a y: b o o l 方法設(shè)計(jì) 查詢 學(xué)生信息 1. 方法的設(shè)計(jì)說明 public string selectstu (String stuid) 該方法 用于實(shí)現(xiàn)指定 學(xué)生信息 信息的獲取 。 2. 輸人項(xiàng) Classid:班級編號, string 類型 名稱 標(biāo)識 數(shù)據(jù)類型和格式 數(shù)據(jù)值的有效范圍 輸入的方式 學(xué)號 stuid String 3. 輸出項(xiàng) 名稱 標(biāo)識 數(shù)據(jù)類型和格式 數(shù)據(jù)值的有效范圍 輸出的方式 若該 學(xué)生信息 存在 Student Student 對象 若該 學(xué)生信息 不存在 輸出錯(cuò)誤信息 刪除 學(xué)生信息 方法 1. 方法的設(shè)計(jì)說明 public boolean deletestu (String stuid) 該方法用于實(shí)現(xiàn)指定 學(xué)生信息 信息的刪除。 2. 程序描述 本方法通過訪問連接類 SQLHelper 和 student 類實(shí)現(xiàn)對數(shù)據(jù)庫中 student 表中符合條件的班級記錄進(jìn)行刪除,是非常駐內(nèi)存的。 3. 功能 該程序通過傳遞的記錄的主鍵的值刪除符合條件的記錄。 4. 輸入項(xiàng)
點(diǎn)擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1