【正文】
學(xué) 號 : 指導(dǎo)教師 : 【摘要 】 本論文以“計算機考試系統(tǒng)”的開發(fā)為背景,論述了計算機考試系統(tǒng)發(fā)展的歷史及現(xiàn)狀。所以我借著這次畢業(yè)設(shè)計的時候 ,好好的解決一個實際的問題,好好的,全面的運用自己所學(xué)的,為自己以后畢業(yè)后的工作生活打下一個良好的基礎(chǔ)。這樣客觀題的評卷就變的簡單了。網(wǎng)上考試是以后的發(fā)展趨勢,但是現(xiàn)在還是有些問題存在的。如果考試機意外重啟,應(yīng)該也運行考生能夠繼續(xù)做試題。但是 linux 操作系統(tǒng)用的比較多的還是服務(wù)器的版本,在桌面上的普及始終還是不如 windows,而且 windows 的操作更加的傻瓜化,可以這么說 windows 操作系統(tǒng)更加的適合于入門的用戶,而且我們也知道現(xiàn)在學(xué)校里幾乎上使用的都是 Windows 操作系統(tǒng), 所以使用 Windows 操作系統(tǒng)變成了我們的首選。 Visual BASIC是一種很容易學(xué)習(xí)并很快就可以熟練掌握的功能強大的編程語言。表包括存儲不同種類資料的字段(列),而記錄(行)則收集特定主體實例的所有信息。如果你具有下面的情況,就應(yīng)該考慮選擇 Access。 ② 備選答案修改 備選答案錄入錯誤,使用該功能進行修改。 第四章 數(shù)據(jù)庫設(shè)計 經(jīng)過了上面的分析,我們現(xiàn)在已經(jīng)知道了我們系統(tǒng)的所有具有的功能,也就知道了系統(tǒng)需要存取 些什么數(shù)據(jù)了,接下來我們進行數(shù)據(jù)庫的設(shè)計。而且 ADO 訪問數(shù)據(jù)庫的代碼非常的簡單,而且很容易讓人理解。我們捕獲了該錯誤,然后對用戶進行提示。 lngID, pCN, adOpenStatic, adLockBatchOptimistic Text3 = rst![題目編號 ] If rst![題目類型 ] Then = True Else = True End If Text1 = rst![題目內(nèi)容 ] Text4 = rst![題目分值 ] Text5 = rst![題目答案 ] Text2 = rst![題目備注 ] amp。然后這里產(chǎn)生隨機的試卷 pintSetNumber = rst![考試套號 ] Else 39。 39。 vbTab amp。s long, prehuman day. For a time he listened for any sound Ignacio might make searching for him。s probably given up by now. The girl nodded, looking into the dar k waters of they pool, but did not seem to have heard him. He began to wor k his way around to her, climbing across the sna kelike roots of the crowding trees. Why does Ignacio want to kill me, Diane? Sometimes he wants to kill me, too, the girl said. But why? I think he39。 and then a turtle and a hedgehog that turned into armadillos for the love of God, Montressor. He said, Why didn39。 she looked up as she saw him, a nd smiled. Hello, he said. Hello, Nicholas. I thought I heard you. I wasn39。s thumbnailshowing like spectators who lined the railings of his lips. Don39。 (, 1) amp。 39。39。 amp。 amp。下面來分幾個重要的模塊來說一下設(shè)計思路和實現(xiàn)方法,對于一些很顯示的 我就不在說明了 5. 1 ADO 技術(shù) 在本系統(tǒng)中我們用到了數(shù)據(jù)庫的技術(shù),在 VB 中,有很多的方法,可以訪問數(shù)據(jù)庫,比如比較原始比較底層 的 ODBC,專門為 Access 數(shù)據(jù)庫設(shè)計的 DAO,還有專門為了遠(yuǎn)程設(shè)計的 RDO。 3 、 考生交卷 本功能是考生答卷的終點,考生交卷了就保證該考生本次考試結(jié)束了,也就不能再次進入進行考試了。 1 、 題目內(nèi)容增加 其實就是往題庫里增加一道題目。 模塊 包括用 VBA編碼的定制過程的一個對象。 Access與其它數(shù)據(jù)庫開發(fā)系統(tǒng)之間相當(dāng)顯著的區(qū)別就是:您不用寫一行代碼,就可以在很短的時間里開發(fā)出一個功能強大而且相當(dāng)專業(yè)的數(shù)據(jù)庫應(yīng)用程序,并且這一愉快的過程是完全可視的!如果您能給它加上簡短的 VBA代碼,那么您的程序決不比專業(yè)程序員潛心開發(fā)的程序差。一般來說,每個子程序要實現(xiàn)的功能是單一的,子程序的規(guī)模一般不會太大,也就是說,把原來一個統(tǒng)一控制的、包羅萬象的大程序分解為許多個獨立的、小規(guī)模的子程序,分別由各種 “ 事件 ” 來驅(qū)動執(zhí)行,于是編程難度大大降低了。 4 、 考場數(shù)據(jù)采集模塊 該模塊是導(dǎo)出考生的考試信息,評分模塊依賴于該考試信息來評分。 穩(wěn)定性。該類考試系統(tǒng)現(xiàn)在也已經(jīng)冒出了很多,采取的基本上是 B/S結(jié)構(gòu)的。手工改卷,在主 觀題上是有他的優(yōu)勢的,畢竟電腦是沒有評測主觀題的能力,但是客觀題也采用手工修改的話,對于評卷老師來說工作量就非常的大。 我們作為新世紀(jì)的中國人,作為計算機專業(yè)的 學(xué)生,理應(yīng)為我們國家的發(fā)展做出自己應(yīng)有的一份貢獻。 【 Abstract】 This thesis take the development of the calculator examination system as the background, discussing the history and the present condition of the calculator examination system full text is divided into the system inquisition, system analysis, the function design, database design, system realization, tallies up totally, text was detailed to elaborate that system analysis, method and its contentses of the system design, to how use the development of VB originally the system makes to pare to introduce system includes the examination mold piece, the grade point mold piece of maintenance maintenance, examinee of a database, and the different from student can use respectively user39。包括了題庫的維護維護、考生的考試模塊、評分模塊。采取這種方法,不知不覺中就減少了考試時間,降低 了考試成本,減少了老師的工作。如果操作過于復(fù)雜化的化,老師培訓(xùn)學(xué)生考試操作就得很長得時間,這樣使用無紙化考試系統(tǒng)可以說是得不償失。如果直接都存放在服務(wù)器上,那么數(shù)據(jù)采集就非常的簡單了,只要直接從服務(wù)器上取得就可以了 6 、網(wǎng)絡(luò)化。 2. 4. 2. 1 Visual Basic介紹 我們先來了解一下 Visual Basic,經(jīng)過總結(jié)我覺得 Visual Basic有主要有如下的三個特點 : Visual BASIC 提供可視化的編程工具 用傳統(tǒng)的高級語言編程時,程序的各種功 能、用戶界面和顯示的結(jié)果全要由程序語句來實現(xiàn),這就增加了編程難度。而本次畢業(yè)設(shè) 計使用的數(shù)據(jù)庫Access2021 更是微軟 Office2021 中的一個套件。大量的操作( 幾乎所有)都要通過窗體完成。 5 、 我精通多種數(shù)據(jù)庫語言,但我希望工作更輕松一些。另外一種指定一套試題給考生考,也就是全場所有的考生都是使用一套試題。而且還要驗證該考生是否已經(jīng)交卷了,都是從該表里讀取數(shù)據(jù)的。所以我們 有必要在可能發(fā)生錯誤的地方加上我們錯誤處理代碼,來捕獲這種錯誤了。而上面表格列出是哪套試題,取決于在組合框里選擇的是哪一套試題了。 錯誤描述 : amp。往考生表中寫入該考生的信息 rst![準(zhǔn)考證號 ] = Text1 rst![考生姓名 ] = Text2 rst![考試套號 ] = pintSetNumber = select * from 題庫主表 where 題目套號 = amp。整理進行交卷動作 Set rst = New Recordset = adLockBatchOptimistic = adUseClient = adOpenStatic Set = pCN = select * from 考生 where 準(zhǔn)考證號 =39。 sinSum End If End Sub 整體的代碼設(shè)計部 分就介紹到這里了。 he was not as strong as he had been only a day past, and by this time next day he would probably be unable to outrun Ignacio. He should, he now realized, have eaten the monkey he had ki lled。t anyone,` just the machines. Now he doesn39。t want anyone around him. Nicholas said slowly, Dr. Island said lots of people wouldn39。 he remembered his effort to open a coconuthe had failed, but it was surely not impossible. His mind was hazy as to what a coconut might contain, but there had to be an edible core, because they were eaten in books. He decided to make a wide sweep through the jungle that would bring him back to the beach well away from Ignacio。但是實際的解決了一些問題,并且把自己學(xué)習(xí)的知識應(yīng)用到了實際工作中,感覺非常的自豪,而且對于老師所講的也是一種鞏固。 pudtStudent.準(zhǔn)考證號 amp。39。 5. 5 考生登陸模塊 設(shè)計了如下的界面: 這里面比較重要的代 碼如下,也就是考生驗證和試題抽取的代碼了: Private Sub Command1_Click() Dim rst As Recordset Dim rstAnswer As Recordset Dim i As Integer If Trim(Text1) = Then MsgBox 請輸入準(zhǔn)考證號 !, vbInformation GoTo Proc_Exit End If If Trim(Text2) = Then MsgBox 請輸入考生姓名 !, vbInformation GoTo Proc_Exit End If Set rst = New Recordset = pCN = select * from 考生 where 準(zhǔn)考證號 =39。比如加載題庫套號數(shù)據(jù),然后加載該套試題的數(shù)據(jù)。另外一種是遇到錯誤跳出執(zhí)行。表結(jié)構(gòu)如下: 字段名稱 字段類型 備注 ID 自動編號 主關(guān)鍵字 準(zhǔn)考證號 字符 題目編號 字符 考生答案 字符 4. 7 題庫主表 在設(shè)計數(shù)據(jù)庫的時候,我們考慮到系統(tǒng)的可擴展性和數(shù)據(jù)減少數(shù)據(jù)庫容量的考慮,經(jīng)常是采取分開幾張表存儲的方式,比如說前面的題庫主表和備選答案的處理就是經(jīng)常采取的方式。 3. 2 考生考試模塊 1 、 考生登陸