Lua exercises for beginners

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Lua exercises for beginners

Rudy Matela
Hello lua-l members,

I have been working on a website aimed at teaching programming and computer science through quick examples in the form of exercises.  It is called "Computer Science by Example":

The exercises start very simple (e.g. read two numbers and print their sum) then increase in difficulty and complexity gradually (e.g. solving the change-making problem).  The website has an "online judge" functionality where students can submit their solutions which are tested and graded automatically without human intervention.  It currently supports solutions in Lua and additionally: Python, C, C++, C#, Haskell, Java, JavaScript and Ruby.

The exercises are useful not only to first time programmers, but also to experienced programmers migrating to using Lua.

Check it out at  The exercises are freely available for anyone to try.

Best Regards,