Not sure what you mean.
Focus is focus. It's either right, or it's not. The lens will focus the same whatever f/number you shoot at, as it always does the focusing bit at lowest f/number.
How much depth of field you get is another question, and the shooting aperture plays a big part in that. The main reason for getting a prime is the low f/number, like f/1.8. If you not going to use that, and get the shallow depth of field that goes with it, you might as well use a zoom and benefit from the extra versatility.
DoF on a zoom set to 35mm at f/5.6 will be the same as f/5.6 on your prime. The pictures will look identical.