Use of file attachments

If you wish to run these questions, please log in with:
Username: trial
Password: trial

CodeRunner now allows question authors to allow or require students to add attachments to their answer. This quiz shows a few uses of this facility in Python, Java, C++ and C. The final C example is the most advanced one, using a Python script that allows students to submit a Makefile plus an arbitrary set of .c and .h files. The Makefile is run to built the student's program (it must be called prog) and prog is then run for every test case. However, please at least skim through the earlier questions to get the general idea of using attachments, first.

Caveat: the example questions on this page were written just for demonstration purposes and have had minimal testing. Please email richard.lobb@canterbury.ac.nz if you discover issues with them.








Ultima modificare: miercuri, 15 februarie 2023, 11:34