Are these exactly how the questions are worded? Because they aren't very clear.
For the first question are you talking about a chi-square test of independence? A goodness of fit test? Just the distribution itself?
For the second question: Fitting a regression doesn't require any null hypothesis - it's when you do testing that you use a null hypothesis. What test are you talking about?