The fan in the 3rd picture is an exhaust fan, the connector your holding is called a Molex connector.It is a male. If you look at the leads coming from the PSU(power supply unit) you will see others male and female. Find a female to connect your male to. This fan aids in removing hot air out the back.
The fan you should be MOST interested in is the black fan in the centre of the picture. Thats the CPU FAN. That is the fan that cools (dissipates) the cpu, if it is not working it will cause the probs you are getting.
The fan you should be MOST interested in is the black fan in the centre of the picture. Thats the CPU FAN. That is the fan that cools (dissipates) the cpu, if it is not working it will cause the probs you are getting.