The Programmer's Learning Machine (PLM) is a free cross-platform programming exerciser. It lets you explore various concepts of programming through interactive exercises, that you can solve in either Java, Python or Scala.

PLM is known to work on all major operating systems (Linux, Mac, Windows). Its interface and content is througfully translated to English and French; we hope that other translations will be contributed in the future.

About 160 exercises are provided in the existing lessons, ranging from a complete programming introduction for real beginners to more advanced topics such as recursion or sorting algorithms and to programming brain teasers.

We develop this program since 2008 for our teaching at the school Telecom Nancy for our students, that later become IT and CS engineers. We use this tool in several units of our curriculum, for a total of over 30h of practical labs (that are all included in the released version). This greatly increase the motivation of our students, allowing us to cover a much wider spectrum of topics than before the PLM introduction.

This software is distributed under the GPL license while the associated teaching material is distributed under the CC BY-SA license.

Download

You can download the program as jar archive from here: plm-2 3.jar. Afterward, you can run it with

java -jar plm-2_3.jar

The environment should be rather self-contained, with all the important information directly in the program itself. So just give it a spin! You only need a Java runtime for that.

Alternatively, you can get a stripped down jarfile that does not include the python and scala dependencies: plm-light-2 3.jar. Its size is about 6Mb while the all-in-one version is over 40Mb. If you use Java, you can run it just like the full-blown version.

You can still use scala and python with this version provided that they are in the classpath. Since java does not allow to use both -jar and -cp flags at the same time, you should do something like this instead:

java -cp path/to/jython:plm-light-2_3.jar plm.core.ui.ProgrammersLearningMachine

Just in case, older versions are also available: plm-2 2 7.jar or plm-light-2 2 7.jar, plm-2 2.jar or plm-light-2 2.jar, jlm-2 1.jar, jlm-2 0.jar.

Learn

Please visit our project wiki on GitHub. We hope that most information are given either there or within the tool directly. If not, please drop us an email, or fill an issue on the tracker to make sure that it does not get lost.

This Research report can also reveal instructive to you. It describes the motivation and design goals of the JLM. It was unsuccessfully submitted to SIGCSE'11. I hope you will find it useful anyway, but if you have any advice to improve it for the next SIGCSE conference, I'd be more than grateful.

Participate

We are giving the PLM to the community, and really hope that people will adopt the tool and use it in their teachings. The source code is freely available from GitHub project.

We are eagerly waiting for your feedback and suggestions. Please fill them to the GitHub issue tracker. Naturally, patches are always welcome. Be them infrastructure change, translations, new exercises or universes, we'd be glad to integrate your improvement to the project.

If you have a problem, please open an issue on the dedicated GitHub page so that your remark don't get lost. Please do open this issue, we really need your feedback. In addition, we know the code base enough to fix most of the issues very quickly. But we have to know about these problems for that...

Related work

Finally, here are some cool other projects that ressemble more or less to PLM. I'd love to find the time to steal some good ideas, or merge the efforts if possible. If you know other projects, please drop me an email so that I add it here.