Is it ok to give your Old Assignments to others?
There is no single right answer here. The answer depends from university to university, and even from faculty member to faculty member. For example, one professor in my department believes everything should be sharable, while another believes that it's wrong to share old materials.

So you'll need to see what the policy of the instructor teaching your friend's class is.