Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automatic evaluation method for Python drawing program questions

An evaluation method and drawing program technology, applied in the direction of program code conversion, software engineering design, error detection/correction, etc., can solve the problem of subjective program evaluation without accurate and efficient solutions, and achieve the effect of improving evaluation efficiency.

Active Publication Date: 2020-02-07
BEIJING INSTITUTE OF TECHNOLOGYGY
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These systems are already very accurate for the evaluation of multiple choice questions and fill-in-the-blank questions, but there is still no accurate and efficient solution for the evaluation of subjective procedural questions

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
  • Automatic evaluation method for Python drawing program questions
  • Automatic evaluation method for Python drawing program questions
  • Automatic evaluation method for Python drawing program questions

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] In Example 1, after scoring by the dynamic evaluation method, the static evaluation method is used as a supplement. The static evaluation method performs lexical analysis S2 and syntactic analysis S3 on the source program to be tested, and compares it with the standard source program lexical and syntactic analysis results to score.

[0055] In Embodiment 1, color histograms are used to describe color features. Color histogram is an effective color feature extraction method, the extraction of image color features is easy to operate, fast in matching, and effective in retrieval. At the same time, it has good RST (rotation, scale, translation) invariance. The traditional color histogram ignores the distribution of color features in the image. In order to overcome the above shortcomings, it is necessary to add the description information of the image color space.

[0056] Embodiment 1 The method for extracting the color feature of the drawing result image is:

[0057] D...

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 an automatic evaluation method for Python drawing program questions. The method of combining static evaluation and dynamic evaluation is used for carrying out automatic evaluation on Python drawing program questions. The static evaluation method comprises the following steps: analyzing lexical and grammar of a source program to be tested, and comparing the lexical and grammar with lexical and grammar analysis results of a standard source program for scoring; the dynamic evaluation method comprises the following steps: running a to-be-tested program according to a testcase, and comparing a running result with a standard result for scoring; and when the motion result is unique, unloading the drawing result as an SVG file, and scoring the to-be-tested program according to the similarity of the SVG file.; and when the running result is not unique, running the to-be-tested program according to the test case, extracting the color or shape feature of the drawing result image or the combination of the color and shape features, and comparing the drawing result image with the standard result image for scoring. The Python drawing source program is automatically evaluated by combining the static evaluation method and the dynamic evaluation method, great convenience is brought to Python teaching evaluation, and the evaluation efficiency is improved.

Description

technical field [0001] The invention relates to an automatic evaluation method for programming questions, in particular to an automatic evaluation method for Python drawing programming questions. Background technique [0002] With the continuous advancement of the process of education informatization, great changes have taken place in the teaching mode and evaluation methods. More and more automated processing tools are applied to all aspects of education, teaching and evaluation. Among them, the automatic evaluation system is favored by its advantages of high efficiency, convenience, and saving manpower and material resources. It is widely used in the detection of students' learning outcomes. The emergence of the automatic evaluation system has brought great convenience to the evaluation of education and teaching. Its high degree of informatization improves the evaluation efficiency, and its high degree of programming reduces the influence of subjective factors on the evalu...

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): G06F11/36G06F8/41
CPCG06F8/42G06F8/425G06F11/3684G06F11/3688G06F11/3692
Inventor 黄天羽嵩天郑超
Owner BEIJING INSTITUTE OF TECHNOLOGYGY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products