Short and Focused
CodeLab exercises are short, focused on a particular topic and automatically evaluated.
The exercises range from "one-liners" like a variable declaration or an assignment statement
to more complex probelms involving loops, functions or methods or even small class definitions.
The first exercises are simple enough that a beginning student can start working right away.
Then as the student progresses within each concept,
the exercises build upon each other and gradually become more complicated.
These exercises are similar to the short homework problems at the end of each chapter
in a textbook but CodeLab gives the student immediate feedback on their answer.
With each submission, the instructor's roster is automatically updated.
Our instructors have reported that their students are more likely to complete
CodeLab exercises because of the immediate feedback and guarantee of confirmation of correctness.
Our exercises start with the imperative programming core of Python, C, C++, and Java and then go on
to address procedural and object-oriented programming. The
exercises are targeted at a typical CS1 syllabus.