Font Size: a A A

Online Programming Judge System Design And Implementation

Posted on:2018-02-16Degree:MasterType:Thesis
Country:ChinaCandidate:Y YanFull Text:PDF
GTID:2348330542452675Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet and computer technology,many colleges and high schools attach great importance to programming training.Programming course is conducive to cultivating students 'innovative thinking and logical thinking,and enhance students' information literacy.Recently,China's State Council issued a "new generation of artificial intelligence development plan".The plan pointed out that China to 2030 artificial intelligence theory,technology and application to achieve the world's leading level.Artificial intelligence is the most important part of the program design,so in order to develop artificial intelligence disciplines,students need to popularize programming knowledge.And for students to write the program,how efficient,comprehensive testing and evaluation,it is very important.Online programming judge system can provide users with a large number of questions,so that users in the system programming practice,when the user submitted the code,the system will automatically compile and run the code,and finally get the appropriate evaluation results,feedback to the user.So the online programming judge system can be generated for schools,programming enthusiasts and students to participate in the game to provide a good learning and practice platform.The system can greatly improve the accuracy of the evaluation and the efficiency of the problem,but also can stimulate students 'enthusiasm for learning and improve students' programming ability.The main contributions of this paper are divided into the following aspects:Firstly,this paper introduces the background and significance of the online programming judge system,and designs and implements the online programming jugde system.Based on the analysis of the existing online programming judge system and the function characteristics of each system,this paper makes a detailed analysis of the problem module,the judgment module,the contest module,the system state analysis module and the user function operation module of the online programming judge system.And then make a detailed system architecture design,system moduledesign and database design for the demand analysis.Then,we write the code of the system interface by writing PHP code,and then use the C language to realize the problem process.Then,we will carry out the system software test for each function module,Thus completing the online programming judge system design and implementation of the overall process.The problems module is mainly used in the front of the system to show the problem to the user,and the background to add,manage the function of the title.The main function of the judgment module is to allow the user to submit the program code,the system through the compiler,run the output data,and then compared with the standard output data to arrive at the final results.The main role of the contest module is to achieve the front show contest and the results of the contest,and in the background to manage the contest function.System status analysis module is mainly statistics,analysis and display the user in the system ranklist,and users have submitted the status of the subject analysis and other content,so that students can more fully and comprehensively understand their own programming level.This function module,to achieve the process of design and evaluation of the full automation of the test results for the standardization of user status analysis of intelligent,with the user easy to use,the administrator simple operation and other features.Second,in the technical level,the system uses a B / S structure,front-end display interface written by PHP completed,you can run on the Apache server.The problems we use the database My SQL to manage,My SQL database server through the sharing of data to achieve the core task queue and data communication capabilities.The judgment server adopts the FIFO judgment task processing mode,to implement custom dynamic task assignments.In the system of different tasks by different physical machine commitment to achieve distributed computing.Finally,as an online programming judge system that can run on campus,there are two main user groups: administrators and ordinary users.Because of the different operational requirements of the two,the system provides a different access to the user interface.Administrators as the online programming judge system of the defenders,managers,you can manage the background in the system,add,delete,modify and other operations on the subject.But also in the background of the game also to increase,delete,modify and other operations.Ordinary users in the foreground can view the subject,submit code evaluation,participate in the game,browse the system status analysis page and other operations.This has established a safe and reasonable information transmission and management platform.
Keywords/Search Tags:Online Programming Judge System, Judgment, B/S Structure, PHP
PDF Full Text Request
Related items