a) The direction of the currents in the Northern Hemisphere is clockwise, while the direction of the currents in the Southern Hemisphere is counterclockwise. This occurs due to the Coriolis effect, which is a result of the Earth's rotation. The Coriolis effect causes the currents to be deflected to the right in the Northern Hemisphere and to the left in the Southern Hemisphere.
b) Warm ocean currents generally flow from the tropics towards the poles and are deflected to the right in the Northern Hemisphere and to the left in the Southern Hemisphere due to the Coriolis effect. Cold ocean currents generally flow from the poles towards the equator and are deflected to the right in the Southern Hemisphere and to the left in the Northern Hemisphere due to the Coriolis effect.