Question My PC turns on and off every 10 seconds


canned diagnostic speaker rant: speaker making 101
The diagnostic speaker is the motherboards main diagnostic feedback device.
the motherboard may be telling you where the problem is.
my speakers have this plug
I use lamp wire but any stranded wire will do. literally any stranded wires. strip one end like so
attach the stripped end into the speaker spring clips on the speaker.
the other end of the wire should be trimmed like so the semi strip
by doing a semi strip the wire case is now the socket.
plug one wire to the first pin, and the second onto the fourth pin.
power on the system and listen for beeps
end canned rant

with no RAM installed and the speaker connected according to step 17 here
you should be getting the no RAM error code. With the RAM you may be getting a beep code. beep codes vary by motherboard. Google your board model and "beep codes" to get the list of what the resulting beeps mean.