Is that a possible to give a function page like ideone using coderunner jobe, for students to test a normal programming code.
- 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.
- 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.