What information does a ship's sonar device use to determine the distance to the ocean floor?
A. The speed of sound in water and the time it takes for a signal to return.
B. The temperature of the water and the temperature of the air above it.
C. The composition of the ocean floor and the water temperature near the ocean floor.
D. The mass of the ship and the volume of water displaced by the ship.