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

正文內(nèi)容

畢業(yè)設(shè)計報告學生考試系統(tǒng)(服務器端)(參考版)

2025-01-24 16:32本頁面
  

【正文】 27參考文獻[1] 陳國君,陳磊, 查詢設(shè)計基礎(chǔ)(第 4 版).清華大學出版社,.[2] 郝曉玲,漢冬梅,. 清華大學出版社,.[3] 黃縉華. MySQL 入門很簡單. 清華大學出版社,.[4]王珊,薩師煊. ,.[5] ,.[6],.[7] 張海藩。具體分工:本系統(tǒng)開發(fā)由兩人完成,需求分析和數(shù)據(jù)庫設(shè)計由兩人共同完成。在開發(fā)過程中,遇到很多的瓶頸, 通過百度及請教老師都得到了解決??蛻舳说卿浻袃煞N選擇,如果選擇考試,則需要服務器端開啟考試,如果選擇平時練習,則有學生選擇試題。在查詢過程,將查詢內(nèi)容放入一個線程中,這樣能使系統(tǒng)性能得到提升。界面布置中用到了表格JTable、樹 JTree 等。本系統(tǒng)采用 java swing 編寫界面,通過 JDBC 連接數(shù)據(jù)庫??傮w上來說,實現(xiàn)了其基本功能、達到了預期的效果。系統(tǒng)整體功能測試:服務器端和客戶端功能模塊完善后,在服務器端開啟考試,測試客戶端能否正常考試,考試完畢后服務器端能否查詢到學生成績。測試過程中,重復數(shù)據(jù)只能入庫一次。這時先通過 sql 語句在數(shù)據(jù)庫中查詢,然后將兩者比較,看看是否正確。測試時首先輸入正確密碼進行驗證登錄,然后輸入錯誤密碼進行驗證登錄,最后通過 java 代碼中獲取的值與數(shù)據(jù)庫中的值進行比較。}}}public static void setValue(String value){(value)。if(flag){(this, 考試服務已關(guān)閉 )。}} catch (Exception e1) {()。flag = ().startExam(paper,().trim())。return 。}try {boolean flag = ().isExists()。}if(.equals(().trim())){(this, 考試口令不能為空)。if(.equals(().trim())){(this, 請選擇試卷)。(true)。((new TitledBorder((,new Color(142, 142, 142)), 考務管理), BorderFactory.createEmptyBorder(5, 5, 5, 5)))。(panel,)。(centerPanel,)。(new BorderLayout())。(start)。(jlPassword)。(jfPaper)。(new BorderLayout())。(new Dimension(180,25))。(this)。(this)。}private void jbInit(){((1))。private JPanel btnPanel = new JPanel()。private JPanel southPanel = new JPanel()。private JPanel northPanel = new JPanel()。private JButton start = new JButton(開啟考試,IconFactory. getIcon())。23private JLabel jlPassword = new JLabel(考試口令 ,)。private static JTextField jfPaper = new JTextField()。} 考務管理考務管理包括開啟考試服務和關(guān)閉考試服務,界面如下:圖 411 考務管理考務管理主要代碼如下:public class UIStartOrStopMainPanel extends JPanel implements ActionListener{private static final JComponent ftPaper = null。}finally{(conn)。()。()。(, list)。ListGrade list = (page,pageNumber,studName,paperName,magor,number)。(false)。MapString,Object map = new HashMap()。} 成績管理模塊成績管理功能有查詢學生客觀題分數(shù)并導出、導出客觀題答案和清除學生成績。()。()。}}。} catch(Exception e){()。 setLabelInfo()。 putDataToTable(list)。21 setBtnState()。 return。 if(recordCount == 0){ (, 沒有滿足條件的記錄 )。final Thread thread = new Thread() {public void run() {try {MapString,Object map = ().queryExamPaperBypage(arg,page,pageNumber)。()。}private void showNextDialogThread(){Thread thread = new Thread(new Runnable(){Overridepublic void run() {showQuestionTabbed()。}UIExamQuestionTabbed uiT = new UIExamQuestionTabbed(examPaper)。}SetExamPaperQuestionType set = ()。){byte questionTypeValue = (byte)().byteValue()。for(IteratorInteger it = ()。().addAll(())。}return false。return true。if(!flag){return false。}return true。}if(sum != ().getSumScore()) {(this, 請檢查每個題目的題目數(shù)量及分數(shù)\n總分是否與試卷總分相同)。for(ExamPaperQuestionType epqt : list){float eachQuetypeSum = ()*()。}ListExamPaperQuestionType list = ()。(uiExamPQuestionType,)。uiExamPQuestionType = new UIExampPaperSetQuestionType()。}19private void jbInit(){(new BorderLayout())。 private UIExampPaperSetQuestionType uiExamPQuestionType。試卷設(shè)置首先要設(shè)置考試科目、試卷分數(shù)、考試時間及試卷題型,最后將試卷和題目組合成一套試卷。}finally{(conn)。}catch (SQLException|NoDataException e){()。 (delSet)。for(Item item:set){(item)。i++){ChoiceQuestion question = (ChoiceQuestion) (i)。}else if(module instanceof ChoiceQuestion){for(int i = 0 。}else if(module instanceof EssayQuestion){(questionVector)。 }} (questionVector)。 Item[] items = ()。i()。AbstractQuestion module = (AbstractQuestion) (0)。itemDAO = new ItemDAO(conn)。(false)。}批量刪除功能主是將選擇的數(shù)據(jù)放在一個 Vector 容器中,然后在后臺處理,主要代碼如下:public void delQuestion(VectorBObjectInterface questionVector)throws SDHException, SQLException {Connection conn = null。16 public void removeAllObserver()。 public void removeTreeObserver(ITreeObserver observer )。對新增題目界面中用到了組合模式,其中選擇題的添加中用到了觀察者模式,題庫查詢用到了兩次觀察者模式。} return false。return true。 try {().save(user)。 } User user = ()。
點擊復制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1