Skip to main content

Design and Implementation of Semantic Matching Based Automatic Scoring System for C Programming Language

  • Conference paper
Book cover Entertainment for Education. Digital Techniques and Systems (Edutainment 2010)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 6249))

Abstract

With the development of education and computer, it has become an urgent demand for scoring programming questions automatically. This paper puts forward a semantic matching based automatic scoring method for C programming questions. The said method standardizes student programs and template programs, and then calculates their semantic similarity, so as to score student programs. Main idea: Firstly, convert student programs and template programs into an intermediate representation of programs (i.e. system dependence graph); secondly, carry out semantic equivalence conversion for the generated system dependence graph according to a series of standardization rules, so as to eliminate the diversification of program expression; thirdly, calculate the matching degree of the standardized system dependence graph, and score student programs according to the matching result and scoring rule.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Wang, T.: Research on Automatic Grading of Student Programs Based on Semantic Similarity. Harbin institute of technology Master’s thesis, 1–4 (2005)

    Google Scholar 

  2. Li, Y.: Research and Application of Automatic Grading of Student Programs Based on Program Understanding. Harbin institute of technology Master’s thesis, 9–20, 47–57 (2004)

    Google Scholar 

  3. Xu, S., Chee, Y.S.: Transformation-Based Diagnosis of Student Programs for Programming Tutoring Systems. IEEE Transaction on Software Engineering, 360–384 (2003)

    Google Scholar 

  4. Hattori, N., Ishii, N.: A Method to Remove Variations in Source Codes. Elsevier Science, Information and Software Technology, 25–36 (1996)

    Google Scholar 

  5. Hattori, N., Ishii, N.: A System to Remove Variations in Source Codes. Trans. of Institute of Electronics, Information and Communication Engineers, 50–59 (1997)

    Google Scholar 

  6. Ueno, H.: A Program Understanding System by Means of Algorithm-Based Programming Knowledge. In: Proc. PRICAI, pp. 693–698 (1990)

    Google Scholar 

  7. Ueno, H.: An Integrated Knowledge-Based Intelligent Programming Environment for Novice Programmers. In: Proc. IEEE COMPSAC, pp. 124–129 (1991)

    Google Scholar 

  8. Ueno, H.: A Generalized Knowledge-Based Approach to Comprehend Pascal and C Program. In: Proc. JCKBSE, pp. 132–139 (1998)

    Google Scholar 

  9. Xiao, J.: Programming Language Compiler Method, pp. 51–186. Dalian University of Technology Press (2000)

    Google Scholar 

  10. Aho, A.V., Sethi, R., Ullman, J.D.: Compilers: Principles, Techniques, and Tools, pp. 96–305. Press of Pearson Education, London (2002)

    Google Scholar 

  11. Sinha, S., Harrold, M.J., Rothermel, G.: System-Dependence-Graph- Based Scling of Programs With Arbitrary Interprocedural Control Flow. In: Proceedings of ICSE, pp. 432–441 (1999)

    Google Scholar 

  12. Livadas, P.E., Johnson, T.: An Optimal Algorithm for the Construct of the System Dependence Graph. Information Science, 99–131 (2000)

    Google Scholar 

  13. Balma, F.: Displaying Dependence Graph: a Hierarchical Approach. In: Proceedings of the 1st IEEE Intenrational Workshop on Source Code Analysis and Manipulation, pp. 261–270 (2001)

    Google Scholar 

  14. Ricca, F., Tonella, P.: Construct of the System Dependence Graph for Web Application Slicing. In: Proceedings of the Second IEEE International Workshop on Source Code Analysis and Manipulation, pp. 1–10 (2002)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Li, J., Pan, W., Zhang, R., Chen, F., Nie, S., He, X. (2010). Design and Implementation of Semantic Matching Based Automatic Scoring System for C Programming Language. In: Zhang, X., Zhong, S., Pan, Z., Wong, K., Yun, R. (eds) Entertainment for Education. Digital Techniques and Systems. Edutainment 2010. Lecture Notes in Computer Science, vol 6249. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-14533-9_25

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-14533-9_25

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-14532-2

  • Online ISBN: 978-3-642-14533-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics