Serverless automatic assessment of Javascript exercises
Ville Karavirta, Petri Ihantola · 2010
Because of the web, JavaScript (JS) is one of the most popular programming languages today. Despite the importance, JS is rarely in the core of programming courses. Although JS might not be in the core, it has still a role in many courses. In this paper we introduce an open source tool to create small, automatically assessed JavaScript programming exercises. Sources of the tool are available online. Automatic assessment is based on unit tests, JSLint and various software metrics. The fact that the assessment happens inside the student's own browser is the novelty of our work. Installation and sandboxing of a server are not required. This makes it easy to add exercises into any web page. The downside is that exercises are for self study purposes since grades submitted from a browser could be tampered with.