A failure of a system occurs when its behavior differs from the one that has been specified. The part of the system state leading to the failure is called the error. An error is always caused by a fault. The fault is the original cause of an error. A single event upset and an uninitialized pointer variable in a C language program are examples of hardware and software faults, respectively.


