Reset programming assignment notebook

How can I reset programming assignment as it was presented ?

There is a topic about that on the DLS FAQ Thread. A lot of the topics there apply to other courses in addition to DLS.