I'm not sure, but on some Dells, hit F12 when turning it on (if you can) and up comes a boot menu. Go to the hard drive test and see what happens. If it fails you'll get a return code.
Or, if it's an older Dell. Power it on and hit CTRL-ALT-D when it turns on. On the really old CPI's that brought up a Dell hard drive test.