This is a book for people who teach programming. We have been using Moodle/VPL in Computer Sciences and Engineering courses at UFSC for some years now and this book reflects our experiences. It is not only a step-by-step manual for the novice teacher wanting to start to use VPL in her lectures, but also a detailed report, describing experiences that anyone can reproduce, showing all the possibilities that VPL can offer in conjunction with Moodle. In this book we will go step-by-step through the whole process of building and configuring programming assignments using VPL: - beginning at the simplest programming exercise, where VPL acts simply as an homogeneous, Moodle-integrated programming and running environment and allows the teacher to plan and perform both lab activities that require student attendance and assignments for distance courses, without worrying if the required IDE, compiler or operating system version is properly installed at the lab or the student's home, - up to complex programming projects where VPL controls a set of source code files, some provided by the teacher and some developed by the student, acts as coding style and plagiarism judge and automatically evaluates and grades the projects, running tests based upon a set of test cases developed by the teacher. "I believe this book will mark a breakthrough in the material available for professors who would like to start using VPL. The book may also be valuable for those who are currently using the tool, showing them many utilities that probably they have never imagined. From my point of view...