Is their a cable i could be missing out - not plugged into right place or became loose
Is the pc damaged?
Is it something to do with the Power Supply Unit?
The PC could be damaged, random restarts out of nowhere are a good sign sadly

As for your second question however,
PSU's can fail or be strained to the effect that theyll just give out.
List the watts on your
PSU, and your system specs also, so we can know if your
PSU is adaquite.
Otherwise what could be going on is
mobo failure. But if you get video response from the monitor and see something sent out from the computer, its a good chance its not the
Mobo.
So. im putting my tack on the
PSU, which 90% of the time causes random restarts, but we'll have to see for now.