Unlock instant, AI-driven research and patent intelligence for your innovation.

Java programming topic automatic judgment method and system

A topic, automatic technology, applied in the field of automatic evaluation of Java programming topics, can solve problems such as unverified program flow, imperfect similarity, program errors, etc., to save labor resources and improve comprehensiveness.

Inactive Publication Date: 2017-01-04
广州数度软件有限公司
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In addition, these methods still have some problems in score evaluation: method 1 and method 2 use a black box method, only verify the result but not the program flow, cannot fully guarantee the correctness of the program, and any output format in the program is wrong Both may lead to errors in the entire program; method 3 also has major problems. For most languages, there are many types of program implementation methods to complete a certain function, and it is difficult to judge only by similarity
Compared with process-oriented programs, object-oriented programs have their own characteristics in terms of programming ideas, program structure, grammatical components, logical relationships between components, and code forms. When evaluating programs, only the results or similarities are compared. degree is not perfect

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Java programming topic automatic judgment method and system
  • Java programming topic automatic judgment method and system
  • Java programming topic automatic judgment method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] figure 1 It is a flow chart of a method for automatically judging Java programming questions provided by Embodiment 1 of the present invention.

[0041] A method for automatically judging Java programming questions, comprising:

[0042] S10, receiving the answer code and the preset code of the Java programming question;

[0043] S20. Process the answer code and the preset code, and insert the judgment code to obtain the code to be compiled;

[0044] S30. Compile the code to be compiled, and determine whether the compilation is successful;

[0045] S40. If so, run the compiled program and execute the evaluation code; and,

[0046] S50. Count the scores of the answer codes according to the running results of the evaluation codes.

[0047] In this embodiment, the evaluation code adopts the test framework widely used in the industry as the detection method, which is consistent with the current industry standard and reduces the difficulty of writing the evaluation code. ...

Embodiment 2

[0061] like figure 2 Shown, a kind of Java programming topic automatic judging system comprises: examinee client 10, examination server 20 and judging server 30;

[0062] The examinee client 10 is used to answer questions according to the preset code of the Java programming topic, obtain the answer code, and submit the answer code to the examination server 20; it is also used to receive the returned answer code preservation result and evaluation result;

[0063] The test server 20 is configured to receive the answer code and the preset code, process the examinee's answer code and the preset code, and insert the judgment code to obtain the code to be compiled, and send the code to be compiled to the judge Server 30; For storing the answer code and sending the preservation result to the examinee client 10; also for receiving the evaluation result returned by the evaluation server 30, and sending the evaluation result to the examinee client 10;

[0064] The evaluation server 30...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of programming verification, and particularly relates to a Java programming topic automatic judgment method and system. The method includes: receiving an answer code and a preset code of a Java programming topic; processing the answer code and the preset code, and inserting a judgment code to obtain a code to be complied; compiling the code to be complied, and determining if the compiling is successful or not; operating the complied program if so, and executing the judgment code; and counting a score of the answer code according to the operation result of the judgment code. According to the method, a plurality of judgment codes are inserted into the Java programming topic, and then the answer code of the Java programming topic can be automatically judged, a human resource is saved, and the comprehensiveness of automatic judgment of the Java programming topic.

Description

technical field [0001] The invention relates to the technical field of program writing and verification, in particular to a method and system for automatically judging Java programming questions. Background technique [0002] The application of computer programming is developing rapidly in various fields. In order to meet the needs of the rapid development of the current social economy and information industrialization, computer programming has become a basic skill that programmers must master. In recent years, IEEE Spectrum has analyzed the popularity of 49 programming languages ​​by tracking Google searches, related discussions on social networking sites such as Stack Overflow, Twitter, Reddit, and Hacker News, projects on GitHub, and job postings. The popularity of programming languages ​​has always been at the top. In addition, both the school's teaching of the Java language to students and the training of Java programmers by training institutions are increasing day by ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
Inventor 张子超傅熠宋鸿陟
Owner 广州数度软件有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More