In: Computer Science
1. There are different ways for a system to recover from errors. It also depends on the source of the error. One can sometimes need to remove the hardware recently added and start a repair session for the operating system. Usually the boot and restore will help in the recovery. Otherwise one can try to reinstall the operating system.
Whenever there is error in the system, the operating system looks for the cause of error, if it is file crashing, or some software issues, it tries to show a message on the screen to troubleshoot it.
2. DMA or direct memory access deals with a series of operations to be executed whenever required.