Research on Automatic Scoring for Java Programming Questions

Part of the Advances in Intelligent and Soft Computing book series (AINSC, volume 169)


Automatic scoring for Java programming questions is a very important and hard problem. Currently automatic scoring technology is mainly based on whether the program runs properly. This way is not always feasible because many programs can not be executed normally only for a few errors. In this paper, an integrated method based on weight, credibility and tree structure is proposed. In this method, source file, class file, method information, output result and source code are all checked and scored with different weights. Especially for the source code, a tree-based thought is put forward. This method constructs a reasonable flow to score a Java program question. As a result, a final score is calculated successfully. The test results show this method is feasible and effective.


automatic scoring Java programming question credibility tree 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Li, Z., Hao, P.: Research and Implementation of Agent-based Network General Examination System. Journal of Zhejiang University of Technology 37, 610–613 (2009)Google Scholar
  2. 2.
    Yuan, B., Yang, C.: Design of Distributed Examination System Based on Task. Computer Engineering and Design 32, 3530–3533 (2011)Google Scholar
  3. 3.
    Li, Y.: Distance Education Online Exam Marking System Design and Security. Journal of Northwest University (Natural Science Edition) 40, 239–242 (2010)Google Scholar
  4. 4.
    Oracle Technology Network for Java Developers,
  5. 5.
  6. 6.
    Lou, B.: Design of Auto-marking Software Framework for Java Programming Questions. Computer Engineering and Design 31, 5343–5346, 5358 (2010)Google Scholar
  7. 7.
    Ma, P., Wang, T., Su, X.: Automatic Grading of Student Programs Based on Program Understanding. Journal of Computer Research and Development 46, 1136–1142 (2009)Google Scholar
  8. 8.
    Liu, P., Li, Z.: Research on Methods of Automatic Checking over Subjective Examination Based on Fuzzy Conceptual Graphs with Weight. Application Research of Computers 26, 4565–4567, 4584 (2009)Google Scholar
  9. 9.
    Luo, Y., Liu, J.: Design and Implementation of National Computer Rank Examination System Process Evaluation Based on Feature Table. Computer Applications and Software 28, 45–47 (2011)Google Scholar
  10. 10.
    Wang, Q., Su, X., Ma, P.: Automatic Grading Method for Program with Syntax Error—Via Local Syntax Analysis and Key Point Matching. Computer Engineering and Applications 46, 239–242 (2010)Google Scholar
  11. 11.
    Zhou, H.: Study on Application of Levenshtein Distance in Programming Test Automatic Scoring. Computer Applications and Software 28, 209–212 (2011)Google Scholar
  12. 12.
    Chang, Q., Ma, Y.: Online Examination System Based on Short Word Fuzzy Matching. Coal Technology 30, 243–244 (2011)Google Scholar
  13. 13.
    She, S., Zhou, S.: Application of Regex in Auto-Checking Paper of Programs. Computer Technology and Development 17, 244–246 (2007)Google Scholar
  14. 14.
    Tian, T., Zhang, Z.: Research on Automated Assessment Technology for Subjective Tests. Computer Engineering and Design 31, 3697–3699, 3704 (2010)Google Scholar

Copyright information

© Springer-Verlag GmbH Berlin Heidelberg 2012

Authors and Affiliations

  1. 1.Shandong Provincial Key Laboratory of Network based Intelligent ComputingUniversity of JinanJinanChina

Personalised recommendations