Proceedings of the 2021 International Conference on Modern Education and Humanities Science (ICMEHS 2021)

Using Unit Test to Realize Automated Hinting and Grading in Student Programming

Authors
Zhiguo Zhang
Corresponding Author
Zhiguo Zhang
Available Online 9 February 2021.
DOI
10.2991/assehr.k.210208.002How to use a DOI?
Keywords
Computer aided instruction, Programming course, Unit test, Automated hinting and grading
Abstract

In doing machine work, students may encounter problems or difficulties. It should be very helpful for students’ learning if students can get some hints or feedback immediately. We present in this paper a method that can automatically give students helpful guidance hints and judge and grade students’ work in the process of students’ programming on machine. This method can be used in many classes such as programming and other related subjects. The core idea of the method is to use unit test in assigned work to students. The teacher first writes the unit test modules which will test students’ work at runtime according to the correctness requirements of the training work assigned to students. The unit test modules may also contain some hints information to students at runtime when students meet difficulties. Students must use the unit test module in their programming enviroments as library when they are doing their training work on machine. Because these tests can be very flexible forms reflecting a variety of different teaching requirements, and can be coded with many helpful hints information for students in many failure situations, this method for automated hinting and grading has more powerful functions and more wide applications than other traditional online judging systems.

Copyright
© 2021, the Authors. Published by Atlantis Press.
Open Access
This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Download article (PDF)

Volume Title
Proceedings of the 2021 International Conference on Modern Education and Humanities Science (ICMEHS 2021)
Series
Advances in Social Science, Education and Humanities Research
Publication Date
9 February 2021
ISBN
10.2991/assehr.k.210208.002
ISSN
2352-5398
DOI
10.2991/assehr.k.210208.002How to use a DOI?
Copyright
© 2021, the Authors. Published by Atlantis Press.
Open Access
This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Cite this article

TY  - CONF
AU  - Zhiguo Zhang
PY  - 2021
DA  - 2021/02/09
TI  - Using Unit Test to Realize Automated Hinting and Grading in Student Programming
BT  - Proceedings of the 2021 International Conference on Modern Education and Humanities Science (ICMEHS 2021)
PB  - Atlantis Press
SP  - 6
EP  - 9
SN  - 2352-5398
UR  - https://doi.org/10.2991/assehr.k.210208.002
DO  - 10.2991/assehr.k.210208.002
ID  - Zhang2021
ER  -