How should we cite a MOOC? How should one cite materials taken from a Massively Open Online Course (MOOC)? This may be a specific case of the more general, "How should one cite a university course?"

For a concrete example, consider how I should cite the "Resampling Wheel" algorithm for implementing a particle filter, taken from Sebastian Thrun's Artificial Intelligence for Robotics course on Udacity?
In many fields, it is common practice to look up the original publication in which a concept/algorithm was introduced, and to cite that. Many courses will give some literature pointers to help you with the search for it.

The reason is that citations are also meant to distribute credit for novel findings, so in this way, the researchers who came up with the algorithm get the credit.