I think that the computers basic hardware is important, buy cheap buy twice. Here is good ram for you>> click here
I have used crucial ram for over 10 years and never had an issue. Excellent product i feel.
Doing a clean install is also an excellent idea, i reinstall all my pc's once every 6 months, but for a school that's a bit too much work. Indeed these computers may need to be cleaned out if you feel a format is not a good idea.