Look in the motheerboard manual whagt those beeps mean.
Sudden switch off usually is caused by insufficient cooling or insufficient power.
Guys. . . I've been having problems with my PC since the last couple of days, I've tried as much as i could with the info i could collect from the internet.
Its basically 12 beeps to startup and it boots up normally am worried about the 12 beeps on startup and while playing any games it switches off abruptly.
My PC spec:
Intel i5 4440 3.1 Ghz
Asus h97m-e
Corsair Vengeance 8×1 DDR3
Asus strix Geforce gtx 960 2GB
Corsair VS550W

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic