Virtual Programming Lab

Activities ::: mod_vpl
Maintained by Juan Carlos Rodríguez-del-Pino
VPL is an activity module to manage programming assignments
Latest release:
1743 sites
110 fans
Moodle 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11
VPL Logo

Virtual Programming Lab for Moodle

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.


This plugin is part of set VPL - Virtual Programming lab.


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


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

Comments RSS

Show comments
  • Sudeep
    Mon, Jul 20, 2020, 10:51 PM
    Can we add another programming language in this plugin like Sphere Engine?
  • Fri, Jul 24, 2020, 6:03 PM
    Do we have a tool for proctoring in moodle? Free or paid (one time)

  • Mon, Jul 27, 2020, 1:46 PM
    Dear Prof. Carlos
    We have recently updated to Moodle 3.9 version. Also we have installed VPL on it. While clicking on run button, error message popped up "PHP cURL Required". Can you suggest possible solution of it.

    Best Regards
  • Tue, Aug 4, 2020, 4:42 AM
    Dear Ashish Phophalia,
    Moodle 3.9 at administration environment checks indicate that:

    php_extension curl must be installed and enabled

    Contact to your sysadmin to install php-curl.

    Best regards,
    Juan Carlos.
  • Tue, Aug 4, 2020, 1:34 PM
    Thanks for the support. It's working now.

    Best Regards
  • Al
    Fri, Aug 7, 2020, 3:15 AM
    Does the lab allow for Python 3. I see the screenshots show C, Java etc, but no Python 3.
  • Sat, Sep 12, 2020, 3:57 PM
    How to write test cases for HTML,CSS ,Java script ,php programs?
  • Fri, Sep 18, 2020, 10:52 AM
    I cannot write to files in either Python or Java. Reading from files work but writing to files do not work. Do you have any advice?
  • Mon, Sep 21, 2020, 11:49 PM
    Dear Tapu Ahmed,
    notice that the execution is done by a temporal user that can write files at its home directory on Linux (the running program's current directory). Never user absolute path to file, the better way is to use relative path names.
    Bets regards,
    Juan Carlos.
  • Sat, Oct 31, 2020, 4:09 AM
    Hi Prof JC,
    Thank you for VPL - it is a very significant achievement and very important to those of us trying to teach remotely during the pandemic.
    I have added a custom to a VPL activity, that generates a vpl_execute that checks the student source for certain statements using grep. This works and correctly gives the work a grade. However, I want the source to be syntax checked and the output checked in the normal way. The evaluate in VPL is not running the base for python 3 to check the code and vpl_evaluate.cases. How do I best achieve this please?
  • Sun, Nov 1, 2020, 7:06 AM
    I managed to get this working by copying in all the needed vpl_ files into a base VPL and then deriving from that. Not sure if that's the best way, as it means I have to potentially update after every upgrade.
  • Mon, Nov 2, 2020, 9:14 PM
    Dear Stephen Parry (and all other VPL users)
    Please, use the forum to do any question.
  • Fri, Mar 5, 2021, 6:14 PM
    I cannot view submissions of my students on my installed vpl...please help
  • Fri, Apr 23, 2021, 10:18 AM
    Dear Prof. Carlos
    I have some problems when I tried to evaluate the sql file:
    Server execution error request failed: Recv failure: Connection reset by peer
    How can I solve this.
    Thank you.
  • Fri, Apr 23, 2021, 11:02 PM
    Dear Duy Phuong Pham (and all other VPL users)
    Please, use the forum
    to do any questions.
    Please, be verbose, if you give not enough details of your environment, we will not be able to replay the case and try to spot the problem. It will help if you can reproduce your problem on the vpl demo server.

    Best regards,
    Juan Carlos.
    to do any question.
1 2 3 4 5 6 7
Please login to post comments