【正文】
在讀取試卷后可獲得試卷的規(guī)定時(shí)間,在開始答題后建立一個計(jì)時(shí)器,時(shí)間用盡即產(chǎn)生消息,消息響應(yīng)中即可進(jìn)行控制。 CString fullfilename。//finish send file//設(shè)置當(dāng)前狀態(tài)為試卷發(fā)送完成 } catch(CFileException *e) { AfxMessageBox(em_strFileName)。//重新分配一個空套接字,用于下一次連接 m_psocketm_pControlDlg = this。 m_psocket = new CMysocket()。 public: afx_msg void OnNMClickListusefulpaper(NMHDR *pNMHDR, LRESULT *pResult)。 virtual BOOL OnInitDialog()。 thism_subjective =FALSE。 i6。 第一個窗口的初始化,其實(shí)對控件的初始化: BOOL CWizard_page1::OnInitDialog() { CPropertyPage::OnInitDialog()。 (3)設(shè)置試卷屬性如分值,時(shí)間和密碼等。一個為其它許多組織提供數(shù)據(jù)庫服務(wù)的組織可為每個客戶組織單獨(dú)運(yùn)行一個 SQL Server2020 實(shí)例,而全部實(shí)例可集中在一臺計(jì)算機(jī)上。 教師權(quán)限 圖 2 教師權(quán)限圖 管理員權(quán)限 圖 3 管理員權(quán)限圖 考生權(quán)限 考生以合法身份登錄后,進(jìn)行答卷,答題完畢提交答卷。最大優(yōu)點(diǎn)是跨平臺支持,幾乎在各種操作系統(tǒng)上都有 Web瀏覽器可供使用。有關(guān)的一切數(shù)據(jù)處理都交給了主機(jī)去完成,這要求主機(jī)具有十分高的性能,并且隨著信息量的增加而不斷更新。操作系統(tǒng)的安全是 Web 最基本的,也是最重要的安全保證。 (5)系統(tǒng)能夠?qū)崿F(xiàn)對考生的考試成績進(jìn)行統(tǒng) 計(jì)、對成績和試卷進(jìn)行查詢的功能。 // Use the default parameters 或 CAsyncSocket* pSocket = new CAsyncSocket。由此可見, ODBC 的最大優(yōu)點(diǎn)是能以統(tǒng)一的方式處理所有的數(shù)據(jù)庫 一個完整的 ODBC 由下列幾個部件組成: (1)應(yīng)用程序 (Application)。 最大缺點(diǎn)是開發(fā)效率不高。本系統(tǒng)中能夠處理的題型有:單 選題、多選題、判斷題、填空題、簡答題和論述題等,在本系統(tǒng)中簡答題和論述題將統(tǒng)一為主觀題,其它為客觀題,客觀題采用計(jì)算機(jī)自動評分,這也是該系統(tǒng)與傳統(tǒng)考試相比,所具有的一個優(yōu)越性。本系統(tǒng)基于 C/S,實(shí)現(xiàn)的目標(biāo)是輕量級,簡單,可靠,以下是相關(guān)流程: (1)首先教師和管理員的界面 是不一樣的,管理員除了具有教師的權(quán)限外, 2 還具有管理權(quán)限,考試前,教師需要準(zhǔn)備好試卷,一種是以前自己出的或其它教師出的題或?qū)⒁郧暗脑嚲硇薷某尚碌脑嚲恚环N是利用向?qū)е谱髟嚲恚捎谥苯釉诜?wù)器上操作,不需要管理員的干涉。C/S mode III 目 錄 1 緒論 ............................................................................................................................ 1 課題研究背景 ................................................................................................... 1 課題研究的內(nèi)容 ............................................................................................... 2 課題研究的意義 ............................................................................................... 2 2 系統(tǒng)的理論基礎(chǔ)及相關(guān)技術(shù) ................................................................................... 4 可行性分析 ....................................................................................................... 4 系統(tǒng)的主要技術(shù)措施 ....................................................................................... 4 及 MFC 簡介 ................................................................................. 5 3 系統(tǒng)的需求分析 ....................................................................................................... 9 系統(tǒng)需求 分析 ................................................................................................... 9 系統(tǒng)開發(fā)環(huán)境 ................................................................................................. 10 4 系統(tǒng)設(shè)計(jì)方案 .......................................................................................................... 12 系統(tǒng)的體系結(jié)構(gòu) ............................................................................................. 12 功能模塊設(shè)計(jì) ................................................................................................. 13 權(quán)限設(shè)計(jì) ......................................................................................................... 14 系統(tǒng)數(shù)據(jù)庫設(shè)計(jì) ............................................................................................. 15 5 系統(tǒng)主要模塊的設(shè)計(jì)與實(shí)現(xiàn) ................................................................................. 20 系統(tǒng)總體結(jié)構(gòu)及服務(wù)器端和客戶端說明 ..................................................... 20 題庫管理的實(shí)現(xiàn) ............................................................................................. 21 試卷生成功能的實(shí)現(xiàn) ..................................................................................... 22 在線考試的實(shí)現(xiàn) ............................................................................................. 24 用戶管理的實(shí)現(xiàn) ............................................................................................. 30 成績查詢功能實(shí) 現(xiàn) ......................................................................................... 30 答卷的存儲與讀取 ......................................................................................... 33 文件傳輸?shù)膶?shí)現(xiàn) ............................................................................................. 34 6 系統(tǒng)界面設(shè)計(jì) .......................................................................................................... 36 教師操作 ......................................................................................................... 36 學(xué)生操作 ......................................................................................................... 40 7 總結(jié) .......................................................................................................................... 46 參考文獻(xiàn) ...................................................................................................................... 47 致 謝 .............................................................................................錯誤 !未定義書簽。 關(guān)鍵字 :網(wǎng)上考試系統(tǒng); 軟件工程 ; 組卷; C/S 模式 II Paperless Examination System Design and Implementation Abstract: In today’s society building a work of education as a lifelong education system and opening up a very important and effective way to more and more attention from all sides, and has been a great application and development. Online examination system to support elearning platform as a very important part of education for the work feedback, quality assessment of the effective means to children, but also put forward the examination of traditional enormous challenge. The system uses work technology and database technology, developed based on C / S structure, multiuser online examination system. The system is easy to use, simple operation, at this stage to achieve multiuser online exam at the same time, time control, input and modification of examination questions, examination questions sharing, user management, performance information, and other important functions Marking assistance, that is to achieve a true paperless of examinations, to meet any authorized examination candidates anytime, an