IIRC, the IIe and IIc have an integrated diagnostic routine (I don't know about the II and II+). I always accessed it with Control-Open Apple-Closed Apple-Reset, but the support article below suggests that you just need to hold down Closed Apple while turning on the power.
http://support.apple.com/kb/TA38047?viewlocale=en_US
http://support.apple.com/kb/TA38047?viewlocale=en_US