Design and Implementation of the C Program Online-test System Based on Campus Network

Author
ShiJing
Advisor
OuYangDanTong
School
Jilin University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2010
Downloads
313
Citations
1

Request the full text

Abstract

Wih the rapid development of computer network technology and the popularity ofCampus Network, the computer online-test system has been accepted by more and moreschools.“C programe”is a main subject for science and engineering students in marycolleges, Every year the school need to expend a large amount of manpower and materialresources to arrange the final exam. On the base of analyzing the present situation of thecomputerized test system, and using mature technology, such as ASP, JavaScript, SQLServer and Stored Procedure, this paper designed and realized a“C program online-testsystem based on campus network”. The system is based on B/S model, it can implement aseries of functions relating to examination, such as users management, test questionsmanagement, question extraction, paper forming, on-line test, paper marking, score andpaper query. The system can reduce the teachers’work intensity greatly, improve theefficiency, while avoiding the problem of inconsistent grade and score calculation error byteachers, to ensure the fairness of the examination, and the system can also be effective inassessing students’actual programming and debugging level, that will encourage students tofocus on hands-on training and improve their practical abilities.The system divided users into three types of permissions: student, common teacher andadministrator. student can take part in formal examination and mock examination. commonteacher in charge of their own students information management, can also view and save testscores and marked papers. administrator has the highest privilege in the system, in additionto common teacher’s Permissions, but also for other important work , including: teachersinformation management, test question maintenance, setting test information, extractingquestions to form paper and marking exam papers.The main features of this system are as follows:Using“Iframe”as a "hidden intermediary" in the data transmission process when thedata submited on the web page. Iframe is a form of framework , it can be embedded in anypart of the web page, by use of iframe we can embed one web page into another webpage. We use iframe for this feature, the current page embedded another page forsubmission which has a form in it. When we click the "submit" button to submit the formwhich we filled out in the current page , the page is not sent the form data directly to the destination page (such as the checking page), Instead, the data assigned to the form elementswhich in the embedded page.Then the embedded page will send the form data to destinationthrough the submission operation. During the data transfer process, the current page just dosome assignment, so there will not appear page jump phenomenon .We set iframe’s heightand width zero, and define the type attribute of form elements in embedded page as hidden,then the web page which embedded by iframe completely disappears, it is " hidden ". So theuser operation experience is: When he submit a form on a web page , The current page cankeep still while data transmitting, and a message box will Pop-up to Show whether datatransmission successfully or not .The method of using iframe as a "hidden intermediary" to submit data is popular usedin this system, such as user login, submit answers in paper, test question management.Avoiding the common phenomenon of web page jump back and forth in the traditionalsubmission page.So the interface will become very comfortable for users.A very convenient way to switch between online-exam papers page and VC which Cprograms can be debugged and executed. Inspired by the C-Level computer test systeminterface, this system used“JavaScript ActiveXObject””to achieve such an effect as follows.When student do program correction question, program filling question and programming,just click " Enter VC for beginning " button, he can go directly to VC environment, and thesystem can open the source code automatically for the title, student can edit ,debug andexecute program in VC, then click“submit" button on the test system to submitanswers. This measure made the use of the test system is very simple and convenient.According to the different needs of the actual situation, this paper realized three strategyof exam question extraction. When the question bank is large enough, you can use thecommon random strategy for extracting questions to ensure that each student’s paper on thesame amount, the same level of difficulty, but the specific subject is not the same. If thecurrent test bank relative to the number of students is not big enough ,to avoid leaking examquestions, you can choose group extraction strategy. The system realized two type of groupsextraction strategies: grouping and extracting according random, grouping and extractingaccording student ID. The former applies to the casual arrangement of examination room;the latter applies to the examination room arrangement ordered by student ID, ensure that theadjacent position papers certainly not same.The system realized the function of marking exam paper automatically by computer,especially for programming can also give a reasonable score. In the system, computer canscore every question on the test paper, including: choice, fill-in-the-blank, program correction, program filling and programming. Among them, the problem of automaticmarking programming question is a difficulty in test system. To judge a program right orwrong, based on its operating result. If the result is right, then get all score, else should givescore according submitted code. The system uses the input file test program’s run results,with the grading standard support, better soluted the program automatic correcting.This system not only allows teachers to query and save test scores, but also permitteacher to view and save the marked paper which contains the student’s answers, thestandard answers, and marking comments.The system made full use of the SQL Server stored procedure technology, not onlyimproves the system efficiency, reduces network congestion, and also contributes to thedatabase table structure protection.In summary, this paper designed and implemented a C online-test system, introducedthe main functions and the key technology. Its main characteristics are extracting questionsby group strategy, paper automatic marking, and embedded web page with iframe for datatransfer.

Table of contents

Abstract 4-6 Abstract 6-12 Chapter 1 Introduction 12-18 1.1 Background 12 <br / > 1.2 online examination system advantages 12-13 1.3 research 13-15 1.4 the system of research significance 15 1.5 the system purpose of the study and research 15-17 1.6 thesis is 17-18 Chapter 2 system used by the technical solution 18-33 <br / > 2.1 system architecture 18-20 2.1.1 C / S mode 18 2.1.2 B / S mode 18-19 <br / > 2.1.3 the system architecture 19-20 2.2 system used by the development tools and the main technical 20-32 2.2.1 ASP 20 -22 2.2.2 IIS 22 2.2.3 JavaScript 22-23 2.2.4 SQL Server 2000 23-24 <br / > 2.2.5 ASP accessing SQL Server 2000 database 24-26 2.2.6 SQL Server stored procedure 26-31 2.2.7 CSS styles 31 -32 2.3 Chapter Summary 32-33 Chapter 3 system Requirements analysis and overall design 33-48 3.1 requirements Analysis 33-36 3.1.1 system needs to solve the main problems 33-34 3.1.2 system functional requirements 34-35 3.1.3 system efficiency requirements 35 3.1.4 system Security requirements 35-36 3.2 overall system design 36-40 3.2.1 system design structure 36-37 3.2.2 system function module 37-40 3.3 database design 40-47 3.3.1 database analysis 40 <br / > 3.3.2 database design and Implementation of the basic table 40-45 3.3.3 view 45-47 3.4 Summary 47-48 <br / > Chapter 4 system Implementation 48-72 4.1 user login 48-51 4.2 user Management 51-54 4.3 database management and maintenance 54-56 4.4 exam setting extracting and assembling 56-62 4.5 exam interface 62-65 4.6 nbsp correcting papers ; 65-69 4.7 results and Test Papers query 69-70 4.8 system testing 70-71 4.8.1 testing purposes 70 4.8.2 test Method 70-71 4.8.3 test environment 71 4.8.4 test Results 71 4.9 Summary 71-72 Chapter 5 Summary and Outlook 72-75 5.1 Summary 72-73 5.2 Prospects 73 -75 References 75-77 Author 77-78 Thanks 78

Related dissertations

  1. The Design and Implementation of Shaoshan Meteorological Website
  2. The development of government website based on ASP
  3. The Design and Implementation of Network Courseware of VFP Database Application
    LiangLi ·Chang'an University ·2013 ·Master's thesis
  4. The Design and Realization of Middle School Educational Administration System Based on Data Mining
    YangHua ·Yanshan University ·2012 ·Master's thesis
  5. Design and Implementation of Student Archives Management System in Higher Vocational Colleges
  6. Design and Implementation of Civil Affairs Departments’ Work System at the Grass-roots Level on the Base of the ASP
  7. The Design and Implementation of the Hlgher Vocational College Graduates Employment Information System Based on B/S Structure
    ZhangJianHua ·Ocean University of China ·2013 ·Master's thesis
  8. The Design and Realization of Anhui Vocational and Technical College’s Logistical Management System
  9. The Information Management System of Moral Education in Secondary Vocational Schools
  10. Design and Implementation of Office Automation Information System Based on ASP
  11. Online Teaching BBS Design and Implementation
  12. Vocational Network Test System Design and Implementation
    WangShu ·Dalian Maritime University ·2013 ·Master's thesis
  13. Design and Implementation of the Online Examination System of Liaoning Agricultural Vocational College Based on ASP
    LiuLaiYi ·Dalian Maritime University ·2013 ·Master's thesis
  14. Based on BS Structure of the Clothing Enterprises Online Linkage System and its Implementation
  15. Nanyang Institute of Network News Publishing System
  16. Nanchang Dandelion Network Marketing Enterprise Personnel Management System Design and Implementation
  17. Design and Implementation of Yichun Logistics Management and Trading Platform
  18. The Design and Realization of Campus Blog System Based on ASP
  19. The Design and Implementation of Network Teaching Software System Wich Based on ASP Technology
  20. The Customer Relationship Management (CRM) System of Rong Yu Trading Company