Does the change in frequency due to Doppler, Effect depend on:

Does the change in frequency due to Doppler, Effect depend on:
(i) distance between source and observer
(ii) die fact that source is moving towards observer or observer is moving towards the source

(i) No, change in frequency due to Doppler’s Effect has nothing to do with distance between source and listener.
(ii) Yes, in case of sound waves. No, in case of light waves.