with me it was the o2 censer
You probably have a vacuum leak. Check intake manifold and throttle body gaskets as well as vacuum lines.
Low fuel pressure
In my experience with my Chevy it was a ground wire
have you checked your fuses?
Bad are burnt intake or exhaust valve. Pistion rings broken, Burned pistion. Blown head gasket. That is all that would cause no compression are a loss of compression.
Bad heater core.
The 2005 Cavalier could have a fuel leak. Have the entire fuel system checked, as a fuel leak can cause a dangerous fire.
There are several things that can cause your 1995 Chevy Cavalier transmission not to go into drive or reverse. The most common cause is a lack of transmission fluid. A broken shifting fork will also cause the problem.
bad o-rings or not seated and tightened down properly
Blown Head Gasket or Bad Cylinder Head