The P0442 code is an evaporative system or EVAP system. This code is often caused by a loose gas cap or a bad one but it wont cause any driveability issues.
The P0330 is possibly a bad knock sensor and I believe it is the rear one (closest to the firewall). And Im not really sure that even that could cause driveability issues. I suppose it could if it failed in such a way that the PCM thought you were getting massive amounts of knock, I just dont have enough experience with that particular issue to say for sure though.