Question Authors' Forum

Is that a possible to give a webpage like ideone using coderunner jobe

Is that a possible to give a webpage like ideone using coderunner jobe

by bi hex -
Number of replies: 2

Is that a possible to give a function page like ideone using coderunner jobe, for students to test a normal programming code.


In reply to bi hex

Re: Is that a possible to give a webpage like ideone using coderunner jobe

by Richard Lobb -
There are two ways of doing this, or something similar.
  1. Use a general purpose CodeRunner question. See https://coderunner.org.nz/mod/quiz/view.php?id=482 for a Python example. If you want to accept submissions in multiple language you could instead use a CodeRunner multilanguage question. 
  2. Use the ace-interactive-code filter. See here: https://coderunner.org.nz/mod/page/view.php?id=529

Option 2 does not currently allow the user to provide standard input or to read files, though I hope to extend it to allow that later this year.

Note that if you install the Moodle embed questions filter plugin, you can put a question of the sort described in (1) above into any web page, not only into a quiz.

In reply to Richard Lobb

Re: Is that a possible to give a webpage like ideone using coderunner jobe

by bi hex -
Thank you so much for quickly reply! I'll try it.