![]() ![]() The code is editable, using the Ace editor, and there is a Try it button that allows students to run the code and observe its output. If you make any progress on this, please post back with your findings. The ace-inline filter is a new experimental Moodle plugin that works with CodeRunner versions 4.2.3 or later to allow teachers to embed executable code anywhere in Moodle content pages. You could ask the question author to provide a mysql dump of a (temporary) database, which could be loaded for each test, then purged on completion, but it's not trivial to set this up and nor is it a very nice user interface for the author. ![]() It's difficult to achieve all these requirements with (say) mysql. I need to know how to include other files with the compilation of file1.cpp. Revolutionize Your E-Learning with the Best Moodle Plugins for 2023. When I try something like adding the compiler flag -o filename file2.cpp when compiling file1.cpp, I get the error: bash. Install the two pluginsnusing one of the following two methods. Lastly the tests must be secure in the sense that one user cannot see another user's database. I need to know how to adjust CodeRunners run settings to get this to work. The tests should be "stateless"': a question might ask students to insert data, and the test might use a select to verify the insertion, but once the test is fully complete there should be no residual database change. Click Save and display to view the folder. Optionally, rename files by clicking on them and typing a new name in the box. Drag and drop files from your computer into the Files box under Contents. It should be possible to grade multiple questions concurrently. Type the folder name and add a description. The problem with running SQL questions on a mysql server or similar is that each question, or in fact each separate test case, needs to be run in a database context set up by the question author. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |