When the body is moving up, the acceleration due to gravity will be :
downward
upward
sideways
nil
Acceleration due to gravity will be always directed towards the centre of the earth.