It depends on what type of file you were working on. Like MS office has such kind of feature to automatically save at some time interval. The power is off .... Then when you open the word next time, it will have an unsaved list of files on the left... But it might not go back the exact point you are working on. It certainly helps and you won't lose everything...
nothing really....it just saves its energy by turning the screen off
There two types of memories in cpu .1.temporary ,2.permanent. Whenever doing any work with out saving the data then it store in temporary memory until the shutdown the computer or power cut.
Any unsaved data will be lost when the power is shut off.
If your computer turns off with programs still open and in use, you will lose all unsaved items, and could possibly bug the program since it didn't have a chance to properly close down.
the power is cut off...
the information is lost after power is switched off.
Hibernation allows you to remove all power - the session is saved to the hard drive- Standby keeps the session in RAM for a quick restart; but if you remove power (change battery on a laptop or pull the network cord on a stationary machine) you will loose your session and any unsaved work and potentially damage some software (though most are pretty good these days - you never can tell!)
This usually happens when power is disconnected from the computer unexpectedly. A critical error in the system might possibly cause this, but that is very unlikely.
Hibernation
when you switch a computer off without shutting down properly, you risk loosing unsaved data and also data corruption. Computers have a specific shut down procedure to protect user data and system data as well. If the procedure is interupted or avoided all together, many things can happen that wouldn't be good for you or your computer. when a computer switches off suddenly on its own, this could be more then just one problem. It could mean power loss. it could mean hardware failure. it could mean the computer stand by or shut down program is malfunctioning. it could also mean you have malacious software installed on your computer causing failures.
This entirely depends on what kind of computer/laptop you have with Microsoft XP OS, but - to restart your computer you click start, shutdown, then restart. Try pressing control, alt, and delete simultaneously. If it has frozen up and you can't do this, hold the power button in for a few seconds, this is the next safest way to shut it down. If that doesn't work, unplug it and plug it back it and press the power button to start it up. Warning. These methods can lose any unsaved data, but if it has frozen up, you don't have much choice.
Typically when you discover a broken computer cord it is because you are looking for the cause of a problem. A broken power cord is probably the reason why your computer doesn't start for an example.