Skip to content
sunner edited this page Aug 9, 2011 · 14 revisions

Online Judge 2 Plugin for Moodle 2

This is for Moodle 2.x only. If you are using Moodle 1.9.x, please see Online Judge.

Features

  • New! Support multi-files assignment. (sandbox only)
  • New! Global settings.
  • New! Rejudge one submission only.
  • New! Backup & restore. And import from another course.
  • Support both Linux and Windows, 32-bit and 64-bit.
  • Locally run C/C++ code in sophisticated sandbox environment to prevent attacks (e.g. rebooting system, accessing files/network, consuming/occupying system resources). (Linux only)
  • Remotely run C/C++, Java, C#, Python, php, schema and other 40+ languages in http://ideone.com. It is safe and free. See http://ideone.com/faq for full list of supported languages.
  • Different results (e.g. Accept, Wrong Answer, Presentation Error, Compilation Error, Time/Memory/Output Limit Exceed) get different grade.
  • Support multiply test cases.
  • Grade test cases separately. E.g., there are four cases and max grade of each is 25. The student pass three of them can get 25+25+25 = 75.
  • Customized feedback/hint can be shown to who doesn't pass the test.
  • Compile only mode.
  • Teachers can trigger rejudge of any submissions and grade manually anytime.
  • Support resubmit many times and one time submit.
  • More details (program output and etc.) can be shown to teachers.
  • Highlight code preview (powered by SyntaxHighlighter).
  • Easy installation, no root required.
  • Translation: English and Simplified Chinese

Screenshots

FAQ

Why does sandbox refuse to make?

In local/onlinejudge/judge/sandbox/sand, run the following commands and send output to [email protected]

uname -a
cc -v
make clean
make

Credits

Sun Zhigang (sunner, 孙志岗) leads the project all the time. It is sponsored by Harbin Institute of Technology.

We learned and copied much from arkaitz.garro(AT gmail.com)'s program (or called epaile) assignment type which was freezed in 2007.

Other contributors:

  • 施兴 (paradisehit AT gmail.com) designed and implemented the prototype.
  • 刘禹 (pineapple.liu AT gmail.com)gave much help and advices.
  • 刘琦卿 (lqq0205 AT foxmail.com) contributed many codes.
  • After 2011, all the contributors can be found in git log.
Clone this wiki locally