Virtual Programming Lab
Maintained by
Juan Carlos Rodríguez
VPL (Virtual Programming Lab) enables the creation, submission, execution, and automatic assessment of programming assignments directly within the Moodle learning environment.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
the VPL evaluation has nothing to do about any internal representation of information of evaluated programs. The evaluation process gives the input to the evaluated program. The evaluated program manages the input data.
If you write a program that take the data from the standard input, the data at the "input=" statement must be the same that you type as input when you run the program.
Best regards.
I have one question regarding the VPL evaluation phase. I was thinking how to evaluate some C/C++ program that takes an array (dinamically allocated) as the input. I do not see that the default evaluation scripts is capable to read a variable size array of characters.
Since I am a begginer, I suppose that this problem has been already solved. Can you help me?
Thanks,
Slobodan Jelic
University of Osijek, Department of Mathematics
Croatia
I haven't test to use an application server for Java in a jail server, but I think that it is possible to run it with some limitations. You must be aware that every execution start with the same data from the same point. If you manage to run a application server in user space then you 'll be able to run it in a jail server.
Note that
- You must choice a different port for every application server
- You can use firefox in the jail as browser
- The execution script must generate vpl_wexecution (not vpl_execution) to run in graphical mode
Best regards.
Juan Carlos
I will try to answer your questions.
1) I can't answer your question about automatic evaluation in C language because I can't reproduce your situation. Please, send me the definition of test cases and the code in C language that fails then I will reproduce your problem and try to resolve it.
2) Does graphics programs in C can be evaluated in VPL? This question really is not about. If you can test graphics programs in C outside VPL, then it's very possible to reproduce the test at VPL.
3) Increasing the font size temporarily, just push "CTRL and '+' key" in your browser. To increase the font size temporarily, just push "CTRL and '+' key" in your browser. Increasing the font size permanently is more difficult because it's in the code.
Please, do the next question at the forum
https://moodle.org/mod/forum/discuss.php?d=154988
Best regards
Does graphics programs in C can be evaluated in VPL??
Thanks for the wonderful VPl which you have created. We are a small development team located in India and we have customized your VPL for our needs. While working we have faced a small problem is that when we get a character input in C Language, test case gets failed. All the test cases gets evaluated only if i declare as a string.
If you are logged as teacher you can use any button (run/debug/evaluate). If you want to activate these buttons for students, you must go to the VPL activity that you want to manage and go to "Settings->Execution options" and select the features that you want to offer to your students.
Best regards.
It is my fault, we are migrating the server to other system and it is taking more time than expected.
Best regards
Can I ask why the website of plugin is offline?
Best regards
to resolve the issue of the editor do the following:
Add the following properties to the class vpl_ide_root
text-align:left;
direction:ltr;
in file "editor/VPLIDE.css"
to get a complete solution see changes in v3.1 in github
https://github.com/jcrodriguez-dis/vpl/tree/v3.1
Notice that the editor (http://ace.c9.io) can't manages correctly embedded rtl text .
Best regards.
when using moodle with RTL language the VPL editor is appearing from RTL and it's not convenient.
what css code will influence just the editor to appear from LTR -
Image example - https://docs.google.com/document/d/1vxeG9dm22b5I4DdrhQr0HkqC9p33wQ-pTpgpJ2c-ybI/edit?usp=sharing
Thank you
Regards,
Juan Carlos