About a week ago I was on my computer playing a game, and suddenly my monitor shut off. I was confused why it abruptly shut off, but the pc kept running. The monitor was saying, "no video signal", so I tried a different monitor, it did not work. After I tried a functioning monitor with my computer, I decided to try a different vga cable. The vga cable did not seem to fix the problem, after that I replaced the DVI/VGA adapter, and that did not work. I decided that i would remove the RAM, and the CMOS battery, for about ten minutes before placing it back in. After I placed them back in, I connected my pc with my monitor, unfortunately I encountered another problem. My computer kept turning on/off, this was not happening before. What did I do wrong? Could it be that one of the RAM sticks isn't pushed all the way in? Could it be the CMOS battery?
edit: forgot to post specs
gtx 970 zotac
ASRock - H97M PRO4 Micro ATX LGA1150 Motherboard
Kingston - HyperX Fury Black 16GB (2 x 8GB) DDR3-1866 Memory
Toshiba - Product Series:DT01ACA 1TB 3.5" 7200RPM Internal Hard Drive
EVGA - SuperNOVA GS 550W 80+ Gold Certified Fully-Modular ATX Power Supply