There can be many reasons for the failure and some of them are:
Some of the symptoms of hardware failure could be:improper internet security not having proper drivers power surges adding new hardware
Testing for hardware failures depends on which computer you are using. If you are a Windows user then there are many ways you can do this.problems in start up and rebooting unable to copy, move or even delete files slow speed frequent crashes rebooting automatically and frequently getting error messages whenever new software is installed unable to open a file computer gets heated up too fast problems with power supply
* The resource and performance monitoring can be done by just typing perfmon/report in the run window. To go to the run window just hit the windows and the "r" key. It might take a minute to go through the diagnostics results – warnings but it will come up only if there is something wrong. It is also good to go through the Resource overview.
* If you want to test your system memory, just go to Start Menu then Administrative tools then Windows memory diagnostic. Click on that. You will have to restart your computer. If there are any errors it will let you know.
* Scandisk, Chkdsk, Testdisk, are commands that you can run to check the performance of your hard disk. Not only do these commands check for errors but they will also rectify these errors.
* If you want to check your CD or DVD drives then you can use the Windows disc drive troubleshooting.
Apart from this there are numerous third party tools available to check your computer like PC Doctor, PC Diagnostics and Ultra X which can also help you out.
If you are an Apple user then you need to remember the following:
It might not seem so, but most hardware problems can be prevented with certain internet security software. This is because hackers will often try to hijack the different drivers and backdoors in the operational code of your hardware to use your computer for nefarious means. Stopping them before they can get to those points means that you are drastically increasing the odds that most of the errors you experience are caused by software and not the actual failure of hardware. So, next time there is a problem, make sure that your software is not the culprit.Be sure that the problem is being caused due to hardware failure. · Run the Apple Hardware test If your Mac was a produced before June 2013 then you should use Apple diagnostics. Once you get a list of errors forward it to authorized people who can help you out.
Once you are sure about the problem do not try to solve it yourself especially if you have a warranty or service contract. They can solve it better than you. If you don’t have a service contract then you can try to solve it but do proper research before doing that.