The correct response is:
It changes both the direction and the speed of the ball.
When the tennis player swings and hits the ball with the racket, the force applied will alter both how fast the ball moves (its speed) and the path it takes (its direction).