Both, according to the usage.
twists
An assist is when player A passes the ball to player B and player B makes the shot in a short time, resulting in player A getting an assist.
Yes, if they made the shot while being fouled then you get the assist. The result is the same as if your teammate made the shot without a foul.
it is when the person who touches the ball before a kill gets the assist. a kill is a major spike.