It sounds like your RAM is faulty.
I will give you a few idea's of what problems occur due to which hardware issues.
RAM: Errors installing Windows, Computer Rebooting, Random Memory Access Errors
CPU: Computer Freezes, Computer Turns Off
Motherboard: Computer Will Not Turn On, Computer Freezes