Idea for teaching:
If each student sets up a free GitHub account —
They can make Gists, like this:
Could these be used for peer grading? Easy to share.
Once the student has a GitHub account, he/she can write code in Codepen (http://codepen.io/) and automatically save to Gist from there.
In a graduate course about tools for making journalism, I gave the students these two assignments:
Both assignments include links to handouts and other resources.
The idea was to introduce the students to how data are used in journalism, and what can be done with big data sets. For each exercise, each student was assigned a different data set to use in a structured task.