VPL Question icon

VPL Question

Maintained by Astor Bizard
VPL Questions are questions that can fit within a Moodle quiz. They are intended to create small to medium coding exercises, based on the Virtual Programming Lab plugin. They are designed to offer a simple interface for students, while keeping the power and versatility of Virtual Programming Labs.
Price option: Free

Supports Moodle 3.5-5.2 See all versions
Latest release: 1 month ago
Installations: 528
Downloads (last 90 days): 713

Frankenstyle name: qtype_vplquestion
Question types

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Hello,
i have another Issue: When I copy or clone a course with vp_questions, all questions will be invalid, because the id of the VPL activity has changed.
For me, this would be a roadblock - Is there any idea how this could be resolved?
@Andreas Siebel Hello,
I am aware of this problem, which I corrected. However, it seems that I forgot to upload the new version...
Thank you for your feedback, it will be fixed soon!
Note: Yes, these few lines are necessary, when they are correctly written... smile
I deleted the code lines
setTimeout(function(){
if(!this.resultSet){
callback({execerror: M.str.qtype_vplquestion.execerrordetails});
}
},600);
In vplservice.js. Now it works without problems. Are these lines really necessary?
After some small bugfixes: When I click on "Precheck", the correct test case-evaluation is shown for some miliseconds - Then the "ressoures exceeded" message is shown.
I have created a second VPL wiht same settings but without VPL Questions - Here I don't get this error and i can evaluate the VPL with the same jail server without any problems.
Hello,
I wanted to test VPL+VPL Question with the demo jail server with a simple python "Hello World"-Program. I can run the program but when I click on pre check or check the evaluation throws the error: "Operation aborted by VPL. Execution resources limits may have been exceeded."
As far i can see, this happens after ~5 seconds.
This is the test case i'm using:
#Case = HelloWorld
output = "Hello World"
Is this a problem with the demo jail server? (Does it take too long to evaluate test cases?) or could't there be anything which is wrong configured?
@景東 王 Thank you for your feedback! The pictures and links have been updated.
All the links of picture in the description fail,I can't understand how to use this module,do we can refer any instructions?
Approval issue created: CONTRIB-7916