Firstly you need to know if the connection for the laptop is IDE or Sata. Check the specs of the Dell model and that should tell you which to buy. Should be a prob upgrading to Wins 7 but increase the ram to 4g. I suspect the laptop comes with 2g?
Intel Coffee Lake 8th-gen Core processors release date rumours