Notes
1.  By the integral formula.
2.  The answer is 0, the integrand is analytic inside C.
3.  The answer is 4i.
4.  As for Q2.