Your Moodle version

Activities: Virtual programming lab

Maintained by Picture of Juan Carlos Rodríguez-del-Pino Juan Carlos Rodríguez-del-Pino
VPL is an activity module to manage programming assignments
Moodle 2.7, 2.8, 2.9
The development team of VPL for Moodle is conducting a survey about possible improvements.  This survey will take you less than 5 minutes. By filling this survey, you are helping the evolution of VPL in the best way.

VPL- Virtual Programming Lab is a activity module that manage programming assignments and whose salient features are:

  • Enable to edit the programs source code in the browser
  • Students can run interactively programs in the browser
  • You can run tests to review the programs.
  • Allows searching for similarity between files.
  • Allows setting editing restrictions and avoiding external text pasting.


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5


Picture of Juan Carlos Rodríguez-del-Pino
Juan Carlos Rodríguez-del-Pino (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • MD shot of me from his iphone4
    Thu, Oct 10, 2013, 10:36 AM
    Thanks Juan! I've updated your tracker to point to your vpl project now.
  • Picture of Mario Wehr
    Thu, Mar 20, 2014, 4:21 AM
    Hi Juan,

    Thank you for this impressive plugin smile

    After playing around with it, I found some issues you might like to fix:
    -#52 echo "xterm -e matlab -nosplash" >> vpl_wexecution
    +#52 echo "xterm -e matlab -nosplash" >> vpl_execution

    I noticed that the the jail build script cannot remount the mount bind correctly. So my Jail ended with all mounts rw.
    in vpl-jail-system.initd
    -#174 mount -o remount,ro,nosuid "$JAILPATH$1"
    +#174 mount -o remount,ro,nosuid,bind "$JAILPATH$1"

    the "bind" option seems to be the only "workaround" to get the remount working?

    I'm using Debian 7.2 amd64

    regards Mario
  • Picture of Juan Carlos Rodríguez-del-Pino
    Fri, Mar 21, 2014, 1:24 AM
    Thanks Mario, for your bug report and thanks again for your fix.

    Juan Carlos
  • Picture of james aco
    Sun, Apr 20, 2014, 8:15 PM
    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 -

    Thank you
  • Picture of Juan Carlos Rodríguez-del-Pino
    Mon, Apr 21, 2014, 8:10 PM
    Hello James,
    to resolve the issue of the editor do the following:
    Add the following properties to the class vpl_ide_root
    in file "editor/VPLIDE.css"

    to get a complete solution see changes in v3.1 in github

    Notice that the editor ( can't manages correctly embedded rtl text .

    Best regards.
  • Picture of Zbigniew Nykiel
    Tue, Sep 9, 2014, 6:42 AM
    Can I ask why the website of plugin is offline?

    Best regards
  • Picture of Juan Carlos Rodríguez-del-Pino
    Tue, Sep 9, 2014, 5:35 PM
    Sorry Zbigniew,
    It is my fault, we are migrating the server to other system and it is taking more time than expected.
    Best regards
  • Picture of gm pepz
    Thu, Apr 30, 2015, 3:46 PM
    hello everyone, I have downloaded this plugin and successfully added it into my Moodle app, but when I ran the plug in and wrote a sample code on it, it doesn't have Run button or other functions that would allow me to test my code.
  • Picture of Juan Carlos Rodríguez-del-Pino
    Thu, Apr 30, 2015, 10:01 PM
    Hello gm pepz,
    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.
  • Picture of Venkatesh S
    Sun, Aug 30, 2015, 12:17 AM
    Hi juan,
    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.
  • Picture of Venkatesh S
    Sun, Aug 30, 2015, 12:17 AM
    Hi Juan,
    Does graphics programs in C can be evaluated in VPL??
  • Picture of Venkatesh S
    Sun, Aug 30, 2015, 12:18 AM
    In VPL the font size is very small we find it very difficult to write programs. How to increase the font size of the editor.
  • Picture of Juan Carlos Rodríguez-del-Pino
    Sun, Aug 30, 2015, 3:25 AM
    Hello Venkatesh,
    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

    Best regards
  • Picture of deepa ganu
    Wed, Oct 7, 2015, 3:05 PM
    Can we plug in other enviornments like j2ee , spring , hibernate into jail server? How do we do that
  • Picture of Juan Carlos Rodríguez-del-Pino
    Wed, Oct 7, 2015, 10:11 PM
    Hello Deepa,
    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
1 2
Please login to post comments