You need to have a processor that is compatible with the motherboard and RAM. It is almost impossible to buy a motherboard that supports P4 (even if you find it, it will be very expensive) and P4 does not support DDR3 RAM. So, please take help of someone in buying your components, otherwise you might waste your money on incompatible components.
I like to blog about various topics ranging from education in IITs to social issues in India and US. All opinions and views presented here are my own and not of my employer.