A ball is thrown vertically upward

A ball is thrown vertically upward.
a. What are its velocity and acceleration when it reaches its maximum altitude?
b. What is its acceleration just before it hits the ground?