For 3 (a), I feel like I've gotten it down correctly, but comments would be appreciated! 3 (b), I'm not too sure about; could anyone please give a thorough review and point out mistakes if there are any?
Number 4, I have no idea where to even begin. I've spent nearly an hour brainstorming, but...