Data is stored as a one or a zero on the harddrive. The file allocation table keeps track of where on the drive the data is stored. When you erase a file, you do not over-write the files data. All that you do is change the entry in the file allocation table. So the data is really still on the drive until you need that drive space and overwrite the erased area on the drive.
Programs like Norton Unerase, look for entries in the FAT that have a tilde(~) for the first letter (erased files). You can supply the first letter of the filename and get the entry back into the FAT. You do not need to supply the correct first letter, any will do. Simplifed explaination, but should do for your students.
Don